added typescript definition of m.deps

This commit is contained in:
zzmp 2014-09-17 17:07:39 -07:00
parent d3e1a9d988
commit ab92e0e05f

1
mithril.d.ts vendored
View file

@ -20,6 +20,7 @@ interface MithrilStatic {
sync(promises: MithrilPromise[]): MithrilPromise;
startComputation(): void;
endComputation(): void;
deps(window: any): any;
}
interface MithrilVirtualElement {