Mappings
Compiler Option | MSBuild Property Name | Allowed Values |
---|---|---|
--allowJs | Not supported in MSBuild | |
--allowSyntheticDefaultImports | TypeScriptAllowSyntheticDefaultImports | boolean |
--allowUnreachableCode | TypeScriptAllowUnreachableCode | boolean |
--allowUnusedLabels | TypeScriptAllowUnusedLabels | boolean |
--baseUrl | TypeScriptBaseUrl | File path |
--charset | TypeScriptCharset | |
--declaration | TypeScriptGeneratesDeclarations | boolean |
--declarationDir | TypeScriptDeclarationDir | File path |
--diagnostics | Not supported in MSBuild | |
--emitBOM | TypeScriptEmitBOM | boolean |
--emitDecoratorMetadata | TypeScriptEmitDecoratorMetadata | boolean |
--experimentalAsyncFunctions | TypeScriptExperimentalAsyncFunctions | boolean |
--experimentalDecorators | TypeScriptExperimentalDecorators | boolean |
--forceConsistentCasingInFileNames | TypeScriptForceConsistentCasingInFileNames | boolean |
--help | Not supported in MSBuild | |
--inlineSourceMap | TypeScriptInlineSourceMap | boolean |
--inlineSources | TypeScriptInlineSources | boolean |
--init | Not supported in MSBuild | |
--isolatedModules | TypeScriptIsolatedModules | boolean |
--jsx | TypeScriptJSXEmit |
React or Preserve
|
--lib | TypeScriptLib | Comma-separated list of strings |
--listEmittedFiles | Not supported in MSBuild | |
--listFiles | Not supported in MSBuild | |
--locale | automatic | Automatically set to PreferredUILang value |
--mapRoot | TypeScriptMapRoot | File path |
--module | TypeScriptModuleKind |
AMD , CommonJs , UMD , System or ES6
|
--moduleResolution | TypeScriptModuleResolution |
Classic or Node
|
--newLine | TypeScriptNewLine |
CRLF or LF
|
--noEmit | Not supported in MSBuild | |
--noEmitHelpers | TypeScriptNoEmitHelpers | boolean |
--noEmitOnError | TypeScriptNoEmitOnError | boolean |
--noFallthroughCasesInSwitch | TypeScriptNoFallthroughCasesInSwitch | boolean |
--noImplicitAny | TypeScriptNoImplicitAny | boolean |
--noImplicitReturns | TypeScriptNoImplicitReturns | boolean |
--noImplicitThis | TypeScriptNoImplicitThis | boolean |
--noImplicitUseStrict | TypeScriptNoImplicitUseStrict | boolean |
--noUnusedLocals | TypeScriptNoUnusedLocals | boolean |
--noUnusedParameters | TypeScriptNoUnusedParameters | boolean |
--noLib | TypeScriptNoLib | boolean |
--noResolve | TypeScriptNoResolve | boolean |
--out | TypeScriptOutFile | File path |
--outDir | TypeScriptOutDir | File path |
--outFile | TypeScriptOutFile | File path |
--paths | Not supported in MSBuild | |
--preserveConstEnums | TypeScriptPreserveConstEnums | boolean |
--listEmittedFiles | Not supported in MSBuild | |
--pretty | Not supported in MSBuild | |
--reactNamespace | TypeScriptReactNamespace | string |
--removeComments | TypeScriptRemoveComments | boolean |
--rootDir | TypeScriptRootDir | File path |
--rootDirs | Not supported in MSBuild | |
--skipLibCheck | TypeScriptSkipLibCheck | boolean |
--skipDefaultLibCheck | TypeScriptSkipDefaultLibCheck | boolean |
--sourceMap | TypeScriptSourceMap | File path |
--sourceRoot | TypeScriptSourceRoot | File path |
--strictNullChecks | TypeScriptStrictNullChecks | boolean |
--suppressExcessPropertyErrors | TypeScriptSuppressExcessPropertyErrors | boolean |
--suppressImplicitAnyIndexErrors | TypeScriptSuppressImplicitAnyIndexErrors | boolean |
--target | TypeScriptTarget |
ES3 , ES5 , or ES6
|
--traceResolution | Not supported in MSBuild | |
--types | Not supported in MSBuild | |
--typeRoots | Not supported in MSBuild | |
--watch | Not supported in MSBuild | |
MSBuild only option | TypeScriptAdditionalFlags | Any compiler option |
Please login to continue.