interface RootState { galleries: GalleriesMap; images: ImagesMap; users: UsersMap; } type Subtract = Omit; type Contains = { [key: string]: any; [key: number]: any; } & T; // npm install -D @types/module - DefiniteyTyped // declare module "storybook-react-router" { // import { StoryDecorator } from "@storybook/react"; // const constructor: () => StoryDecorator; // export default constructor; // }