update typescript definition
This commit is contained in:
parent
36f02f5410
commit
343687d5f2
1 changed files with 1 additions and 1 deletions
2
mithril.d.ts
vendored
2
mithril.d.ts
vendored
|
|
@ -5,7 +5,7 @@ interface MithrilStatic {
|
|||
(selector: string, children?: any): MithrilVirtualElement;
|
||||
prop(value?: any): (value?: any) => any;
|
||||
withAttr(property: string, callback: (value: any) => void): (e: Event) => any;
|
||||
module(rootElement: Element, module: MithrilModule): void;
|
||||
module(rootElement: Element, module: MithrilModule): Object;
|
||||
trust(html: string): String;
|
||||
render(rootElement: Element, children?: any): void;
|
||||
render(rootElement: HTMLDocument, children?: any): void;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue