私はVS2015でFile > New > Project
を使用して空白HTML application with TypeScript
を作成しました。Visual Studio 2015 - tsconfig.json - TypeScript 1.6.0 Beta
/scripts
フォルダーに基本的なtsconfig.jsonを追加し、VSにファイルを読み込ませ、.jsファイルを別のフォルダーに出力することを期待していました。残念ながら、何も起こりません。 VSが見つからないけれど、tsconfig.json
誰かがこの問題を抱えていますか?
私は1.5と以前の問題があった承知していますが、以前の修正プログラムが動作していないよう: https://github.com/Microsoft/TypeScript/issues/4300
を----------------更新9
{
"compilerOptions": {
"noImplicitAny": false,
"noEmitOnError": true,
"removeComments": false,
"sourceMap": true,
"target": "es5",
"module": "amd",
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"outDir": "../www/scripts/"
},
"files": [
"./scripts/index.ts"
]
}
はここで別のtsconfig.json
{
"compilerOptions": {
"target": "es5",
"out": "/wwwroot/scripts/appBundle.js",
"sourceMap": true,
"removeComments": true,
"sourceRoot": "/"
}
}
だtsconfig.json/2015分の10
は、ここに1つのサンプルです
TypeScript + Cordovaプロジェクト用のtsconfig.jsonファイルが作成されており、正しく動作します。
何あなたtsconfig.jsonが見えますか? –