typescript 5.6.0-dev.20240816 → 5.6.0-dev.20240818

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.
@@ -62,6 +62,7 @@
62
62
  "A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433": "Deklarace oboru názvů nemůže být v jiném souboru než třída nebo funkce, se kterou se slučuje.",
63
63
  "A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434": "Deklarace oboru názvů nemůže být umístěná před třídou nebo funkcí, se kterou se slučuje.",
64
64
  "A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "Deklarace oboru názvů je povolená pouze na nejvyšší úrovni oboru názvů nebo v modulu.",
65
+ "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540": "Deklarace namespace by se neměla deklarovat pomocí klíčového slova module. Místo toho prosím použijte klíčové slovo namespace.",
65
66
  "A_non_dry_build_would_build_project_0_6357": "Build bez příznaku -dry by vytvořil projekt {0}.",
66
67
  "A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "Build bez příznaku -dry by odstranil následující soubory: {0}",
67
68
  "A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "Build bez příznaku -dry by aktualizoval časová razítka pro výstup projektu {0}.",
@@ -17,6 +17,8 @@ and limitations under the License.
17
17
  /// <reference no-default-lib="true"/>
18
18
 
19
19
  /// <reference lib="es2015.symbol" />
20
+ /// <reference lib="es2015.iterable" />
21
+ /// <reference lib="es2018.asynciterable" />
20
22
 
21
23
  interface SymbolConstructor {
22
24
  /**
@@ -183,3 +185,9 @@ interface AsyncDisposableStackConstructor {
183
185
  readonly prototype: AsyncDisposableStack;
184
186
  }
185
187
  declare var AsyncDisposableStack: AsyncDisposableStackConstructor;
188
+
189
+ interface IteratorObject<T, TReturn, TNext> extends Disposable {
190
+ }
191
+
192
+ interface AsyncIteratorObject<T, TReturn, TNext> extends AsyncDisposable {
193
+ }
@@ -62,6 +62,7 @@
62
62
  "A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433": "Deklaracja przestrzeni nazw nie może znajdować się w innym pliku niż klasa lub funkcja, z którą ją scalono.",
63
63
  "A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434": "Deklaracja przestrzeni nazw nie może występować przed klasą lub funkcją, z którą ją scalono.",
64
64
  "A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "Deklaracja przestrzeni nazw jest dozwolona tylko na najwyższym poziomie przestrzeni nazw lub modułu.",
65
+ "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540": "Deklaracja „namespace” nie powinna być deklarowana przy użyciu słowa kluczowego „module”. Zamiast tego należy użyć słowa kluczowego „namespace”.",
65
66
  "A_non_dry_build_would_build_project_0_6357": "Kompilacja inna niż -dry spowodowałaby skompilowanie projektu „{0}”",
66
67
  "A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "Kompilacja inna niż -dry spowodowałaby usunięcie następujących plików: {0}",
67
68
  "A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "Kompilacja bez opcji dry spowoduje zaktualizowanie sygnatur czasowych dla danych wyjściowych projektu „{0}”",
package/lib/tsc.js CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.6";
21
- var version = `${versionMajorMinor}.0-dev.20240816`;
21
+ var version = `${versionMajorMinor}.0-dev.20240818`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -7193,6 +7193,8 @@ var Diagnostics = {
7193
7193
  Building_project_0: diag(6358, 3 /* Message */, "Building_project_0_6358", "Building project '{0}'..."),
7194
7194
  Updating_output_timestamps_of_project_0: diag(6359, 3 /* Message */, "Updating_output_timestamps_of_project_0_6359", "Updating output timestamps of project '{0}'..."),
7195
7195
  Project_0_is_up_to_date: diag(6361, 3 /* Message */, "Project_0_is_up_to_date_6361", "Project '{0}' is up to date"),
7196
+ Skipping_build_of_project_0_because_its_dependency_1_has_errors: diag(6362, 3 /* Message */, "Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362", "Skipping build of project '{0}' because its dependency '{1}' has errors"),
7197
+ Project_0_can_t_be_built_because_its_dependency_1_has_errors: diag(6363, 3 /* Message */, "Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363", "Project '{0}' can't be built because its dependency '{1}' has errors"),
7196
7198
  Build_one_or_more_projects_and_their_dependencies_if_out_of_date: diag(6364, 3 /* Message */, "Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364", "Build one or more projects and their dependencies, if out of date"),
7197
7199
  Delete_the_outputs_of_all_projects: diag(6365, 3 /* Message */, "Delete_the_outputs_of_all_projects_6365", "Delete the outputs of all projects."),
7198
7200
  Show_what_would_be_built_or_deleted_if_specified_with_clean: diag(6367, 3 /* Message */, "Show_what_would_be_built_or_deleted_if_specified_with_clean_6367", "Show what would be built (or deleted, if specified with '--clean')"),
@@ -7204,6 +7206,8 @@ var Diagnostics = {
7204
7206
  Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1 /* Error */, "Composite_projects_may_not_disable_incremental_compilation_6379", "Composite projects may not disable incremental compilation."),
7205
7207
  Specify_file_to_store_incremental_compilation_information: diag(6380, 3 /* Message */, "Specify_file_to_store_incremental_compilation_information_6380", "Specify file to store incremental compilation information"),
7206
7208
  Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2: diag(6381, 3 /* Message */, "Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381", "Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),
7209
+ Skipping_build_of_project_0_because_its_dependency_1_was_not_built: diag(6382, 3 /* Message */, "Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382", "Skipping build of project '{0}' because its dependency '{1}' was not built"),
7210
+ Project_0_can_t_be_built_because_its_dependency_1_was_not_built: diag(6383, 3 /* Message */, "Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383", "Project '{0}' can't be built because its dependency '{1}' was not built"),
7207
7211
  Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: diag(6384, 3 /* Message */, "Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384", "Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),
7208
7212
  _0_is_deprecated: diag(
7209
7213
  6385,
@@ -7309,6 +7313,7 @@ var Diagnostics = {
7309
7313
  Ensure_that_casing_is_correct_in_imports: diag(6637, 3 /* Message */, "Ensure_that_casing_is_correct_in_imports_6637", "Ensure that casing is correct in imports."),
7310
7314
  Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging: diag(6638, 3 /* Message */, "Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638", "Emit a v8 CPU profile of the compiler run for debugging."),
7311
7315
  Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file: diag(6639, 3 /* Message */, "Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639", "Allow importing helper functions from tslib once per project, instead of including them per-file."),
7316
+ Skip_building_downstream_projects_on_error_in_upstream_project: diag(6640, 3 /* Message */, "Skip_building_downstream_projects_on_error_in_upstream_project_6640", "Skip building downstream projects on error in upstream project."),
7312
7317
  Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: diag(6641, 3 /* Message */, "Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641", "Specify a list of glob patterns that match files to be included in compilation."),
7313
7318
  Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects: diag(6642, 3 /* Message */, "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642", "Save .tsbuildinfo files to allow for incremental compilation of projects."),
7314
7319
  Include_sourcemap_files_inside_the_emitted_JavaScript: diag(6643, 3 /* Message */, "Include_sourcemap_files_inside_the_emitted_JavaScript_6643", "Include sourcemap files inside the emitted JavaScript."),
@@ -37061,6 +37066,13 @@ var optionsForBuild = [
37061
37066
  description: Diagnostics.Delete_the_outputs_of_all_projects,
37062
37067
  type: "boolean",
37063
37068
  defaultValueDescription: false
37069
+ },
37070
+ {
37071
+ name: "stopBuildOnErrors",
37072
+ category: Diagnostics.Command_line_Options,
37073
+ description: Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project,
37074
+ type: "boolean",
37075
+ defaultValueDescription: false
37064
37076
  }
37065
37077
  ];
37066
37078
  var buildOpts = [
@@ -49621,10 +49633,17 @@ function createTypeChecker(host) {
49621
49633
  if (!location) {
49622
49634
  return range;
49623
49635
  }
49624
- if (!context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(getOriginalNode(location))) {
49625
- return setOriginalNode(range, location);
49636
+ let original = range.original;
49637
+ while (original && original !== location) {
49638
+ original = original.original;
49639
+ }
49640
+ if (!original) {
49641
+ setOriginalNode(range, location);
49626
49642
  }
49627
- return setTextRange(setOriginalNode(range, location), location);
49643
+ if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(getOriginalNode(location))) {
49644
+ return setTextRange(range, location);
49645
+ }
49646
+ return range;
49628
49647
  }
49629
49648
  function expressionOrTypeToTypeNode(context, expr, type, addUndefined) {
49630
49649
  const restoreFlags = saveRestoreFlags(context);
@@ -76916,11 +76935,6 @@ function createTypeChecker(host) {
76916
76935
  /*errorNode*/
76917
76936
  void 0
76918
76937
  ) || unknownType;
76919
- nextType = resolver.resolveIterationType(
76920
- nextType,
76921
- /*errorNode*/
76922
- void 0
76923
- ) || unknownType;
76924
76938
  if (globalGeneratorType === emptyGenericType) {
76925
76939
  const globalIterableIteratorType = resolver.getGlobalIterableIteratorType(
76926
76940
  /*reportErrors*/
@@ -78525,9 +78539,8 @@ function createTypeChecker(host) {
78525
78539
  const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync);
78526
78540
  const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType;
78527
78541
  const signatureNextType = iterationTypes && iterationTypes.nextType || anyType;
78528
- const resolvedSignatureNextType = isAsync ? getAwaitedType(signatureNextType) || anyType : signatureNextType;
78529
78542
  const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType;
78530
- const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, resolvedSignatureNextType, isAsync);
78543
+ const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, signatureNextType, isAsync);
78531
78544
  if (returnType && yieldedType) {
78532
78545
  checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression);
78533
78546
  }
@@ -128195,7 +128208,7 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
128195
128208
  }
128196
128209
  continue;
128197
128210
  }
128198
- if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 14 /* UpToDateWithInputFileText */) {
128211
+ if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 15 /* UpToDateWithInputFileText */) {
128199
128212
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
128200
128213
  return {
128201
128214
  kind: 1 /* UpdateOutputFileStamps */,
@@ -128207,7 +128220,21 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
128207
128220
  };
128208
128221
  }
128209
128222
  }
128210
- if (status.type === 15 /* ContainerOnly */) {
128223
+ if (status.type === 12 /* UpstreamBlocked */) {
128224
+ verboseReportProjectStatus(state, project, status);
128225
+ reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
128226
+ projectPendingBuild.delete(projectPath);
128227
+ if (options.verbose) {
128228
+ reportStatus(
128229
+ state,
128230
+ status.upstreamProjectBlocked ? Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,
128231
+ project,
128232
+ status.upstreamProjectName
128233
+ );
128234
+ }
128235
+ continue;
128236
+ }
128237
+ if (status.type === 16 /* ContainerOnly */) {
128211
128238
  verboseReportProjectStatus(state, project, status);
128212
128239
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
128213
128240
  projectPendingBuild.delete(projectPath);
@@ -128349,25 +128376,32 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
128349
128376
  var _a, _b, _c, _d, _e;
128350
128377
  if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) {
128351
128378
  return {
128352
- type: 15 /* ContainerOnly */
128379
+ type: 16 /* ContainerOnly */
128353
128380
  };
128354
128381
  }
128355
128382
  let referenceStatuses;
128356
128383
  const force = !!state.options.force;
128357
128384
  if (project.projectReferences) {
128358
- state.projectStatus.set(resolvedPath, { type: 12 /* ComputingUpstream */ });
128385
+ state.projectStatus.set(resolvedPath, { type: 13 /* ComputingUpstream */ });
128359
128386
  for (const ref of project.projectReferences) {
128360
128387
  const resolvedRef = resolveProjectReferencePath(ref);
128361
128388
  const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef);
128362
128389
  const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath);
128363
128390
  const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath);
128364
- if (refStatus.type === 12 /* ComputingUpstream */ || refStatus.type === 15 /* ContainerOnly */) {
128391
+ if (refStatus.type === 13 /* ComputingUpstream */ || refStatus.type === 16 /* ContainerOnly */) {
128365
128392
  continue;
128366
128393
  }
128394
+ if (state.options.stopBuildOnErrors && (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 12 /* UpstreamBlocked */)) {
128395
+ return {
128396
+ type: 12 /* UpstreamBlocked */,
128397
+ upstreamProjectName: ref.path,
128398
+ upstreamProjectBlocked: refStatus.type === 12 /* UpstreamBlocked */
128399
+ };
128400
+ }
128367
128401
  if (!force) (referenceStatuses || (referenceStatuses = [])).push({ ref, refStatus, resolvedRefPath, resolvedConfig });
128368
128402
  }
128369
128403
  }
128370
- if (force) return { type: 16 /* ForceBuild */ };
128404
+ if (force) return { type: 17 /* ForceBuild */ };
128371
128405
  const { host } = state;
128372
128406
  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);
128373
128407
  const isIncremental = isIncrementalCompilation(project.options);
@@ -128396,7 +128430,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
128396
128430
  const incrementalBuildInfo = isIncremental && isIncrementalBuildInfo(buildInfo) ? buildInfo : void 0;
128397
128431
  if ((incrementalBuildInfo || !isIncremental) && buildInfo.version !== version) {
128398
128432
  return {
128399
- type: 13 /* TsVersionOutputOfDate */,
128433
+ type: 14 /* TsVersionOutputOfDate */,
128400
128434
  version: buildInfo.version
128401
128435
  };
128402
128436
  }
@@ -128562,7 +128596,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
128562
128596
  );
128563
128597
  if (dependentPackageFileStatus) return dependentPackageFileStatus;
128564
128598
  return {
128565
- type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 14 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,
128599
+ type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 15 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,
128566
128600
  newestInputFileTime,
128567
128601
  newestInputFileName,
128568
128602
  oldestOutputFileName
@@ -128645,6 +128679,7 @@ function updateOutputTimestamps(state, proj, resolvedPath) {
128645
128679
  });
128646
128680
  }
128647
128681
  function queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) {
128682
+ if (state.options.stopBuildOnErrors && buildResult & 4 /* AnyErrors */) return;
128648
128683
  if (!config.options.composite) return;
128649
128684
  for (let index = projectIndex + 1; index < buildOrder.length; index++) {
128650
128685
  const nextProject = buildOrder[index];
@@ -128663,7 +128698,7 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con
128663
128698
  status.type = 2 /* UpToDateWithUpstreamTypes */;
128664
128699
  break;
128665
128700
  }
128666
- case 14 /* UpToDateWithInputFileText */:
128701
+ case 15 /* UpToDateWithInputFileText */:
128667
128702
  case 2 /* UpToDateWithUpstreamTypes */:
128668
128703
  if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) {
128669
128704
  state.projectStatus.set(nextProjectPath, {
@@ -128673,6 +128708,11 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con
128673
128708
  });
128674
128709
  }
128675
128710
  break;
128711
+ case 12 /* UpstreamBlocked */:
128712
+ if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) {
128713
+ clearProjectStatus(state, nextProjectPath);
128714
+ }
128715
+ break;
128676
128716
  }
128677
128717
  }
128678
128718
  addProjToQueue(state, nextProjectPath, 0 /* Update */);
@@ -129133,7 +129173,7 @@ function reportUpToDateStatus(state, configFileName, status) {
129133
129173
  Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,
129134
129174
  relName(state, configFileName)
129135
129175
  );
129136
- case 14 /* UpToDateWithInputFileText */:
129176
+ case 15 /* UpToDateWithInputFileText */:
129137
129177
  return reportStatus(
129138
129178
  state,
129139
129179
  Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,
@@ -129146,6 +129186,13 @@ function reportUpToDateStatus(state, configFileName, status) {
129146
129186
  relName(state, configFileName),
129147
129187
  relName(state, status.upstreamProjectName)
129148
129188
  );
129189
+ case 12 /* UpstreamBlocked */:
129190
+ return reportStatus(
129191
+ state,
129192
+ status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,
129193
+ relName(state, configFileName),
129194
+ relName(state, status.upstreamProjectName)
129195
+ );
129149
129196
  case 0 /* Unbuildable */:
129150
129197
  return reportStatus(
129151
129198
  state,
@@ -129153,7 +129200,7 @@ function reportUpToDateStatus(state, configFileName, status) {
129153
129200
  relName(state, configFileName),
129154
129201
  status.reason
129155
129202
  );
129156
- case 13 /* TsVersionOutputOfDate */:
129203
+ case 14 /* TsVersionOutputOfDate */:
129157
129204
  return reportStatus(
129158
129205
  state,
129159
129206
  Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,
@@ -129161,14 +129208,14 @@ function reportUpToDateStatus(state, configFileName, status) {
129161
129208
  status.version,
129162
129209
  version
129163
129210
  );
129164
- case 16 /* ForceBuild */:
129211
+ case 17 /* ForceBuild */:
129165
129212
  return reportStatus(
129166
129213
  state,
129167
129214
  Diagnostics.Project_0_is_being_forcibly_rebuilt,
129168
129215
  relName(state, configFileName)
129169
129216
  );
129170
- case 15 /* ContainerOnly */:
129171
- case 12 /* ComputingUpstream */:
129217
+ case 16 /* ContainerOnly */:
129218
+ case 13 /* ComputingUpstream */:
129172
129219
  break;
129173
129220
  default:
129174
129221
  assertType(status);
@@ -9802,6 +9802,7 @@ declare namespace ts {
9802
9802
  dry?: boolean;
9803
9803
  force?: boolean;
9804
9804
  verbose?: boolean;
9805
+ stopBuildOnErrors?: boolean;
9805
9806
  incremental?: boolean;
9806
9807
  assumeChangesOnlyAffectDirectDependencies?: boolean;
9807
9808
  declaration?: boolean;
package/lib/typescript.js CHANGED
@@ -2263,7 +2263,7 @@ module.exports = __toCommonJS(typescript_exports);
2263
2263
 
2264
2264
  // src/compiler/corePublic.ts
2265
2265
  var versionMajorMinor = "5.6";
2266
- var version = `${versionMajorMinor}.0-dev.20240816`;
2266
+ var version = `${versionMajorMinor}.0-dev.20240818`;
2267
2267
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2268
2268
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2269
2269
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -10591,6 +10591,8 @@ var Diagnostics = {
10591
10591
  Building_project_0: diag(6358, 3 /* Message */, "Building_project_0_6358", "Building project '{0}'..."),
10592
10592
  Updating_output_timestamps_of_project_0: diag(6359, 3 /* Message */, "Updating_output_timestamps_of_project_0_6359", "Updating output timestamps of project '{0}'..."),
10593
10593
  Project_0_is_up_to_date: diag(6361, 3 /* Message */, "Project_0_is_up_to_date_6361", "Project '{0}' is up to date"),
10594
+ Skipping_build_of_project_0_because_its_dependency_1_has_errors: diag(6362, 3 /* Message */, "Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362", "Skipping build of project '{0}' because its dependency '{1}' has errors"),
10595
+ Project_0_can_t_be_built_because_its_dependency_1_has_errors: diag(6363, 3 /* Message */, "Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363", "Project '{0}' can't be built because its dependency '{1}' has errors"),
10594
10596
  Build_one_or_more_projects_and_their_dependencies_if_out_of_date: diag(6364, 3 /* Message */, "Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364", "Build one or more projects and their dependencies, if out of date"),
10595
10597
  Delete_the_outputs_of_all_projects: diag(6365, 3 /* Message */, "Delete_the_outputs_of_all_projects_6365", "Delete the outputs of all projects."),
10596
10598
  Show_what_would_be_built_or_deleted_if_specified_with_clean: diag(6367, 3 /* Message */, "Show_what_would_be_built_or_deleted_if_specified_with_clean_6367", "Show what would be built (or deleted, if specified with '--clean')"),
@@ -10602,6 +10604,8 @@ var Diagnostics = {
10602
10604
  Composite_projects_may_not_disable_incremental_compilation: diag(6379, 1 /* Error */, "Composite_projects_may_not_disable_incremental_compilation_6379", "Composite projects may not disable incremental compilation."),
10603
10605
  Specify_file_to_store_incremental_compilation_information: diag(6380, 3 /* Message */, "Specify_file_to_store_incremental_compilation_information_6380", "Specify file to store incremental compilation information"),
10604
10606
  Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2: diag(6381, 3 /* Message */, "Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381", "Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),
10607
+ Skipping_build_of_project_0_because_its_dependency_1_was_not_built: diag(6382, 3 /* Message */, "Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382", "Skipping build of project '{0}' because its dependency '{1}' was not built"),
10608
+ Project_0_can_t_be_built_because_its_dependency_1_was_not_built: diag(6383, 3 /* Message */, "Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383", "Project '{0}' can't be built because its dependency '{1}' was not built"),
10605
10609
  Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it: diag(6384, 3 /* Message */, "Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384", "Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),
10606
10610
  _0_is_deprecated: diag(
10607
10611
  6385,
@@ -10707,6 +10711,7 @@ var Diagnostics = {
10707
10711
  Ensure_that_casing_is_correct_in_imports: diag(6637, 3 /* Message */, "Ensure_that_casing_is_correct_in_imports_6637", "Ensure that casing is correct in imports."),
10708
10712
  Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging: diag(6638, 3 /* Message */, "Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638", "Emit a v8 CPU profile of the compiler run for debugging."),
10709
10713
  Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file: diag(6639, 3 /* Message */, "Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639", "Allow importing helper functions from tslib once per project, instead of including them per-file."),
10714
+ Skip_building_downstream_projects_on_error_in_upstream_project: diag(6640, 3 /* Message */, "Skip_building_downstream_projects_on_error_in_upstream_project_6640", "Skip building downstream projects on error in upstream project."),
10710
10715
  Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation: diag(6641, 3 /* Message */, "Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641", "Specify a list of glob patterns that match files to be included in compilation."),
10711
10716
  Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects: diag(6642, 3 /* Message */, "Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642", "Save .tsbuildinfo files to allow for incremental compilation of projects."),
10712
10717
  Include_sourcemap_files_inside_the_emitted_JavaScript: diag(6643, 3 /* Message */, "Include_sourcemap_files_inside_the_emitted_JavaScript_6643", "Include sourcemap files inside the emitted JavaScript."),
@@ -41332,6 +41337,13 @@ var optionsForBuild = [
41332
41337
  description: Diagnostics.Delete_the_outputs_of_all_projects,
41333
41338
  type: "boolean",
41334
41339
  defaultValueDescription: false
41340
+ },
41341
+ {
41342
+ name: "stopBuildOnErrors",
41343
+ category: Diagnostics.Command_line_Options,
41344
+ description: Diagnostics.Skip_building_downstream_projects_on_error_in_upstream_project,
41345
+ type: "boolean",
41346
+ defaultValueDescription: false
41335
41347
  }
41336
41348
  ];
41337
41349
  var buildOpts = [
@@ -54241,10 +54253,17 @@ function createTypeChecker(host) {
54241
54253
  if (!location) {
54242
54254
  return range;
54243
54255
  }
54244
- if (!context.enclosingFile || context.enclosingFile !== getSourceFileOfNode(getOriginalNode(location))) {
54245
- return setOriginalNode(range, location);
54256
+ let original = range.original;
54257
+ while (original && original !== location) {
54258
+ original = original.original;
54246
54259
  }
54247
- return setTextRange(setOriginalNode(range, location), location);
54260
+ if (!original) {
54261
+ setOriginalNode(range, location);
54262
+ }
54263
+ if (context.enclosingFile && context.enclosingFile === getSourceFileOfNode(getOriginalNode(location))) {
54264
+ return setTextRange(range, location);
54265
+ }
54266
+ return range;
54248
54267
  }
54249
54268
  function expressionOrTypeToTypeNode(context, expr, type, addUndefined) {
54250
54269
  const restoreFlags = saveRestoreFlags(context);
@@ -81536,11 +81555,6 @@ function createTypeChecker(host) {
81536
81555
  /*errorNode*/
81537
81556
  void 0
81538
81557
  ) || unknownType;
81539
- nextType = resolver.resolveIterationType(
81540
- nextType,
81541
- /*errorNode*/
81542
- void 0
81543
- ) || unknownType;
81544
81558
  if (globalGeneratorType === emptyGenericType) {
81545
81559
  const globalIterableIteratorType = resolver.getGlobalIterableIteratorType(
81546
81560
  /*reportErrors*/
@@ -83145,9 +83159,8 @@ function createTypeChecker(host) {
83145
83159
  const iterationTypes = returnType && getIterationTypesOfGeneratorFunctionReturnType(returnType, isAsync);
83146
83160
  const signatureYieldType = iterationTypes && iterationTypes.yieldType || anyType;
83147
83161
  const signatureNextType = iterationTypes && iterationTypes.nextType || anyType;
83148
- const resolvedSignatureNextType = isAsync ? getAwaitedType(signatureNextType) || anyType : signatureNextType;
83149
83162
  const yieldExpressionType = node.expression ? checkExpression(node.expression) : undefinedWideningType;
83150
- const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, resolvedSignatureNextType, isAsync);
83163
+ const yieldedType = getYieldedTypeOfYieldExpression(node, yieldExpressionType, signatureNextType, isAsync);
83151
83164
  if (returnType && yieldedType) {
83152
83165
  checkTypeAssignableToAndOptionallyElaborate(yieldedType, signatureYieldType, node.expression || node, node.expression);
83153
83166
  }
@@ -132442,11 +132455,12 @@ var UpToDateStatusType = /* @__PURE__ */ ((UpToDateStatusType2) => {
132442
132455
  UpToDateStatusType2[UpToDateStatusType2["OutOfDateOptions"] = 9] = "OutOfDateOptions";
132443
132456
  UpToDateStatusType2[UpToDateStatusType2["OutOfDateRoots"] = 10] = "OutOfDateRoots";
132444
132457
  UpToDateStatusType2[UpToDateStatusType2["UpstreamOutOfDate"] = 11] = "UpstreamOutOfDate";
132445
- UpToDateStatusType2[UpToDateStatusType2["ComputingUpstream"] = 12] = "ComputingUpstream";
132446
- UpToDateStatusType2[UpToDateStatusType2["TsVersionOutputOfDate"] = 13] = "TsVersionOutputOfDate";
132447
- UpToDateStatusType2[UpToDateStatusType2["UpToDateWithInputFileText"] = 14] = "UpToDateWithInputFileText";
132448
- UpToDateStatusType2[UpToDateStatusType2["ContainerOnly"] = 15] = "ContainerOnly";
132449
- UpToDateStatusType2[UpToDateStatusType2["ForceBuild"] = 16] = "ForceBuild";
132458
+ UpToDateStatusType2[UpToDateStatusType2["UpstreamBlocked"] = 12] = "UpstreamBlocked";
132459
+ UpToDateStatusType2[UpToDateStatusType2["ComputingUpstream"] = 13] = "ComputingUpstream";
132460
+ UpToDateStatusType2[UpToDateStatusType2["TsVersionOutputOfDate"] = 14] = "TsVersionOutputOfDate";
132461
+ UpToDateStatusType2[UpToDateStatusType2["UpToDateWithInputFileText"] = 15] = "UpToDateWithInputFileText";
132462
+ UpToDateStatusType2[UpToDateStatusType2["ContainerOnly"] = 16] = "ContainerOnly";
132463
+ UpToDateStatusType2[UpToDateStatusType2["ForceBuild"] = 17] = "ForceBuild";
132450
132464
  return UpToDateStatusType2;
132451
132465
  })(UpToDateStatusType || {});
132452
132466
  function resolveConfigFileProjectName(project) {
@@ -133165,7 +133179,7 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
133165
133179
  }
133166
133180
  continue;
133167
133181
  }
133168
- if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 14 /* UpToDateWithInputFileText */) {
133182
+ if (status.type === 2 /* UpToDateWithUpstreamTypes */ || status.type === 15 /* UpToDateWithInputFileText */) {
133169
133183
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
133170
133184
  return {
133171
133185
  kind: 1 /* UpdateOutputFileStamps */,
@@ -133177,7 +133191,21 @@ function getNextInvalidatedProjectCreateInfo(state, buildOrder, reportQueue) {
133177
133191
  };
133178
133192
  }
133179
133193
  }
133180
- if (status.type === 15 /* ContainerOnly */) {
133194
+ if (status.type === 12 /* UpstreamBlocked */) {
133195
+ verboseReportProjectStatus(state, project, status);
133196
+ reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
133197
+ projectPendingBuild.delete(projectPath);
133198
+ if (options.verbose) {
133199
+ reportStatus(
133200
+ state,
133201
+ status.upstreamProjectBlocked ? Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_was_not_built : Diagnostics.Skipping_build_of_project_0_because_its_dependency_1_has_errors,
133202
+ project,
133203
+ status.upstreamProjectName
133204
+ );
133205
+ }
133206
+ continue;
133207
+ }
133208
+ if (status.type === 16 /* ContainerOnly */) {
133181
133209
  verboseReportProjectStatus(state, project, status);
133182
133210
  reportAndStoreErrors(state, projectPath, getConfigFileParsingDiagnostics(config));
133183
133211
  projectPendingBuild.delete(projectPath);
@@ -133319,25 +133347,32 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
133319
133347
  var _a, _b, _c, _d, _e;
133320
133348
  if (!project.fileNames.length && !canJsonReportNoInputFiles(project.raw)) {
133321
133349
  return {
133322
- type: 15 /* ContainerOnly */
133350
+ type: 16 /* ContainerOnly */
133323
133351
  };
133324
133352
  }
133325
133353
  let referenceStatuses;
133326
133354
  const force = !!state.options.force;
133327
133355
  if (project.projectReferences) {
133328
- state.projectStatus.set(resolvedPath, { type: 12 /* ComputingUpstream */ });
133356
+ state.projectStatus.set(resolvedPath, { type: 13 /* ComputingUpstream */ });
133329
133357
  for (const ref of project.projectReferences) {
133330
133358
  const resolvedRef = resolveProjectReferencePath(ref);
133331
133359
  const resolvedRefPath = toResolvedConfigFilePath(state, resolvedRef);
133332
133360
  const resolvedConfig = parseConfigFile(state, resolvedRef, resolvedRefPath);
133333
133361
  const refStatus = getUpToDateStatus(state, resolvedConfig, resolvedRefPath);
133334
- if (refStatus.type === 12 /* ComputingUpstream */ || refStatus.type === 15 /* ContainerOnly */) {
133362
+ if (refStatus.type === 13 /* ComputingUpstream */ || refStatus.type === 16 /* ContainerOnly */) {
133335
133363
  continue;
133336
133364
  }
133365
+ if (state.options.stopBuildOnErrors && (refStatus.type === 0 /* Unbuildable */ || refStatus.type === 12 /* UpstreamBlocked */)) {
133366
+ return {
133367
+ type: 12 /* UpstreamBlocked */,
133368
+ upstreamProjectName: ref.path,
133369
+ upstreamProjectBlocked: refStatus.type === 12 /* UpstreamBlocked */
133370
+ };
133371
+ }
133337
133372
  if (!force) (referenceStatuses || (referenceStatuses = [])).push({ ref, refStatus, resolvedRefPath, resolvedConfig });
133338
133373
  }
133339
133374
  }
133340
- if (force) return { type: 16 /* ForceBuild */ };
133375
+ if (force) return { type: 17 /* ForceBuild */ };
133341
133376
  const { host } = state;
133342
133377
  const buildInfoPath = getTsBuildInfoEmitOutputFilePath(project.options);
133343
133378
  const isIncremental = isIncrementalCompilation(project.options);
@@ -133366,7 +133401,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
133366
133401
  const incrementalBuildInfo = isIncremental && isIncrementalBuildInfo(buildInfo) ? buildInfo : void 0;
133367
133402
  if ((incrementalBuildInfo || !isIncremental) && buildInfo.version !== version) {
133368
133403
  return {
133369
- type: 13 /* TsVersionOutputOfDate */,
133404
+ type: 14 /* TsVersionOutputOfDate */,
133370
133405
  version: buildInfo.version
133371
133406
  };
133372
133407
  }
@@ -133532,7 +133567,7 @@ function getUpToDateStatusWorker(state, project, resolvedPath) {
133532
133567
  );
133533
133568
  if (dependentPackageFileStatus) return dependentPackageFileStatus;
133534
133569
  return {
133535
- type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 14 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,
133570
+ type: pseudoUpToDate ? 2 /* UpToDateWithUpstreamTypes */ : pseudoInputUpToDate ? 15 /* UpToDateWithInputFileText */ : 1 /* UpToDate */,
133536
133571
  newestInputFileTime,
133537
133572
  newestInputFileName,
133538
133573
  oldestOutputFileName
@@ -133615,6 +133650,7 @@ function updateOutputTimestamps(state, proj, resolvedPath) {
133615
133650
  });
133616
133651
  }
133617
133652
  function queueReferencingProjects(state, project, projectPath, projectIndex, config, buildOrder, buildResult) {
133653
+ if (state.options.stopBuildOnErrors && buildResult & 4 /* AnyErrors */) return;
133618
133654
  if (!config.options.composite) return;
133619
133655
  for (let index = projectIndex + 1; index < buildOrder.length; index++) {
133620
133656
  const nextProject = buildOrder[index];
@@ -133633,7 +133669,7 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con
133633
133669
  status.type = 2 /* UpToDateWithUpstreamTypes */;
133634
133670
  break;
133635
133671
  }
133636
- case 14 /* UpToDateWithInputFileText */:
133672
+ case 15 /* UpToDateWithInputFileText */:
133637
133673
  case 2 /* UpToDateWithUpstreamTypes */:
133638
133674
  if (!(buildResult & 2 /* DeclarationOutputUnchanged */)) {
133639
133675
  state.projectStatus.set(nextProjectPath, {
@@ -133643,6 +133679,11 @@ function queueReferencingProjects(state, project, projectPath, projectIndex, con
133643
133679
  });
133644
133680
  }
133645
133681
  break;
133682
+ case 12 /* UpstreamBlocked */:
133683
+ if (toResolvedConfigFilePath(state, resolveProjectName(state, status.upstreamProjectName)) === projectPath) {
133684
+ clearProjectStatus(state, nextProjectPath);
133685
+ }
133686
+ break;
133646
133687
  }
133647
133688
  }
133648
133689
  addProjToQueue(state, nextProjectPath, 0 /* Update */);
@@ -134103,7 +134144,7 @@ function reportUpToDateStatus(state, configFileName, status) {
134103
134144
  Diagnostics.Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies,
134104
134145
  relName(state, configFileName)
134105
134146
  );
134106
- case 14 /* UpToDateWithInputFileText */:
134147
+ case 15 /* UpToDateWithInputFileText */:
134107
134148
  return reportStatus(
134108
134149
  state,
134109
134150
  Diagnostics.Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files,
@@ -134116,6 +134157,13 @@ function reportUpToDateStatus(state, configFileName, status) {
134116
134157
  relName(state, configFileName),
134117
134158
  relName(state, status.upstreamProjectName)
134118
134159
  );
134160
+ case 12 /* UpstreamBlocked */:
134161
+ return reportStatus(
134162
+ state,
134163
+ status.upstreamProjectBlocked ? Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_was_not_built : Diagnostics.Project_0_can_t_be_built_because_its_dependency_1_has_errors,
134164
+ relName(state, configFileName),
134165
+ relName(state, status.upstreamProjectName)
134166
+ );
134119
134167
  case 0 /* Unbuildable */:
134120
134168
  return reportStatus(
134121
134169
  state,
@@ -134123,7 +134171,7 @@ function reportUpToDateStatus(state, configFileName, status) {
134123
134171
  relName(state, configFileName),
134124
134172
  status.reason
134125
134173
  );
134126
- case 13 /* TsVersionOutputOfDate */:
134174
+ case 14 /* TsVersionOutputOfDate */:
134127
134175
  return reportStatus(
134128
134176
  state,
134129
134177
  Diagnostics.Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2,
@@ -134131,14 +134179,14 @@ function reportUpToDateStatus(state, configFileName, status) {
134131
134179
  status.version,
134132
134180
  version
134133
134181
  );
134134
- case 16 /* ForceBuild */:
134182
+ case 17 /* ForceBuild */:
134135
134183
  return reportStatus(
134136
134184
  state,
134137
134185
  Diagnostics.Project_0_is_being_forcibly_rebuilt,
134138
134186
  relName(state, configFileName)
134139
134187
  );
134140
- case 15 /* ContainerOnly */:
134141
- case 12 /* ComputingUpstream */:
134188
+ case 16 /* ContainerOnly */:
134189
+ case 13 /* ComputingUpstream */:
134142
134190
  break;
134143
134191
  default:
134144
134192
  assertType(status);
@@ -161794,6 +161842,9 @@ function addNewNodeForMemberSymbol(symbol, enclosingDeclaration, sourceFile, con
161794
161842
  break;
161795
161843
  }
161796
161844
  for (const signature of signatures) {
161845
+ if (signature.declaration && signature.declaration.flags & 33554432 /* Ambient */) {
161846
+ continue;
161847
+ }
161797
161848
  outputMethod(quotePreference, signature, modifiers, createName(declarationName));
161798
161849
  }
161799
161850
  if (!ambient) {
@@ -170856,12 +170907,13 @@ function getDefinitionAtPosition(program, sourceFile, position, searchOtherFiles
170856
170907
  const calledDeclaration = tryGetSignatureDeclaration(typeChecker, node);
170857
170908
  if (calledDeclaration && !(isJsxOpeningLikeElement(node.parent) && isJsxConstructorLike(calledDeclaration))) {
170858
170909
  const sigInfo = createDefinitionFromSignatureDeclaration(typeChecker, calledDeclaration, failedAliasResolution);
170910
+ let declarationFilter = (d) => d !== calledDeclaration;
170859
170911
  if (typeChecker.getRootSymbols(symbol).some((s) => symbolMatchesSignature(s, calledDeclaration))) {
170860
- return [sigInfo];
170861
- } else {
170862
- const defs = getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, calledDeclaration) || emptyArray;
170863
- return node.kind === 108 /* SuperKeyword */ ? [sigInfo, ...defs] : [...defs, sigInfo];
170912
+ if (!isConstructorDeclaration(calledDeclaration)) return [sigInfo];
170913
+ declarationFilter = (d) => d !== calledDeclaration && (isClassDeclaration(d) || isClassExpression(d));
170864
170914
  }
170915
+ const defs = getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, declarationFilter) || emptyArray;
170916
+ return node.kind === 108 /* SuperKeyword */ ? [sigInfo, ...defs] : [...defs, sigInfo];
170865
170917
  }
170866
170918
  if (node.parent.kind === 304 /* ShorthandPropertyAssignment */) {
170867
170919
  const shorthandSymbol = typeChecker.getShorthandAssignmentValueSymbol(symbol.valueDeclaration);
@@ -171118,9 +171170,9 @@ function isExpandoDeclaration(node) {
171118
171170
  });
171119
171171
  return !!containingAssignment && getAssignmentDeclarationKind(containingAssignment) === 5 /* Property */;
171120
171172
  }
171121
- function getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, excludeDeclaration) {
171122
- const filteredDeclarations = filter(symbol.declarations, (d) => d !== excludeDeclaration);
171123
- const signatureDefinition = getConstructSignatureDefinition() || getCallSignatureDefinition();
171173
+ function getDefinitionFromSymbol(typeChecker, symbol, node, failedAliasResolution, declarationFilter) {
171174
+ const filteredDeclarations = declarationFilter !== void 0 ? filter(symbol.declarations, declarationFilter) : symbol.declarations;
171175
+ const signatureDefinition = !declarationFilter && (getConstructSignatureDefinition() || getCallSignatureDefinition());
171124
171176
  if (signatureDefinition) {
171125
171177
  return signatureDefinition;
171126
171178
  }
@@ -62,6 +62,7 @@
62
62
  "A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433": "命名空间声明必须位于与之合并的类或函数所在的相同文件内。",
63
63
  "A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434": "命名空间声明不能位于与之合并的类或函数前",
64
64
  "A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "命名空间声明只允许位于命名空间或模块的顶层。",
65
+ "A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540": "不应使用 \"module\" 关键字声明 \"namespace\" 声明。请改用 \"namespace\" 关键字。",
65
66
  "A_non_dry_build_would_build_project_0_6357": "非 -dry 生成将生成项目“{0}”",
66
67
  "A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "非 -dry 生成将删除以下文件: {0}",
67
68
  "A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "非 dry 生成将更新项目 '{0}' 的输出的时间戳",
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.6.0-dev.20240816",
5
+ "version": "5.6.0-dev.20240818",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -117,5 +117,5 @@
117
117
  "node": "20.1.0",
118
118
  "npm": "8.19.4"
119
119
  },
120
- "gitHead": "52395892e0c4ee8a22b4fa6190bad46d81e66651"
120
+ "gitHead": "2a8865e6ba95c9bdcdb9e2c9c08f10c5f5c75391"
121
121
  }