mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-17 03:24:15 +08:00
Arrow function type to method type
This commit is contained in:
2
types/dispatchr/addons/BaseStore.d.ts
vendored
2
types/dispatchr/addons/BaseStore.d.ts
vendored
@@ -5,7 +5,7 @@ import { EventEmitter } from 'events';
|
||||
|
||||
declare class BaseStore<S = {}> extends EventEmitter implements Store<S> {
|
||||
constructor(dispatcher: DispatcherInterface);
|
||||
initialize?: () => void;
|
||||
initialize?(): void;
|
||||
getContext(): DispatcherContext;
|
||||
addChangeListener(callback: () => void): void;
|
||||
removeChangeListener(callback: () => void): void;
|
||||
|
||||
Reference in New Issue
Block a user