From 343687d5f236d47ad2a54314b84c4cd2413880ee Mon Sep 17 00:00:00 2001 From: "C. James Winslow" Date: Wed, 10 Sep 2014 16:19:43 -0700 Subject: [PATCH] update typescript definition --- mithril.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mithril.d.ts b/mithril.d.ts index 7b2c4cef..ad5caed6 100644 --- a/mithril.d.ts +++ b/mithril.d.ts @@ -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;