import { Store } from 'redux'; import { ComponentType } from 'react'; import { TodoState } from '../reducers'; import { TodoAction } from '../actions/TodoActions'; interface Props { store: Store; } const Root: ComponentType = process.env.NODE_ENV === 'production' ? // eslint-disable-next-line @typescript-eslint/no-var-requires require('./Root.prod').default : // eslint-disable-next-line @typescript-eslint/no-var-requires require('./Root.dev').default; export default Root;