При подключении картинок либо стилей выдает cannot find module "typescript"
Структурка...
src --
-- modules
-- module1
-- module2
-- main.ts
webpack--
-- webpack.config.js
package.json
tsconfig.json
TSCONFIG.json
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"target": "es5",
"downlevelIteration": true,
"importHelpers": true,
"sourceMap": true,
"module": "esnext",
"outDir": "./dist/",
"moduleResolution": "node",
"jsx": "react",
"allowJs": true,
"lib": ["dom","dom.iterable", "es2015", "es2016", "es2017", "esnext"],
"forceConsistentCasingInFileNames": true,
"experimentalDecorators": true,
"noImplicitAny": true,
"noUnusedParameters": true,
"noImplicitReturns": true,
"noImplicitThis": true,
"noEmitOnError": true,
"noUnusedLocals": true,
"skipLibCheck": true,
"strictNullChecks": true,
"suppressImplicitAnyIndexErrors": true,
// "types": ["jest"]
},
"include": ["./frontEnd/src/**/*"],
"exclude": [
"node_modules"
]
}