Я хочу расширить сторонний файл lib * .d.ts. Но я получаю сообщение «Модуль не найден»: Ошибка: не удается устранить ошибку «ThirdParty.d.ts». Перепробовал все, что видел в инте rnet. Все еще не мог решить. Любая помощь будет оценена по достоинству. Спасибо.
это мой tsconfig. json файл:
{
"compileOnSave": false,
"compilerOptions": {
"outDir": "./dist/out-tsc",
"baseUrl": "src",
"sourceMap": true,
"declaration": false,
"moduleResolution": "node",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"target": "es5",
"typeRoots": [
"node_modules/@types"
],
"lib": [
"es2016",
"es2017.object",
"dom"
],
"module": "es2015",
},
"angularCompilerOptions": {
"preserveWhitespaces": true
},
...
}