Skip to content

Commit 446aa75

Browse files
authored
Apply suggestions from code review
Swap bundler/preserve
1 parent 0bb3b78 commit 446aa75

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/documentation/copy/en/project-config/Compiler Options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
868868
<td><code><a href='/tsconfig/#moduleResolution'>--moduleResolution</a></code></td>
869869
<td><p><code>classic</code>, <code>node10</code>/<code>node</code>, <code>node16</code>, <code>nodenext</code>, or <code>bundler</code></p>
870870
</td>
871-
<td><p><code>Node10</code> if <a href="#module"><code>module</code></a> is <code>CommonJS</code>; <code>Node16</code> if <a href="#module"><code>module</code></a> is <code>Node16</code> or <code>Node18</code>; <code>NodeNext</code> if <a href="#module"><code>module</code></a> is <code>NodeNext</code>; <code>Preserve</code> if <a href="#module"><code>module</code></a> is <code>Bundler</code>; <code>Classic</code> otherwise.</p>
871+
<td><p><code>Node10</code> if <a href="#module"><code>module</code></a> is <code>CommonJS</code>; <code>Node16</code> if <a href="#module"><code>module</code></a> is <code>Node16</code> or <code>Node18</code>; <code>NodeNext</code> if <a href="#module"><code>module</code></a> is <code>NodeNext</code>; <code>Bundler</code> if <a href="#module"><code>module</code></a> is <code>Preserve</code>; <code>Classic</code> otherwise.</p>
872872
</td>
873873
</tr>
874874
<tr class="option-description even"><td colspan="3">

packages/tsconfig-reference/scripts/tsconfigRules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export const defaultsForOptions = {
241241
"`Node10` if [`module`](#module) is `CommonJS`;",
242242
"`Node16` if [`module`](#module) is `Node16` or `Node18`;",
243243
"`NodeNext` if [`module`](#module) is `NodeNext`;",
244-
"`Preserve` if [`module`](#module) is `Bundler`;",
244+
"`Bundler` if [`module`](#module) is `Preserve`;",
245245
"`Classic` otherwise.",
246246
],
247247
newLine: "`lf`",

0 commit comments

Comments
 (0)