Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 17 additions & 17 deletions packages/documentation/copy/en/project-config/Compiler Options.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#allowSyntheticDefaultImports'>--allowSyntheticDefaultImports</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#esModuleInterop"><code>esModuleInterop</code></a> is enabled, <a href="#module"><code>module</code></a> is <code>system</code>, or <a href="#module-resolution"><code>moduleResolution</code></a> is <code>bundler</code>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#esModuleInterop"><code>esModuleInterop</code></a> is enabled, <a href="#module"><code>module</code></a> is <code>system</code>, or <a href="#module-resolution"><code>moduleResolution</code></a> is <code>bundler</code>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand Down Expand Up @@ -349,7 +349,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#alwaysStrict'>--alwaysStrict</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand Down Expand Up @@ -426,7 +426,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#declaration'>--declaration</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#composite"><code>composite</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#composite"><code>composite</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand Down Expand Up @@ -558,7 +558,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#esModuleInterop'>--esModuleInterop</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#module"><code>module</code></a> is <code>node16</code> or <code>nodenext</code>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#module"><code>module</code></a> is <code>node16</code> or <code>nodenext</code>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand Down Expand Up @@ -657,7 +657,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#incremental'>--incremental</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#composite"><code>composite</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#composite"><code>composite</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand Down Expand Up @@ -811,7 +811,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#module'>--module</a></code></td>
<td><p><code>none</code>, <code>commonjs</code>, <code>amd</code>, <code>umd</code>, <code>system</code>, <code>es6</code>/<code>es2015</code>, <code>es2020</code>, <code>es2022</code>, <code>esnext</code>, <code>node16</code>, or <code>nodenext</code></p>
</td>
<td><p><code>CommonJS</code> if <a href="#target"><code>target</code></a> is <code>ES3</code> or <code>ES5</code>, <code>ES6</code>/<code>ES2015</code> otherwise.</p>
<td><p><code>CommonJS</code> if <a href="#target"><code>target</code></a> is <code>ES3</code> or <code>ES5</code>; <code>ES6</code>/<code>ES2015</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand All @@ -826,14 +826,14 @@ tsc app.ts util.ts --target esnext --outfile index.js
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
<p>Control what method is used to detect the whether a JS file is a module.</p>
<p>Specify what method is used to detect whether a file is a script or a module.</p>
</td></tr>

<tr class='even' name='moduleResolution'>
<td><code><a href='/tsconfig/#moduleResolution'>--moduleResolution</a></code></td>
<td><p><code>classic</code>, <code>node10</code>/<code>node</code>, <code>node16</code>, <code>nodenext</code>, or <code>bundler</code></p>
</td>
<td><p><code>Classic</code> if <a href="#module"><code>module</code></a> is <code>AMD</code>, <code>UMD</code>, <code>System</code> or <code>ES6</code>/<code>ES2015</code>, Matches if <a href="#module"><code>module</code></a> is <code>node16</code> or <code>nodenext</code>, <code>Node</code> otherwise.</p>
<td><p><code>Classic</code> if <a href="#module"><code>module</code></a> is <code>AMD</code>, <code>UMD</code>, <code>System</code>, or <code>ES6</code>/<code>ES2015</code>; Matches if <a href="#module"><code>module</code></a> is <code>node16</code> or <code>nodenext</code>; <code>Node</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand Down Expand Up @@ -921,7 +921,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#noImplicitAny'>--noImplicitAny</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand Down Expand Up @@ -954,7 +954,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#noImplicitThis'>--noImplicitThis</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand Down Expand Up @@ -1108,7 +1108,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#preserveConstEnums'>--preserveConstEnums</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#isolatedModules"><code>isolatedModules</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#isolatedModules"><code>isolatedModules</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand Down Expand Up @@ -1295,7 +1295,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#strictBindCallApply'>--strictBindCallApply</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand All @@ -1306,7 +1306,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#strictFunctionTypes'>--strictFunctionTypes</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand All @@ -1317,7 +1317,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#strictNullChecks'>--strictNullChecks</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand All @@ -1328,7 +1328,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#strictPropertyInitialization'>--strictPropertyInitialization</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand Down Expand Up @@ -1427,7 +1427,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#useDefineForClassFields'>--useDefineForClassFields</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#target"><code>target</code></a> is <code>ES2022</code> or higher, including <code>ESNext</code>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#target"><code>target</code></a> is <code>ES2022</code> or higher, including <code>ESNext</code>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description even"><td colspan="3">
Expand All @@ -1438,7 +1438,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
<td><code><a href='/tsconfig/#useUnknownInCatchVariables'>--useUnknownInCatchVariables</a></code></td>
<td><p><code>boolean</code></p>
</td>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>, <code>false</code> otherwise.</p>
<td><p><code>true</code> if <a href="#strict"><code>strict</code></a>; <code>false</code> otherwise.</p>
</td>
</tr>
<tr class="option-description odd"><td colspan="3">
Expand Down
1 change: 1 addition & 0 deletions packages/documentation/scripts/types/AllFilenames.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ export type AllDocsPages =
| "release-notes/TypeScript 4.8.md"
| "release-notes/TypeScript 4.9.md"
| "release-notes/TypeScript 5.0.md"
| "release-notes/TypeScript 5.1.md"
| "tutorials/ASP.NET Core.md"
| "tutorials/Angular.md"
| "tutorials/Babel with TypeScript.md"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
"markdownDescription": "Specify what module code is generated.\n\nSee more: https://www.typescriptlang.org/tsconfig#module"
},
"moduleDetection": {
"description": "Control what method is used to detect the whether a JS file is a module.",
"description": "Specify what method is used to detect whether a file is a script or a module.",
"type": "string",
"enum": ["auto", "legacy", "force"],
"default": "auto"
Expand Down