mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-09 04:18:51 +08:00
19 lines
458 B
TypeScript
19 lines
458 B
TypeScript
import bootstrap from "redux-bootstrap";
|
|
|
|
let routes: JSX.Element = null;
|
|
|
|
let result = bootstrap({
|
|
container: "root",
|
|
initialState: {},
|
|
middlewares: [],
|
|
reducers: {
|
|
reposReducer: (previousState: any, action: any): any => { return null; },
|
|
usersReducer: (previousState: any, action: any): any => { return null; }
|
|
},
|
|
routes: routes
|
|
});
|
|
|
|
console.log(result.store);
|
|
console.log(result.history);
|
|
console.log(result.root);
|