Updating typescript redraw definition to allow m.redraw.strategy

This commit is contained in:
Blayne Chard 2014-12-04 10:59:05 +13:00
parent 5b71027896
commit 03fe9c4edc

5
mithril.d.ts vendored
View file

@ -9,7 +9,10 @@ interface MithrilStatic {
trust(html: string): String;
render(rootElement: Element, children?: any): void;
render(rootElement: HTMLDocument, children?: any): void;
redraw(): void;
redraw: {
(): void;
strategy(key: string);
};
route: {
(rootElement:Element, defaultRoute:string, routes:{ [key: string]: MithrilModule }): void
(element: Element, isInitialized: boolean): void;