@@ -22,52 +22,68 @@ Compiler options can be specified using MSBuild properties within an MSBuild pro
2222
2323Compiler Option                              | MSBuild Property Name                      | Allowed Values
2424---------------------------------------------|--------------------------------------------|-----------------
25- ` --declaration `                               | TypeScriptGeneratesDeclarations            | boolean
26- ` --module `                                    | TypeScriptModuleKind                       | ` AMD ` , ` CommonJs ` , ` UMD ` , or ` System ` 
27- ` --target `                                    | TypeScriptTarget                           | ` ES3 ` , ` ES5 ` , or ` ES6 ` 
25+ ` --allowJs `                                   | * Not supported in MSBuild*                  |
26+ ` --allowSyntheticDefaultImports `              | TypeScriptAllowSyntheticDefaultImports     | boolean
27+ ` --allowUnreachableCode `                      | TypeScriptAllowUnreachableCode             | boolean
28+ ` --allowUnusedLabels `                         | TypeScriptAllowUnusedLabels                | boolean
29+ ` --baseUrl `                                   | TypeScriptBaseUrl                          | File path
2830` --charset `                                   | TypeScriptCharset                          |
31+ ` --declaration `                               | TypeScriptGeneratesDeclarations            | boolean
32+ ` --declarationDir `                            | TypeScriptDeclarationDir                   | File path
33+ ` --diagnostics `                               | * Not supported in MSBuild*                  |
2934` --emitBOM `                                   | TypeScriptEmitBOM                          | boolean
3035` --emitDecoratorMetadata `                     | TypeScriptEmitDecoratorMetadata            | boolean
36+ ` --experimentalAsyncFunctions `                | TypeScriptExperimentalAsyncFunctions       | boolean
3137` --experimentalDecorators `                    | TypeScriptExperimentalDecorators           | boolean
38+ ` --forceConsistentCasingInFileNames `          | TypeScriptForceConsistentCasingInFileNames | boolean
39+ ` --help `                                      | * Not supported in MSBuild*                  |
3240` --inlineSourceMap `                           | TypeScriptInlineSourceMap                  | boolean
3341` --inlineSources `                             | TypeScriptInlineSources                    | boolean
42+ ` --init `                                      | * Not supported in MSBuild*                  |
43+ ` --isolatedModules `                           | TypeScriptIsolatedModules                  | boolean
44+ ` --jsx `                                       | TypeScriptJSXEmit                          | ` React `  or ` Preserve ` 
45+ ` --lib `                                       | TypeScriptLib                              | Comma-separated list of strings
46+ ` --listEmittedFiles `                          | * Not supported in MSBuild*                  |
47+ ` --listFiles `                                 | * Not supported in MSBuild*                  |
3448` --locale `                                    | * automatic*                                 | Automatically set to PreferredUILang value
3549` --mapRoot `                                   | TypeScriptMapRoot                          | File path
50+ ` --module `                                    | TypeScriptModuleKind                       | ` AMD ` , ` CommonJs ` , ` UMD ` , ` System `  or ` ES6 ` 
51+ ` --moduleResolution `                          | TypeScriptModuleResolution                 | ` Classic `  or ` Node ` 
3652` --newLine `                                   | TypeScriptNewLine                          | ` CRLF `  or ` LF ` 
37- ` --noEmitOnError  `                             | TypeScriptNoEmitOnError                     | boolean 
53+ ` --noEmit  `                                    |  * Not supported in MSBuild *                  |
3854` --noEmitHelpers `                             | TypeScriptNoEmitHelpers                    | boolean
55+ ` --noEmitOnError `                             | TypeScriptNoEmitOnError                    | boolean
56+ ` --noFallthroughCasesInSwitch `                | TypeScriptNoFallthroughCasesInSwitch       | boolean
3957` --noImplicitAny `                             | TypeScriptNoImplicitAny                    | boolean
58+ ` --noImplicitReturns `                         | TypeScriptNoImplicitReturns                | boolean
59+ ` --noImplicitThis `                            | TypeScriptNoImplicitThis                   | boolean
60+ ` --noImplicitUseStrict `                       | TypeScriptNoImplicitUseStrict              | boolean
4061` --noLib `                                     | TypeScriptNoLib                            | boolean
4162` --noResolve `                                 | TypeScriptNoResolve                        | boolean
4263` --out `                                       | TypeScriptOutFile                          | File path
4364` --outDir `                                    | TypeScriptOutDir                           | File path
65+ ` --outFile `                                   | TypeScriptOutFile                          | File path
66+ ` --paths `                                     | * Not supported in MSBuild*                  |
4467` --preserveConstEnums `                        | TypeScriptPreserveConstEnums               | boolean
68+ ` --listEmittedFiles `                          | * Not supported in MSBuild*                  |
69+ ` --pretty `                                    | * Not supported in MSBuild*                  |
70+ ` --reactNamespace `                            | TypeScriptReactNamespace                   | string
4571` --removeComments `                            | TypeScriptRemoveComments                   | boolean
4672` --rootDir `                                   | TypeScriptRootDir                          | File path
47- ` --isolatedModules `                           | TypeScriptIsolatedModules                  | boolean
73+ ` --rootDirs `                                  | * Not supported in MSBuild*                  |
74+ ` --skipLibCheck `                              | TypeScriptSkipLibCheck                     | boolean
75+ ` --skipDefaultLibCheck `                       | TypeScriptSkipDefaultLibCheck              | boolean
4876` --sourceMap `                                 | TypeScriptSourceMap                        | File path
4977` --sourceRoot `                                | TypeScriptSourceRoot                       | File path
50- ` --suppressImplicitAnyIndexErrors  `            | TypeScriptSuppressImplicitAnyIndexErrors    | boolean 
78+ ` --strictNullChecks  `                          | TypeScriptStrictNullChecks                  | File path 
5179` --suppressExcessPropertyErrors `              |  TypeScriptSuppressExcessPropertyErrors    | boolean
52- ` --moduleResolution `                          | TypeScriptModuleResolution                 | ` Classic `  or ` Node ` 
53- ` --experimentalAsyncFunctions `                | TypeScriptExperimentalAsyncFunctions       | boolean
54- ` --jsx `                                       | TypeScriptJSXEmit                          | ` React `  or ` Preserve ` 
55- ` --reactNamespace `                            | TypeScriptReactNamespace                   | string
56- ` --skipDefaultLibCheck `                       | TypeScriptSkipDefaultLibCheck              | boolean
57- ` --allowUnusedLabels `                         | TypeScriptAllowUnusedLabels                | boolean
58- ` --noImplicitReturns `                         | TypeScriptNoImplicitReturns                | boolean
59- ` --noFallthroughCasesInSwitch `                | TypeScriptNoFallthroughCasesInSwitch       | boolean
60- ` --allowUnreachableCode `                      | TypeScriptAllowUnreachableCode             | boolean
61- ` --forceConsistentCasingInFileNames `          | TypeScriptForceConsistentCasingInFileNames | boolean
62- ` --allowSyntheticDefaultImports `              | TypeScriptAllowSyntheticDefaultImports     | boolean
63- ` --noImplicitUseStrict `                       | TypeScriptNoImplicitUseStrict              | boolean
64- ` --project `                                   | * Not supported in VS*                       |
65- ` --watch `                                     | * Not supported in VS*                       |
66- ` --diagnostics `                               | * Not supported in VS*                       |
67- ` --listFiles `                                 | * Not supported in VS*                       |
68- ` --noEmit `                                    | * Not supported in VS*                       |
69- ` --allowJs `                                   | * Not supported in VS*                       |
70- * VS only option*                              | TypeScriptAdditionalFlags                  | * Any compiler option* 
80+ ` --suppressImplicitAnyIndexErrors `            | TypeScriptSuppressImplicitAnyIndexErrors   | boolean
81+ ` --target `                                    | TypeScriptTarget                           | ` ES3 ` , ` ES5 ` , or ` ES6 ` 
82+ ` --traceResolution `                           | * Not supported in MSBuild*                  |
83+ ` --types `                                     | TypeScriptTypes                            | Comma-separated list of strings
84+ ` --typeRoots `                                 | TypeScriptTypeRoots                        | Comma-separated list of file path
85+ ` --watch `                                     | * Not supported in MSBuild*                  |
86+ * MSBuild only option*                         | TypeScriptAdditionalFlags                  | * Any compiler option* 
7187
7288## What is supported in my version of Visual Studio?  
7389
0 commit comments