mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-05 12:20:07 +08:00
Changed to use basicDispatcher in Store.
This commit is contained in:
1 parent
3201084d33
commit
06911fd64b
1 file changed
+1
-2
+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