0
그림과 같이 아래에 타이프 스크립트 오류가 표시됩니다. 모두 해당 속성이 존재하지 않으며 typescript 파일과 관련이 없으며 이름을 찾을 수 없습니다. tsconfig.json
에서AngularJs 2 typescript 파일로드 문제가 발생했습니다.
그림과 같이 아래에 타이프 스크립트 오류가 표시됩니다. 모두 해당 속성이 존재하지 않으며 typescript 파일과 관련이 없으며 이름을 찾을 수 없습니다. tsconfig.json
에서AngularJs 2 typescript 파일로드 문제가 발생했습니다.
는
{
"compilerOptions": {
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"module": "commonjs",
"noEmitOnError": true,
"noImplicitAny": false,
"removeComments": false,
"sourceMap": true,
"target": "es6",
"moduleResolution": "node",
"suppressImplicitAnyIndexErrors": true,
"watch":true
},
"compileOnSave": true,
"exclude": [
"node_modules",
"typings/main",
"typings/main.d.ts",
"typings"
]
}
예 나는이 작품 typings을 설치해야 node_modules
폴더를 제외합니다. –
sudhir
당신이 –