Skip to content

Commit 8fbe5bd

Browse files
committed
Force docs back to 5.9
1 parent 770d614 commit 8fbe5bd

11 files changed

Lines changed: 35 additions & 35 deletions

File tree

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

Lines changed: 16 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -63,66 +63,57 @@ tsc app.ts util.ts --target esnext --outfile index.js
6363
<p>Gives local information for help on the CLI.</p>
6464
</td></tr>
6565

66-
<tr class='odd' name='ignoreConfig'>
67-
<td><code>--ignoreConfig</code></td>
68-
<td><p><code>boolean</code></p>
69-
</td>
70-
</tr>
71-
<tr class="option-description odd"><td colspan="3">
72-
<p>Ignore the tsconfig found and build with commandline options and files.</p>
73-
</td></tr>
74-
75-
<tr class='even' name='init'>
66+
<tr class='odd' name='init'>
7667
<td><code>--init</code></td>
7768
<td><p><code>boolean</code></p>
7869
</td>
7970
</tr>
80-
<tr class="option-description even"><td colspan="3">
71+
<tr class="option-description odd"><td colspan="3">
8172
<p>Initializes a TypeScript project and creates a tsconfig.json file.</p>
8273
</td></tr>
8374

84-
<tr class='odd' name='listFilesOnly'>
75+
<tr class='even' name='listFilesOnly'>
8576
<td><code>--listFilesOnly</code></td>
8677
<td><p><code>boolean</code></p>
8778
</td>
8879
</tr>
89-
<tr class="option-description odd"><td colspan="3">
80+
<tr class="option-description even"><td colspan="3">
9081
<p>Print names of files that are part of the compilation and then stop processing.</p>
9182
</td></tr>
9283

93-
<tr class='even' name='locale'>
84+
<tr class='odd' name='locale'>
9485
<td><code>--locale</code></td>
9586
<td><p><code>string</code></p>
9687
</td>
9788
</tr>
98-
<tr class="option-description even"><td colspan="3">
89+
<tr class="option-description odd"><td colspan="3">
9990
<p>Set the language of the messaging from TypeScript. This does not affect emit.</p>
10091
</td></tr>
10192

102-
<tr class='odd' name='project'>
93+
<tr class='even' name='project'>
10394
<td><code>--project</code></td>
10495
<td><p><code>string</code></p>
10596
</td>
10697
</tr>
107-
<tr class="option-description odd"><td colspan="3">
98+
<tr class="option-description even"><td colspan="3">
10899
<p>Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.</p>
109100
</td></tr>
110101

111-
<tr class='even' name='showConfig'>
102+
<tr class='odd' name='showConfig'>
112103
<td><code>--showConfig</code></td>
113104
<td><p><code>boolean</code></p>
114105
</td>
115106
</tr>
116-
<tr class="option-description even"><td colspan="3">
107+
<tr class="option-description odd"><td colspan="3">
117108
<p>Print the final configuration instead of building.</p>
118109
</td></tr>
119110

120-
<tr class='odd' name='version'>
111+
<tr class='even' name='version'>
121112
<td><code>--version</code></td>
122113
<td><p><code>boolean</code></p>
123114
</td>
124115
</tr>
125-
<tr class="option-description odd"><td colspan="3">
116+
<tr class="option-description even"><td colspan="3">
126117
<p>Print the compiler's version.</p>
127118
</td></tr>
128119

@@ -294,7 +285,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
294285
<td><code><a href='/tsconfig/#allowJs'>--allowJs</a></code></td>
295286
<td><p><code>boolean</code></p>
296287
</td>
297-
<td><p><code>false</code>, unless <code>checkJs</code> is set</p>
288+
<td><p><code>false</code></p>
298289
</td>
299290
</tr>
300291
<tr class="option-description odd"><td colspan="3">
@@ -800,7 +791,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
800791
<td><code><a href='/tsconfig/#libReplacement'>--libReplacement</a></code></td>
801792
<td><p><code>boolean</code></p>
802793
</td>
803-
<td><p><code>false</code></p>
794+
<td><p><code>true</code></p>
804795
</td>
805796
</tr>
806797
<tr class="option-description odd"><td colspan="3">
@@ -1086,7 +1077,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
10861077
<td><code><a href='/tsconfig/#noUncheckedSideEffectImports'>--noUncheckedSideEffectImports</a></code></td>
10871078
<td><p><code>boolean</code></p>
10881079
</td>
1089-
<td><p><code>true</code></p>
1080+
<td><p><code>false</code></p>
10901081
</td>
10911082
</tr>
10921083
<tr class="option-description odd"><td colspan="3">
@@ -1372,7 +1363,7 @@ tsc app.ts util.ts --target esnext --outfile index.js
13721363
<td><code><a href='/tsconfig/#strict'>--strict</a></code></td>
13731364
<td><p><code>boolean</code></p>
13741365
</td>
1375-
<td><p><code>true</code></p>
1366+
<td><p><code>false</code></p>
13761367
</td>
13771368
</tr>
13781369
<tr class="option-description odd"><td colspan="3">

packages/tsconfig-reference/data/_types.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export type CompilerOptionName =
3030
| "project"
3131
| "showConfig"
3232
| "listFilesOnly"
33-
| "ignoreConfig"
3433
| "target"
3534
| "module"
3635
| "lib"

packages/tsconfig-reference/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@types/json-schema": "^7.0.15",
2828
"ts-node": "*",
2929
"typescript": "*",
30+
"typescript-for-docs": "npm:typescript@5.9.3",
3031
"xml-js": "^1.6.11"
3132
},
3233
"type": "module"

packages/tsconfig-reference/scripts/cli/generateJSON.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*/
88
console.log("TSConfig Ref: JSON for CLI Opts");
99

10-
import ts from "typescript";
10+
import ts from "typescript-for-docs";
1111

1212
import { CommandLineOptionBase } from "../types";
1313
import { writeFileSync, readFileSync } from "fs";

packages/tsconfig-reference/scripts/schema/generateJSON.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { join } from "path";
1515
import { fileURLToPath } from "url";
1616
import prettier from "prettier";
1717
import { CompilerOptionName } from "../../data/_types";
18-
import ts from "typescript";
18+
import ts from "typescript-for-docs";
1919
import type { JSONSchema7 } from "json-schema";
2020
import type { CommandLineOption } from "../tsconfigRules.js";
2121

packages/tsconfig-reference/scripts/schema/result/schema.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -860,15 +860,14 @@
860860
"esnext.regexp",
861861
"esnext.iterator",
862862
"esnext.float16",
863-
"esnext.typedarrays",
864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ee]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Ww][Ee][Aa][Kk][Rr][Ee][Ff]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Dd][Ee][Cc][Oo][Rr][Aa][Tt][Oo][Rr][Ss]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Oo][Bb][Jj][Ee][Cc][Tt]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Rr][Ee][Gg][Ee][Xx][Pp]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Ii][Tt][Ee][Rr][Aa][Tt][Oo][Rr]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Ff][Ll][Oo][Aa][Tt]16|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Ee][Rr][Rr][Oo][Rr]|[Ee][Ss][Nn][Ee][Xx][Tt]\\.[Ss][Hh][Aa][Rr][Ee][Dd][Mm][Ee][Mm][Oo][Rr][Yy]|[Dd][Ee][Cc][Oo][Rr][Aa][Tt][Oo][Rr][Ss]|[Dd][Ee][Cc][Oo][Rr][Aa][Tt][Oo][Rr][Ss]\\.[Ll][Ee][Gg][Aa][Cc][Yy])$"
872871
}
873872
]
874873
},

packages/tsconfig-reference/scripts/tsconfig/generateJSON.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
console.log("TSConfig Ref: JSON for TSConfig");
1010

11-
import ts from "typescript";
11+
import ts from "typescript-for-docs";
1212

1313
import { CommandLineOptionBase } from "../types";
1414
import { writeFileSync } from "fs";

packages/tsconfig-reference/scripts/tsconfig/generateMarkdown.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import { fileURLToPath } from "url";
2525
import * as assert from "assert";
2626
import matter from "gray-matter";
2727
import prettier from "prettier";
28-
import ts from "typescript";
28+
import ts from "typescript-for-docs";
2929
import { CompilerOptionJSON } from "./generateJSON.js";
3030

3131
import {

packages/tsconfig-reference/scripts/tsconfigRules.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ import { CompilerOptionName } from "../data/_types";
22
import remark from "remark";
33
// @ts-ignore - no types available
44
import remarkHTML from "remark-html";
5-
import ts from "typescript";
5+
import ts from "typescript-for-docs";
66

7-
declare module "typescript" {
7+
declare module "typescript-for-docs" {
88
const optionDeclarations: CommandLineOption[];
99
const optionsForWatch: CommandLineOption[];
1010
const typeAcquisitionDeclarations: CommandLineOption[];

packages/tsconfig-reference/scripts/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import ts from "typescript";
1+
import ts from "typescript-for-docs";
22

33
// These are all copy-pasta'd from the TS codebase
44

0 commit comments

Comments
 (0)