mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-27 22:35:23 +08:00
empty {} -> object
This commit is contained in:
2
types/dispatchr/index.d.ts
vendored
2
types/dispatchr/index.d.ts
vendored
@@ -28,7 +28,7 @@ export interface Store<S = {}> extends EventEmitter {
|
||||
}
|
||||
|
||||
export interface Dispatcher {
|
||||
createContext(context: {}): DispatcherContext;
|
||||
createContext(context: object): DispatcherContext;
|
||||
registerStore(store: StoreClass): void;
|
||||
isRegistered(store: StoreClass | string): boolean;
|
||||
getStoreName(store: StoreClass | string): string;
|
||||
|
||||
Reference in New Issue
Block a user