私は次のような構造のプロジェクトに取り組んでいます。
\
|- built
|- src
|- perf
|- tsconfig.json
|- typings
|- tsconfig.json
tsconfig.json
ルート上の私の
"target": "es6",
"outDir": "built",
"rootDir": "./src",
perf
別のターゲットなど、フォルダーに別の構成が必要です。
"target": "es5",
ただし、私のtypings
フォルダーはフォルダー内ではなく、プロジェクトのルートにありperf
ます。そのtsc ./perf
ため、多くのエラーが発生します。
TypeScriptにどこを探すべきかを伝える方法はありtypings
ますか? 私は使用しています
npm install -g typescript@next
// typescript@1.8.0-dev.20151109
または、フォルダに応じて異なる構成にする方法はありますか?