Skip to content

Commit af98136

Browse files
committed
fix ts
1 parent 10ed706 commit af98136

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lib/vlow.d.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
export class Store {
22
constructor(...args: any[]);
3-
setState(newState: any, cb: any): void;
3+
state: any;
4+
setState(newStateOrCallback: any, cb?: any): void;
5+
unregisterStore(): void;
6+
listenerEmpty(): void;
47
}
58
export function Component(...args: any[]): any;
69
export function createActions(names: any): any;

src/vlow.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ export class Store {
22
constructor(...args: any[]);
33
state: any;
44
setState(newStateOrCallback: any, cb?: any): void;
5+
unregisterStore(): void;
6+
listenerEmpty(): void;
57
}
68
export function Component(...args: any[]): any;
79
export function createActions(names: any): any;

0 commit comments

Comments
 (0)