2016-04-27 3 views
3

私は私が私が思ったんだけどtypescriptには、宣言やキャスト/変換時に「すべて」を許可しないオプションがありますか?

"compilerOptions": { 
    "target": "es6", 
    "module": "system", 
    "moduleResolution": "node", 
    "emitDecoratorMetadata": true, 
    "experimentalDecorators": true, 
    "removeComments": true, 
    "noImplicitAny": true, 
    "noEmitOnError": false, 
    "noImplicitUseStrict": false, 
    "declaration": false, 
    "inlineSourceMap": true, 
    "inlineSources": true 
}, 

として、これらの設定を持っているtsconfig.jsonでのVisual Studio 2015

での使用を許可しない設定を活字体バージョン1.8.10がされて使用しています"any"の代わりにnumber、stringなどのデータ型を使用するように強制しますか?

答えて

関連する問題