0
paths
を私の設定に追加しました。これらの変更をどのように "保存"するのか分かりません。Angular 2.を使用してtsconfig.jsonを更新しました。実際に設定を適用するにはどうすればよいですか?
{
"compileOnSave": true,
"compilerOptions": {
"declaration": false,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"mapRoot": "/",
"module": "commonjs",
"moduleResolution": "node",
"noEmitOnError": true,
"noImplicitAny": false,
"outDir": "../dist/",
"rootDir": ".",
"paths": {
"*": ["./*"]
},
"sourceMap": true,
"target": "es5",
"inlineSources": true
},
"files": [
"main.ts",
"typings.d.ts"
]
}
私はIDE用にビジュアルスタジオコードを使用しています。
haha。私は次回コンパイル時にこれらのオプションを保存することを意味します – user1354934