diff --git a/packages/documentation/copy/en/project-config/Compiler Options.md b/packages/documentation/copy/en/project-config/Compiler Options.md index 93fd7c43da6c..f9e45d9154c2 100644 --- a/packages/documentation/copy/en/project-config/Compiler Options.md +++ b/packages/documentation/copy/en/project-config/Compiler Options.md @@ -305,7 +305,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
--allowSyntheticDefaultImportsboolean
true if esModuleInterop is enabled, module is system, or moduleResolution is bundler, false otherwise.
true if esModuleInterop is enabled, module is system, or moduleResolution is bundler; false otherwise.
--alwaysStrictboolean
true if strict, false otherwise.
true if strict; false otherwise.
--declarationboolean
true if composite, false otherwise.
true if composite; false otherwise.
--esModuleInteropboolean
true if module is node16 or nodenext, false otherwise.
true if module is node16 or nodenext; false otherwise.
--incrementalboolean
true if composite, false otherwise.
true if composite; false otherwise.
--modulenone, commonjs, amd, umd, system, es6/es2015, es2020, es2022, esnext, node16, or nodenext
CommonJS if target is ES3 or ES5, ES6/ES2015 otherwise.
CommonJS if target is ES3 or ES5; ES6/ES2015 otherwise.
Control what method is used to detect the whether a JS file is a module.
+Specify what method is used to detect whether a file is a script or a module.
--moduleResolutionclassic, node10/node, node16, nodenext, or bundler
Classic if module is AMD, UMD, System or ES6/ES2015, Matches if module is node16 or nodenext, Node otherwise.
Classic if module is AMD, UMD, System, or ES6/ES2015; Matches if module is node16 or nodenext; Node otherwise.
--noImplicitAnyboolean
true if strict, false otherwise.
true if strict; false otherwise.
--noImplicitThisboolean
true if strict, false otherwise.
true if strict; false otherwise.
--preserveConstEnumsboolean
true if isolatedModules, false otherwise.
true if isolatedModules; false otherwise.
--strictBindCallApplyboolean
true if strict, false otherwise.
true if strict; false otherwise.
--strictFunctionTypesboolean
true if strict, false otherwise.
true if strict; false otherwise.
--strictNullChecksboolean
true if strict, false otherwise.
true if strict; false otherwise.
--strictPropertyInitializationboolean
true if strict, false otherwise.
true if strict; false otherwise.
--useDefineForClassFieldsboolean
true if target is ES2022 or higher, including ESNext, false otherwise.
true if target is ES2022 or higher, including ESNext; false otherwise.
--useUnknownInCatchVariablesboolean
true if strict, false otherwise.
true if strict; false otherwise.