typescript 5.0.0-dev.20221208 → 5.0.0-dev.20221209

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -85,6 +85,12 @@ declare namespace Intl {
85
85
  style?: ListFormatStyle | undefined;
86
86
  }
87
87
 
88
+ interface ResolvedListFormatOptions {
89
+ locale: string;
90
+ style: ListFormatStyle;
91
+ type: ListFormatType;
92
+ }
93
+
88
94
  interface ListFormat {
89
95
  /**
90
96
  * Returns a string with a language-specific representation of the list.
@@ -111,6 +117,15 @@ declare namespace Intl {
111
117
  * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/formatToParts).
112
118
  */
113
119
  formatToParts(list: Iterable<string>): { type: "element" | "literal", value: string; }[];
120
+
121
+ /**
122
+ * Returns a new object with properties reflecting the locale and style
123
+ * formatting options computed during the construction of the current
124
+ * `Intl.ListFormat` object.
125
+ *
126
+ * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/ListFormat/resolvedOptions).
127
+ */
128
+ resolvedOptions(): ResolvedListFormatOptions;
114
129
  }
115
130
 
116
131
  const ListFormat: {
package/lib/tsc.js CHANGED
@@ -23,7 +23,7 @@ var __export = (target, all) => {
23
23
 
24
24
  // src/compiler/corePublic.ts
25
25
  var versionMajorMinor = "5.0";
26
- var version = `${versionMajorMinor}.0-dev.20221208`;
26
+ var version = `${versionMajorMinor}.0-dev.20221209`;
27
27
 
28
28
  // src/compiler/core.ts
29
29
  var emptyArray = [];
@@ -14662,7 +14662,7 @@ function getSetExternalModuleIndicator(options) {
14662
14662
  }
14663
14663
  }
14664
14664
  function getEmitScriptTarget(compilerOptions) {
14665
- return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 0 /* ES3 */;
14665
+ return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */;
14666
14666
  }
14667
14667
  function getEmitModuleKind(compilerOptions) {
14668
14668
  return typeof compilerOptions.module === "number" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */;
@@ -98670,7 +98670,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
98670
98670
  }
98671
98671
  function getDiagnosticsHelper(sourceFile, getDiagnostics, cancellationToken) {
98672
98672
  if (sourceFile) {
98673
- return getDiagnostics(sourceFile, cancellationToken);
98673
+ return sortAndDeduplicateDiagnostics(getDiagnostics(sourceFile, cancellationToken));
98674
98674
  }
98675
98675
  return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => {
98676
98676
  if (cancellationToken) {
package/lib/tsserver.js CHANGED
@@ -2645,7 +2645,7 @@ __export(ts_server_exports3, {
2645
2645
 
2646
2646
  // src/compiler/corePublic.ts
2647
2647
  var versionMajorMinor = "5.0";
2648
- var version = `${versionMajorMinor}.0-dev.20221208`;
2648
+ var version = `${versionMajorMinor}.0-dev.20221209`;
2649
2649
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2650
2650
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2651
2651
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -19103,7 +19103,7 @@ function getSetExternalModuleIndicator(options) {
19103
19103
  }
19104
19104
  }
19105
19105
  function getEmitScriptTarget(compilerOptions) {
19106
- return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 0 /* ES3 */;
19106
+ return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */;
19107
19107
  }
19108
19108
  function getEmitModuleKind(compilerOptions) {
19109
19109
  return typeof compilerOptions.module === "number" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */;
@@ -103755,7 +103755,7 @@ function createProgram(rootNamesOrOptions, _options, _host, _oldProgram, _config
103755
103755
  }
103756
103756
  function getDiagnosticsHelper(sourceFile, getDiagnostics2, cancellationToken) {
103757
103757
  if (sourceFile) {
103758
- return getDiagnostics2(sourceFile, cancellationToken);
103758
+ return sortAndDeduplicateDiagnostics(getDiagnostics2(sourceFile, cancellationToken));
103759
103759
  }
103760
103760
  return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => {
103761
103761
  if (cancellationToken) {
@@ -121609,7 +121609,8 @@ var invalidOperationsInPartialSemanticMode = [
121609
121609
  "prepareCallHierarchy",
121610
121610
  "provideCallHierarchyIncomingCalls",
121611
121611
  "provideCallHierarchyOutgoingCalls",
121612
- "provideInlayHints"
121612
+ "provideInlayHints",
121613
+ "getSupportedCodeFixes"
121613
121614
  ];
121614
121615
  var invalidOperationsInSyntacticMode = [
121615
121616
  ...invalidOperationsInPartialSemanticMode,
@@ -122706,7 +122707,8 @@ function createLanguageService(host, documentRegistry = createDocumentRegistry(h
122706
122707
  toggleMultilineComment,
122707
122708
  commentSelection,
122708
122709
  uncommentSelection,
122709
- provideInlayHints: provideInlayHints2
122710
+ provideInlayHints: provideInlayHints2,
122711
+ getSupportedCodeFixes
122710
122712
  };
122711
122713
  switch (languageServiceMode) {
122712
122714
  case 0 /* Semantic */:
@@ -135033,6 +135035,9 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position,
135033
135035
  const typeExpression = isJSDocTemplateTag(tag) ? tag.constraint : tag.typeExpression;
135034
135036
  return typeExpression && typeExpression.kind === 312 /* JSDocTypeExpression */ ? typeExpression : void 0;
135035
135037
  }
135038
+ if (isJSDocAugmentsTag(tag) || isJSDocImplementsTag(tag)) {
135039
+ return tag.class;
135040
+ }
135036
135041
  return void 0;
135037
135042
  }
135038
135043
  function getTypeScriptMemberSymbols() {
@@ -140558,6 +140563,7 @@ function organizeImports(sourceFile, formatContext, host, program, preferences,
140558
140563
  const newImportDecls = flatMap(sortedImportGroups, (importGroup) => getExternalModuleName2(importGroup[0].moduleSpecifier) ? coalesce(importGroup) : importGroup);
140559
140564
  if (newImportDecls.length === 0) {
140560
140565
  changeTracker.deleteNodes(sourceFile, oldImportDecls, {
140566
+ leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,
140561
140567
  trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include
140562
140568
  }, true);
140563
140569
  } else {
@@ -158707,8 +158713,8 @@ var Session3 = class {
158707
158713
  [CommandNames.ApplyCodeActionCommand]: (request) => {
158708
158714
  return this.requiredResponse(this.applyCodeActionCommand(request.arguments));
158709
158715
  },
158710
- [CommandNames.GetSupportedCodeFixes]: () => {
158711
- return this.requiredResponse(this.getSupportedCodeFixes());
158716
+ [CommandNames.GetSupportedCodeFixes]: (request) => {
158717
+ return this.requiredResponse(this.getSupportedCodeFixes(request.arguments));
158712
158718
  },
158713
158719
  [CommandNames.GetApplicableRefactors]: (request) => {
158714
158720
  return this.requiredResponse(this.getApplicableRefactors(request.arguments));
@@ -160194,8 +160200,17 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
160194
160200
  return a.containerKind === b.containerKind && a.containerName === b.containerName && a.fileName === b.fileName && a.isCaseSensitive === b.isCaseSensitive && a.kind === b.kind && a.kindModifiers === b.kindModifiers && a.matchKind === b.matchKind && a.name === b.name && a.textSpan.start === b.textSpan.start && a.textSpan.length === b.textSpan.length;
160195
160201
  }
160196
160202
  }
160197
- getSupportedCodeFixes() {
160198
- return getSupportedCodeFixes();
160203
+ getSupportedCodeFixes(args) {
160204
+ if (!args)
160205
+ return getSupportedCodeFixes();
160206
+ if (args.file) {
160207
+ const { file, project: project2 } = this.getFileAndProject(args);
160208
+ return project2.getLanguageService().getSupportedCodeFixes(file);
160209
+ }
160210
+ const project = this.getProject(args.projectFileName);
160211
+ if (!project)
160212
+ Errors.ThrowNoProject();
160213
+ return project.getLanguageService().getSupportedCodeFixes();
160199
160214
  }
160200
160215
  isLocation(locationOrSpan) {
160201
160216
  return locationOrSpan.line !== void 0;
@@ -691,6 +691,7 @@ declare namespace ts {
691
691
  */
692
692
  interface GetSupportedCodeFixesRequest extends Request {
693
693
  command: CommandTypes.GetSupportedCodeFixes;
694
+ arguments?: Partial<FileRequestArgs>;
694
695
  }
695
696
  /**
696
697
  * A response for GetSupportedCodeFixesRequest request.
@@ -10051,6 +10052,7 @@ declare namespace ts {
10051
10052
  toggleMultilineComment(fileName: string, textRange: TextRange): TextChange[];
10052
10053
  commentSelection(fileName: string, textRange: TextRange): TextChange[];
10053
10054
  uncommentSelection(fileName: string, textRange: TextRange): TextChange[];
10055
+ getSupportedCodeFixes(fileName?: string): readonly string[];
10054
10056
  dispose(): void;
10055
10057
  }
10056
10058
  interface JsxClosingTagInfo {
@@ -11033,7 +11035,7 @@ declare namespace ts {
11033
11035
  function toEditorSettings(options: EditorOptions | EditorSettings): EditorSettings;
11034
11036
  function displayPartsToString(displayParts: SymbolDisplayPart[] | undefined): string;
11035
11037
  function getDefaultCompilerOptions(): CompilerOptions;
11036
- function getSupportedCodeFixes(): string[];
11038
+ function getSupportedCodeFixes(): readonly string[];
11037
11039
  function createLanguageServiceSourceFile(fileName: string, scriptSnapshot: IScriptSnapshot, scriptTargetOrOptions: ScriptTarget | CreateSourceFileOptions, version: string, setNodeParents: boolean, scriptKind?: ScriptKind): SourceFile;
11038
11040
  function updateLanguageServiceSourceFile(sourceFile: SourceFile, scriptSnapshot: IScriptSnapshot, version: string, textChangeRange: TextChangeRange | undefined, aggressiveChecks?: boolean): SourceFile;
11039
11041
  function createLanguageService(host: LanguageServiceHost, documentRegistry?: DocumentRegistry, syntaxOnlyOrLanguageServiceMode?: boolean | LanguageServiceMode): LanguageService;
@@ -42,7 +42,7 @@ var ts = (() => {
42
42
  "src/compiler/corePublic.ts"() {
43
43
  "use strict";
44
44
  versionMajorMinor = "5.0";
45
- version = `${versionMajorMinor}.0-dev.20221208`;
45
+ version = `${versionMajorMinor}.0-dev.20221209`;
46
46
  Comparison = /* @__PURE__ */ ((Comparison3) => {
47
47
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
48
48
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -16478,7 +16478,7 @@ ${lanes.join("\n")}
16478
16478
  }
16479
16479
  }
16480
16480
  function getEmitScriptTarget(compilerOptions) {
16481
- return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 0 /* ES3 */;
16481
+ return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */;
16482
16482
  }
16483
16483
  function getEmitModuleKind(compilerOptions) {
16484
16484
  return typeof compilerOptions.module === "number" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */;
@@ -101419,7 +101419,7 @@ ${lanes.join("\n")}
101419
101419
  }
101420
101420
  function getDiagnosticsHelper(sourceFile, getDiagnostics2, cancellationToken) {
101421
101421
  if (sourceFile) {
101422
- return getDiagnostics2(sourceFile, cancellationToken);
101422
+ return sortAndDeduplicateDiagnostics(getDiagnostics2(sourceFile, cancellationToken));
101423
101423
  }
101424
101424
  return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => {
101425
101425
  if (cancellationToken) {
@@ -117528,7 +117528,8 @@ ${lanes.join("\n")}
117528
117528
  toggleMultilineComment,
117529
117529
  commentSelection,
117530
117530
  uncommentSelection,
117531
- provideInlayHints: provideInlayHints2
117531
+ provideInlayHints: provideInlayHints2,
117532
+ getSupportedCodeFixes
117532
117533
  };
117533
117534
  switch (languageServiceMode) {
117534
117535
  case 0 /* Semantic */:
@@ -118270,7 +118271,8 @@ ${lanes.join("\n")}
118270
118271
  "prepareCallHierarchy",
118271
118272
  "provideCallHierarchyIncomingCalls",
118272
118273
  "provideCallHierarchyOutgoingCalls",
118273
- "provideInlayHints"
118274
+ "provideInlayHints",
118275
+ "getSupportedCodeFixes"
118274
118276
  ];
118275
118277
  invalidOperationsInSyntacticMode = [
118276
118278
  ...invalidOperationsInPartialSemanticMode,
@@ -131119,6 +131121,9 @@ ${lanes.join("\n")}
131119
131121
  const typeExpression = isJSDocTemplateTag(tag) ? tag.constraint : tag.typeExpression;
131120
131122
  return typeExpression && typeExpression.kind === 312 /* JSDocTypeExpression */ ? typeExpression : void 0;
131121
131123
  }
131124
+ if (isJSDocAugmentsTag(tag) || isJSDocImplementsTag(tag)) {
131125
+ return tag.class;
131126
+ }
131122
131127
  return void 0;
131123
131128
  }
131124
131129
  function getTypeScriptMemberSymbols() {
@@ -136794,6 +136799,7 @@ ${lanes.join("\n")}
136794
136799
  const newImportDecls = flatMap(sortedImportGroups, (importGroup) => getExternalModuleName2(importGroup[0].moduleSpecifier) ? coalesce(importGroup) : importGroup);
136795
136800
  if (newImportDecls.length === 0) {
136796
136801
  changeTracker.deleteNodes(sourceFile, oldImportDecls, {
136802
+ leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,
136797
136803
  trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include
136798
136804
  }, true);
136799
136805
  } else {
@@ -155558,8 +155564,8 @@ ${json}${newLine}`;
155558
155564
  [CommandNames.ApplyCodeActionCommand]: (request) => {
155559
155565
  return this.requiredResponse(this.applyCodeActionCommand(request.arguments));
155560
155566
  },
155561
- [CommandNames.GetSupportedCodeFixes]: () => {
155562
- return this.requiredResponse(this.getSupportedCodeFixes());
155567
+ [CommandNames.GetSupportedCodeFixes]: (request) => {
155568
+ return this.requiredResponse(this.getSupportedCodeFixes(request.arguments));
155563
155569
  },
155564
155570
  [CommandNames.GetApplicableRefactors]: (request) => {
155565
155571
  return this.requiredResponse(this.getApplicableRefactors(request.arguments));
@@ -157045,8 +157051,17 @@ Project '${project.projectName}' (${ProjectKind[project.projectKind]}) ${counter
157045
157051
  return a.containerKind === b.containerKind && a.containerName === b.containerName && a.fileName === b.fileName && a.isCaseSensitive === b.isCaseSensitive && a.kind === b.kind && a.kindModifiers === b.kindModifiers && a.matchKind === b.matchKind && a.name === b.name && a.textSpan.start === b.textSpan.start && a.textSpan.length === b.textSpan.length;
157046
157052
  }
157047
157053
  }
157048
- getSupportedCodeFixes() {
157049
- return getSupportedCodeFixes();
157054
+ getSupportedCodeFixes(args) {
157055
+ if (!args)
157056
+ return getSupportedCodeFixes();
157057
+ if (args.file) {
157058
+ const { file, project: project2 } = this.getFileAndProject(args);
157059
+ return project2.getLanguageService().getSupportedCodeFixes(file);
157060
+ }
157061
+ const project = this.getProject(args.projectFileName);
157062
+ if (!project)
157063
+ Errors.ThrowNoProject();
157064
+ return project.getLanguageService().getSupportedCodeFixes();
157050
157065
  }
157051
157066
  isLocation(locationOrSpan) {
157052
157067
  return locationOrSpan.line !== void 0;
@@ -6191,6 +6191,7 @@ declare namespace ts {
6191
6191
  toggleMultilineComment(fileName: string, textRange: TextRange): TextChange[];
6192
6192
  commentSelection(fileName: string, textRange: TextRange): TextChange[];
6193
6193
  uncommentSelection(fileName: string, textRange: TextRange): TextChange[];
6194
+ getSupportedCodeFixes(fileName?: string): readonly string[];
6194
6195
  dispose(): void;
6195
6196
  }
6196
6197
  interface JsxClosingTagInfo {
@@ -7173,7 +7174,7 @@ declare namespace ts {
7173
7174
  function toEditorSettings(options: EditorOptions | EditorSettings): EditorSettings;
7174
7175
  function displayPartsToString(displayParts: SymbolDisplayPart[] | undefined): string;
7175
7176
  function getDefaultCompilerOptions(): CompilerOptions;
7176
- function getSupportedCodeFixes(): string[];
7177
+ function getSupportedCodeFixes(): readonly string[];
7177
7178
  function createLanguageServiceSourceFile(fileName: string, scriptSnapshot: IScriptSnapshot, scriptTargetOrOptions: ScriptTarget | CreateSourceFileOptions, version: string, setNodeParents: boolean, scriptKind?: ScriptKind): SourceFile;
7178
7179
  function updateLanguageServiceSourceFile(sourceFile: SourceFile, scriptSnapshot: IScriptSnapshot, version: string, textChangeRange: TextChangeRange | undefined, aggressiveChecks?: boolean): SourceFile;
7179
7180
  function createLanguageService(host: LanguageServiceHost, documentRegistry?: DocumentRegistry, syntaxOnlyOrLanguageServiceMode?: boolean | LanguageServiceMode): LanguageService;
package/lib/typescript.js CHANGED
@@ -42,7 +42,7 @@ var ts = (() => {
42
42
  "src/compiler/corePublic.ts"() {
43
43
  "use strict";
44
44
  versionMajorMinor = "5.0";
45
- version = `${versionMajorMinor}.0-dev.20221208`;
45
+ version = `${versionMajorMinor}.0-dev.20221209`;
46
46
  Comparison = /* @__PURE__ */ ((Comparison3) => {
47
47
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
48
48
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -16478,7 +16478,7 @@ ${lanes.join("\n")}
16478
16478
  }
16479
16479
  }
16480
16480
  function getEmitScriptTarget(compilerOptions) {
16481
- return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 0 /* ES3 */;
16481
+ return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */;
16482
16482
  }
16483
16483
  function getEmitModuleKind(compilerOptions) {
16484
16484
  return typeof compilerOptions.module === "number" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */;
@@ -101419,7 +101419,7 @@ ${lanes.join("\n")}
101419
101419
  }
101420
101420
  function getDiagnosticsHelper(sourceFile, getDiagnostics2, cancellationToken) {
101421
101421
  if (sourceFile) {
101422
- return getDiagnostics2(sourceFile, cancellationToken);
101422
+ return sortAndDeduplicateDiagnostics(getDiagnostics2(sourceFile, cancellationToken));
101423
101423
  }
101424
101424
  return sortAndDeduplicateDiagnostics(flatMap(program.getSourceFiles(), (sourceFile2) => {
101425
101425
  if (cancellationToken) {
@@ -117542,7 +117542,8 @@ ${lanes.join("\n")}
117542
117542
  toggleMultilineComment,
117543
117543
  commentSelection,
117544
117544
  uncommentSelection,
117545
- provideInlayHints: provideInlayHints2
117545
+ provideInlayHints: provideInlayHints2,
117546
+ getSupportedCodeFixes
117546
117547
  };
117547
117548
  switch (languageServiceMode) {
117548
117549
  case 0 /* Semantic */:
@@ -118284,7 +118285,8 @@ ${lanes.join("\n")}
118284
118285
  "prepareCallHierarchy",
118285
118286
  "provideCallHierarchyIncomingCalls",
118286
118287
  "provideCallHierarchyOutgoingCalls",
118287
- "provideInlayHints"
118288
+ "provideInlayHints",
118289
+ "getSupportedCodeFixes"
118288
118290
  ];
118289
118291
  invalidOperationsInSyntacticMode = [
118290
118292
  ...invalidOperationsInPartialSemanticMode,
@@ -131133,6 +131135,9 @@ ${lanes.join("\n")}
131133
131135
  const typeExpression = isJSDocTemplateTag(tag) ? tag.constraint : tag.typeExpression;
131134
131136
  return typeExpression && typeExpression.kind === 312 /* JSDocTypeExpression */ ? typeExpression : void 0;
131135
131137
  }
131138
+ if (isJSDocAugmentsTag(tag) || isJSDocImplementsTag(tag)) {
131139
+ return tag.class;
131140
+ }
131136
131141
  return void 0;
131137
131142
  }
131138
131143
  function getTypeScriptMemberSymbols() {
@@ -136808,6 +136813,7 @@ ${lanes.join("\n")}
136808
136813
  const newImportDecls = flatMap(sortedImportGroups, (importGroup) => getExternalModuleName2(importGroup[0].moduleSpecifier) ? coalesce(importGroup) : importGroup);
136809
136814
  if (newImportDecls.length === 0) {
136810
136815
  changeTracker.deleteNodes(sourceFile, oldImportDecls, {
136816
+ leadingTriviaOption: ts_textChanges_exports.LeadingTriviaOption.Exclude,
136811
136817
  trailingTriviaOption: ts_textChanges_exports.TrailingTriviaOption.Include
136812
136818
  }, true);
136813
136819
  } else {
@@ -50,7 +50,7 @@ var path = __toESM(require("path"));
50
50
 
51
51
  // src/compiler/corePublic.ts
52
52
  var versionMajorMinor = "5.0";
53
- var version = `${versionMajorMinor}.0-dev.20221208`;
53
+ var version = `${versionMajorMinor}.0-dev.20221209`;
54
54
 
55
55
  // src/compiler/core.ts
56
56
  var emptyArray = [];
@@ -11135,7 +11135,7 @@ function getLanguageVariant(scriptKind) {
11135
11135
  return scriptKind === 4 /* TSX */ || scriptKind === 2 /* JSX */ || scriptKind === 1 /* JS */ || scriptKind === 6 /* JSON */ ? 1 /* JSX */ : 0 /* Standard */;
11136
11136
  }
11137
11137
  function getEmitScriptTarget(compilerOptions) {
11138
- return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 0 /* ES3 */;
11138
+ return compilerOptions.target || compilerOptions.module === 100 /* Node16 */ && 9 /* ES2022 */ || compilerOptions.module === 199 /* NodeNext */ && 99 /* ESNext */ || 1 /* ES5 */;
11139
11139
  }
11140
11140
  function getEmitModuleKind(compilerOptions) {
11141
11141
  return typeof compilerOptions.module === "number" ? compilerOptions.module : getEmitScriptTarget(compilerOptions) >= 2 /* ES2015 */ ? 5 /* ES2015 */ : 1 /* CommonJS */;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.0.0-dev.20221208",
5
+ "version": "5.0.0-dev.20221209",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -86,6 +86,7 @@
86
86
  "build": "npm run build:compiler && npm run build:tests",
87
87
  "build:compiler": "hereby local",
88
88
  "build:tests": "hereby tests",
89
+ "build:tests:notypecheck": "hereby tests --no-typecheck",
89
90
  "start": "node lib/tsc",
90
91
  "clean": "hereby clean",
91
92
  "gulp": "hereby",