mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-20 12:00:53 +08:00
Changed to use basicDispatcher in Store.
This commit is contained in:
+1
-2
@@ -107,8 +107,7 @@ class CounterStore extends FluxUtils.ReduceStore<number> {
|
||||
}
|
||||
}
|
||||
|
||||
var Disaptcher: any;
|
||||
const Store = new CounterStore(Disaptcher);
|
||||
const Store = new CounterStore(basicDispatcher);
|
||||
|
||||
// Sample Flux container with CounterStore
|
||||
class CounterContainer extends Component<any, any> {
|
||||
|
||||
Reference in New Issue
Block a user