// Type definitions for react-bootstrap v1.0.0 // Project: https://github.com/remojansen/redux-bootstrap // Definitions by: Remo H. Jansen // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped /// /// /// declare module "redux-bootstrap" { interface BootstrapOptions { routes: JSX.Element; reducers: ReducersOption; middlewares?: Redux.Middleware[]; initialState?: any; container?: string; } interface BootstrapResult { store: Redux.Store; history: ReactRouterRedux.ReactRouterReduxHistory; root: JSX.Element; } interface ReducersOption { [index: string]: Redux.Reducer; } export default function bootstrap(options: BootstrapOptions): BootstrapResult; }