cannot find definition file for actions
// tsconfig.json
{
"compilerOptions": {
"target": "es5",
"module": "commonjs",
"allowJs": true,
"jsx": "react",
"strict": true,
"noImplicitAny": true,
"typeRoots": [
"src/@typings",
"src/actions/@types",
"src/components/@types",
"src/reducers/@types",
"node_modules/@types"
],
"esModuleInterop": true,
"skipLibCheck": true,
"forceConsistentCasingInFileNames": true,
"resolveJsonModule": true,
"outDir": "./build",
},
"include": ["./src/**/*"],
"exclude": ["node_modules", "build", "public"],
}
// cannot find definition file for actions .... Move the d.ts into actions, reducers, components etc.
// this works.