added typescript definition of m.deps
This commit is contained in:
parent
d3e1a9d988
commit
ab92e0e05f
1 changed files with 1 additions and 0 deletions
1
mithril.d.ts
vendored
1
mithril.d.ts
vendored
|
|
@ -20,6 +20,7 @@ interface MithrilStatic {
|
||||||
sync(promises: MithrilPromise[]): MithrilPromise;
|
sync(promises: MithrilPromise[]): MithrilPromise;
|
||||||
startComputation(): void;
|
startComputation(): void;
|
||||||
endComputation(): void;
|
endComputation(): void;
|
||||||
|
deps(window: any): any;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MithrilVirtualElement {
|
interface MithrilVirtualElement {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue