更新
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
import types = require('./types');
|
||||
|
||||
declare class Dispatcher {
|
||||
dispatch(payload: any);
|
||||
register(cb: types.AnyFn): void;
|
||||
waitFor(ids: string[]): void;
|
||||
unregister(id: string): void;
|
||||
isDispatching(): boolean;
|
||||
}
|
||||
|
||||
export = Dispatcher;
|
||||
Reference in New Issue
Block a user