Skip to content

Commit

Permalink
refactor(hiccup-dom): minor update ILifeCycle
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 3, 2018
1 parent 944cbb3 commit 10c119b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hiccup-dom/src/api.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import { IObjectOf } from "@thi.ng/api/api";

export interface ILifecycle {
init(el: Element, ...args: any[]);
init?(el: Element, ...args: any[]);
render(...args: any[]): any;
release(...args: any[]);
release?(...args: any[]);
}

export interface ComponentAttribs {
Expand Down
1 change: 1 addition & 0 deletions packages/hiccup-dom/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
export * from "./api";
export * from "./diff";
export * from "./dom";
export * from "./start";

0 comments on commit 10c119b

Please sign in to comment.