mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 09:49:07 +00:00
Added the listen function.
Added the listen function to Store interface so that people can use Reflux the non-mixin way.
This commit is contained in:
1
reflux/reflux.d.ts
vendored
1
reflux/reflux.d.ts
vendored
@@ -35,6 +35,7 @@ declare module RefluxCore {
|
||||
stopListeningToAll(): void,
|
||||
fetchInitialState(listenable: Listenable, defaultCallback: Function): void,
|
||||
trigger(state: any):void;
|
||||
listen(callback: Function, bindContext: any) : Function;
|
||||
}
|
||||
|
||||
interface ActionsDefinition {
|
||||
|
||||
Reference in New Issue
Block a user