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:
Tony Compton
2016-07-10 19:21:12 -04:00
parent 77b1b17093
commit a69c28bb2d

1
reflux/reflux.d.ts vendored
View File

@@ -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 {