From 9676e69763fae574fde5d2a977be26f699116802 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Fri, 21 Jul 2023 13:26:12 -0700 Subject: [PATCH] Update files modified by bootstrap --- .../en/project-config/Compiler Options.md | 34 +++++++++---------- .../scripts/types/AllFilenames.d.ts | 1 + .../scripts/schema/result/schema.json | 2 +- 3 files changed, 19 insertions(+), 18 deletions(-) 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 --allowSyntheticDefaultImports

boolean

-

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.

@@ -349,7 +349,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --alwaysStrict

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -426,7 +426,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --declaration

boolean

-

true if composite, false otherwise.

+

true if composite; false otherwise.

@@ -558,7 +558,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --esModuleInterop

boolean

-

true if module is node16 or nodenext, false otherwise.

+

true if module is node16 or nodenext; false otherwise.

@@ -657,7 +657,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --incremental

boolean

-

true if composite, false otherwise.

+

true if composite; false otherwise.

@@ -811,7 +811,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --module

none, 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.

@@ -826,14 +826,14 @@ tsc app.ts util.ts --target esnext --outfile index.js -

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.

--moduleResolution

classic, 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.

@@ -921,7 +921,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --noImplicitAny

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -954,7 +954,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --noImplicitThis

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -1108,7 +1108,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --preserveConstEnums

boolean

-

true if isolatedModules, false otherwise.

+

true if isolatedModules; false otherwise.

@@ -1295,7 +1295,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --strictBindCallApply

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -1306,7 +1306,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --strictFunctionTypes

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -1317,7 +1317,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --strictNullChecks

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -1328,7 +1328,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --strictPropertyInitialization

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

@@ -1427,7 +1427,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --useDefineForClassFields

boolean

-

true if target is ES2022 or higher, including ESNext, false otherwise.

+

true if target is ES2022 or higher, including ESNext; false otherwise.

@@ -1438,7 +1438,7 @@ tsc app.ts util.ts --target esnext --outfile index.js --useUnknownInCatchVariables

boolean

-

true if strict, false otherwise.

+

true if strict; false otherwise.

diff --git a/packages/documentation/scripts/types/AllFilenames.d.ts b/packages/documentation/scripts/types/AllFilenames.d.ts index 84d16f233e88..c95e8730a27f 100644 --- a/packages/documentation/scripts/types/AllFilenames.d.ts +++ b/packages/documentation/scripts/types/AllFilenames.d.ts @@ -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" diff --git a/packages/tsconfig-reference/scripts/schema/result/schema.json b/packages/tsconfig-reference/scripts/schema/result/schema.json index 8b3782ac83a4..b136f3655f5f 100644 --- a/packages/tsconfig-reference/scripts/schema/result/schema.json +++ b/packages/tsconfig-reference/scripts/schema/result/schema.json @@ -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"