mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Add types for react-async-queue * Add strictFunctionTypes * Fixes * Unused import * Unused import
10 lines
251 B
TypeScript
10 lines
251 B
TypeScript
import { createStore, applyMiddleware } from 'redux';
|
|
import queueMiddleware from 'redux-async-queue';
|
|
|
|
const reducer = (state: any, action: any) => ({ state, action });
|
|
|
|
const store = createStore(
|
|
reducer,
|
|
applyMiddleware(queueMiddleware)
|
|
);
|