@typescript-deploys/pr-build 5.9.0-pr-61683-9 → 5.9.0-pr-61861-2

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.
package/lib/typescript.js CHANGED
@@ -2285,7 +2285,7 @@ module.exports = __toCommonJS(typescript_exports);
2285
2285
 
2286
2286
  // src/compiler/corePublic.ts
2287
2287
  var versionMajorMinor = "5.9";
2288
- var version = `${versionMajorMinor}.0-insiders.20250609`;
2288
+ var version = `${versionMajorMinor}.0-insiders.20250613`;
2289
2289
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2290
2290
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2291
2291
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -71945,7 +71945,7 @@ function createTypeChecker(host) {
71945
71945
  if (isReadonlySymbol(sourceProp) !== isReadonlySymbol(targetProp)) {
71946
71946
  return 0 /* False */;
71947
71947
  }
71948
- return compareTypes(getNonMissingTypeOfSymbol(sourceProp), getNonMissingTypeOfSymbol(targetProp));
71948
+ return compareTypes(getTypeOfSymbol(sourceProp), getTypeOfSymbol(targetProp));
71949
71949
  }
71950
71950
  function isMatchingSignature(source, target, partialMatch) {
71951
71951
  const sourceParameterCount = getParameterCount(source);
@@ -132709,7 +132709,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
132709
132709
  (resolution.files ?? (resolution.files = /* @__PURE__ */ new Set())).add(filePath);
132710
132710
  if (resolution.files.size !== 1) return;
132711
132711
  if (!deferWatchingNonRelativeResolution || isExternalModuleNameRelative(name)) {
132712
- watchFailedLookupLocationOfResolution(resolution);
132712
+ watchFailedLookupLocationOfResolution(resolution, getResolutionWithResolvedFileName);
132713
132713
  } else {
132714
132714
  nonRelativeExternalModuleResolutions.add(resolution);
132715
132715
  }
@@ -132745,32 +132745,38 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
132745
132745
  }
132746
132746
  return setAtRoot;
132747
132747
  }
132748
- function watchFailedLookupLocationOfResolution(resolution) {
132749
- var _a;
132748
+ function watchFailedLookupLocationOfModule(resolution) {
132749
+ watchFailedLookupLocationOfResolution(resolution, getResolvedModuleFromResolution);
132750
+ }
132751
+ function watchFailedLookupLocationOfResolution(resolution, getResolutionWithResolvedFileName) {
132752
+ var _a, _b;
132750
132753
  Debug.assert(!!((_a = resolution.files) == null ? void 0 : _a.size));
132751
132754
  const { failedLookupLocations, affectingLocations, alternateResult } = resolution;
132752
132755
  if (!(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !(affectingLocations == null ? void 0 : affectingLocations.length) && !alternateResult) return;
132753
- if ((failedLookupLocations == null ? void 0 : failedLookupLocations.length) || alternateResult) resolutionsWithFailedLookups.add(resolution);
132754
- let setAtRoot = false;
132755
- if (failedLookupLocations) {
132756
- for (const failedLookupLocation of failedLookupLocations) {
132757
- setAtRoot = watchFailedLookupLocation(failedLookupLocation, setAtRoot);
132756
+ const resolvedFileName = (_b = getResolutionWithResolvedFileName(resolution)) == null ? void 0 : _b.resolvedFileName;
132757
+ if (!resolvedFileName) {
132758
+ if ((failedLookupLocations == null ? void 0 : failedLookupLocations.length) || alternateResult) resolutionsWithFailedLookups.add(resolution);
132759
+ let setAtRoot = false;
132760
+ if (failedLookupLocations) {
132761
+ for (const failedLookupLocation of failedLookupLocations) {
132762
+ setAtRoot = watchFailedLookupLocation(failedLookupLocation, setAtRoot);
132763
+ }
132758
132764
  }
132765
+ if (alternateResult) setAtRoot = watchFailedLookupLocation(alternateResult, setAtRoot);
132766
+ if (setAtRoot) {
132767
+ setDirectoryWatcher(
132768
+ rootDir,
132769
+ rootPath,
132770
+ /*packageDir*/
132771
+ void 0,
132772
+ /*packageDirPath*/
132773
+ void 0,
132774
+ /*nonRecursive*/
132775
+ true
132776
+ );
132777
+ }
132778
+ watchAffectingLocationsOfResolution(resolution, !!resolvedFileName);
132759
132779
  }
132760
- if (alternateResult) setAtRoot = watchFailedLookupLocation(alternateResult, setAtRoot);
132761
- if (setAtRoot) {
132762
- setDirectoryWatcher(
132763
- rootDir,
132764
- rootPath,
132765
- /*packageDir*/
132766
- void 0,
132767
- /*packageDirPath*/
132768
- void 0,
132769
- /*nonRecursive*/
132770
- true
132771
- );
132772
- }
132773
- watchAffectingLocationsOfResolution(resolution, !(failedLookupLocations == null ? void 0 : failedLookupLocations.length) && !alternateResult);
132774
132780
  }
132775
132781
  function watchAffectingLocationsOfResolution(resolution, addToResolutionsWithOnlyAffectingLocations) {
132776
132782
  var _a;
@@ -132849,7 +132855,7 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
132849
132855
  packageJsonMap == null ? void 0 : packageJsonMap.delete(resolutionHost.toPath(path));
132850
132856
  }
132851
132857
  function watchFailedLookupLocationOfNonRelativeModuleResolutions() {
132852
- nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfResolution);
132858
+ nonRelativeExternalModuleResolutions.forEach(watchFailedLookupLocationOfModule);
132853
132859
  nonRelativeExternalModuleResolutions.clear();
132854
132860
  }
132855
132861
  function createDirectoryWatcherForPackageDir(dir, dirPath, packageDir, packageDirPath, nonRecursive) {
@@ -132957,24 +132963,25 @@ function createResolutionCache(resolutionHost, rootDirForResolution, logChangesW
132957
132963
  const key = resolutionHost.toPath(resolved.resolvedFileName);
132958
132964
  const resolutions = resolvedFileToResolution.get(key);
132959
132965
  if ((resolutions == null ? void 0 : resolutions.delete(resolution)) && !resolutions.size) resolvedFileToResolution.delete(key);
132960
- }
132961
- const { failedLookupLocations, affectingLocations, alternateResult } = resolution;
132962
- if (resolutionsWithFailedLookups.delete(resolution)) {
132963
- let removeAtRoot = false;
132964
- if (failedLookupLocations) {
132965
- for (const failedLookupLocation of failedLookupLocations) {
132966
- removeAtRoot = stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot);
132966
+ } else {
132967
+ const { failedLookupLocations, affectingLocations, alternateResult } = resolution;
132968
+ if (resolutionsWithFailedLookups.delete(resolution)) {
132969
+ let removeAtRoot = false;
132970
+ if (failedLookupLocations) {
132971
+ for (const failedLookupLocation of failedLookupLocations) {
132972
+ removeAtRoot = stopWatchFailedLookupLocation(failedLookupLocation, removeAtRoot);
132973
+ }
132967
132974
  }
132975
+ if (alternateResult) removeAtRoot = stopWatchFailedLookupLocation(alternateResult, removeAtRoot);
132976
+ if (removeAtRoot) removeDirectoryWatcher(rootPath);
132977
+ } else if (affectingLocations == null ? void 0 : affectingLocations.length) {
132978
+ resolutionsWithOnlyAffectingLocations.delete(resolution);
132968
132979
  }
132969
- if (alternateResult) removeAtRoot = stopWatchFailedLookupLocation(alternateResult, removeAtRoot);
132970
- if (removeAtRoot) removeDirectoryWatcher(rootPath);
132971
- } else if (affectingLocations == null ? void 0 : affectingLocations.length) {
132972
- resolutionsWithOnlyAffectingLocations.delete(resolution);
132973
- }
132974
- if (affectingLocations) {
132975
- for (const affectingLocation of affectingLocations) {
132976
- const watcher = fileWatchesOfAffectingLocations.get(affectingLocation);
132977
- watcher.resolutions--;
132980
+ if (affectingLocations) {
132981
+ for (const affectingLocation of affectingLocations) {
132982
+ const watcher = fileWatchesOfAffectingLocations.get(affectingLocation);
132983
+ watcher.resolutions--;
132984
+ }
132978
132985
  }
132979
132986
  }
132980
132987
  }
@@ -569,8 +569,10 @@
569
569
  "Default_catch_clause_variables_as_unknown_instead_of_any_6803": "将 catch 子句变量默认为 “unknown” 而不是 “any”。",
570
570
  "Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模块的默认导出具有或正在使用专用名称“{0}”。",
571
571
  "Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037": "无法使用 --isolatedDeclarations 推断默认导出。",
572
+ "Default_imports_are_not_allowed_in_a_deferred_import_18058": "延迟导入中不允许使用默认导入。",
572
573
  "Default_library_1424": "默认库",
573
574
  "Default_library_for_target_0_1425": "目标 \"{0}\" 的默认库",
575
+ "Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060": "仅当 ‘--module’ 标志设置为 ‘esnext’ 或 ‘preserve’ 时,才支持延迟导入。",
574
576
  "Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200": "以下标识符的定义与另一个文件中的定义冲突: {0}",
575
577
  "Delete_all_unused_declarations_95024": "删除未使用的所有声明",
576
578
  "Delete_all_unused_imports_95147": "删除所有未使用的导入",
@@ -713,6 +715,7 @@
713
715
  "Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020": "枚举成员初始值设定项必须可计算,而不引用具有 --isolatedDeclarations 的外部符号。",
714
716
  "Enum_member_must_have_initializer_1061": "枚举成员必须具有初始化表达式。",
715
717
  "Enum_name_cannot_be_0_2431": "枚举名不能为“{0}”。",
718
+ "Environment_Settings_6285": "环境设置",
716
719
  "Errors_Files_6041": "错误文件",
717
720
  "Escape_sequence_0_is_not_allowed_1488": "不允许转义序列“{0}”。",
718
721
  "Examples_Colon_0_6026": "示例: {0}",
@@ -789,6 +792,7 @@
789
792
  "File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307": "文件 \"{0}\" 不在项目 \"{1}\" 的文件列表中。项目必须列出所有文件,或使用 \"include\" 模式。",
790
793
  "File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059": "文件“{0}”不在 \"rootDir\"“{1}”下。\"rootDir\" 应包含所有源文件。",
791
794
  "File_0_not_found_6053": "找不到文件“{0}”。",
795
+ "File_Layout_6284": "文件布局",
792
796
  "File_Management_6245": "文件管理",
793
797
  "File_appears_to_be_binary_1490": "文件似乎是二进制文件。",
794
798
  "File_change_detected_Starting_incremental_compilation_6032": "检测到文件更改。正在启动增量编译...",
@@ -821,6 +825,7 @@
821
825
  "Fix_all_implicit_this_errors_95107": "修复所有 implicit-'this' 错误",
822
826
  "Fix_all_incorrect_return_type_of_an_async_functions_90037": "修复所有错误的异步函数返回类型",
823
827
  "Fix_all_with_type_only_imports_95182": "使用仅类型导入修复所有问题",
828
+ "For_nodejs_Colon_6287": "对于 nodejs:",
824
829
  "Found_0_errors_6217": "找到 {0} 个错误。",
825
830
  "Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 个错误。注意文件更改。",
826
831
  "Found_0_errors_in_1_files_6261": "在 {1} 个文件中找到 {0} 个错误。",
@@ -1065,6 +1070,7 @@
1065
1070
  "Name_is_not_valid_95136": "名称无效",
1066
1071
  "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "命名捕获组仅在面向“ES2018”或更高版本时可用。",
1067
1072
  "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "名称相同的命名捕获组必须彼此排斥。",
1073
+ "Named_imports_are_not_allowed_in_a_deferred_import_18059": "延迟导入中不允许使用命名导入。",
1068
1074
  "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "当 ‘module’ 设置为 ‘{0}’ 时,不允许从 JSON 文件到 ECMAScript 模块中的命名导入。",
1069
1075
  "Named_property_0_of_types_1_and_2_are_not_identical_2319": "“{1}”和“{2}”类型的命名属性“{0}”不完全相同。",
1070
1076
  "Namespace_0_has_no_exported_member_1_2694": "命名空间“{0}”没有已导出的成员“{1}”。",
@@ -1153,6 +1159,7 @@
1153
1159
  "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "当“module”设置为“UMD”、“AMD”或“System”时,不能使用选项“verbatimModuleSyntax”。",
1154
1160
  "Options_0_and_1_cannot_be_combined_6370": "选项“{0}”与“{1}”不能组合在一起。",
1155
1161
  "Options_Colon_6027": "选项:",
1162
+ "Other_Outputs_6291": "其他输出",
1156
1163
  "Output_Formatting_6256": "输出格式设置",
1157
1164
  "Output_compiler_performance_information_after_building_6615": "生成后输出编译器性能信息。",
1158
1165
  "Output_directory_for_generated_declaration_files_6166": "已生成声明文件的输出目录。",
@@ -1315,6 +1322,7 @@
1315
1322
  "Range_out_of_order_in_character_class_1517": "字符类中的范围顺序不对。",
1316
1323
  "Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205": "启用“{0}”时重新导出类型需要使用“导出类型”。",
1317
1324
  "React_components_cannot_include_JSX_namespace_names_2639": "React 组件不能包含 JSX 命名空间名称",
1325
+ "Recommended_Options_6294": "建议的选项",
1318
1326
  "Redirect_output_structure_to_the_directory_6006": "将输出结构重定向到目录。",
1319
1327
  "Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617": "减少 TypeScript 自动加载的项目数。",
1320
1328
  "Referenced_project_0_may_not_disable_emit_6310": "引用的项目“{0}”可能不会禁用发出。",
@@ -1429,6 +1437,7 @@
1429
1437
  "Scoped_package_detected_looking_in_0_6182": "检测到范围包,请在“{0}”中查看",
1430
1438
  "Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418": "正在搜索所有上级 node_modules 目录以查找回退扩展: {0}。",
1431
1439
  "Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417": "正在搜索所有上级 node_modules 目录以查找首选扩展: {0}。",
1440
+ "See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286": "另请参阅 https://aka.ms/tsconfig/module",
1432
1441
  "Selection_is_not_a_valid_statement_or_statements_95155": "所选内容不是有效的语句",
1433
1442
  "Selection_is_not_a_valid_type_node_95133": "所选内容不是有效的类型节点",
1434
1443
  "Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705": "为发出的 JavaScript 设置 JavaScript 语言版本并包含兼容的库声明。",
@@ -1508,9 +1517,11 @@
1508
1517
  "Statements_are_not_allowed_in_ambient_contexts_1036": "不允许在环境上下文中使用语句。",
1509
1518
  "Static_members_cannot_reference_class_type_parameters_2302": "静态成员不能引用类类型参数。",
1510
1519
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "静态属性“{0}”与构造函数“{1}”的内置属性函数“{0}”冲突。",
1520
+ "Stricter_Typechecking_Options_6292": "更严格的类型检查选项",
1511
1521
  "String_literal_expected_1141": "应为字符串字面量。",
1512
1522
  "String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057": "当“--module”标志设置为“es2015”或“es2020”时,不支持字符串文本导入和导出名称。",
1513
1523
  "String_literal_with_double_quotes_expected_1327": "应为带双引号的字符串字面量。",
1524
+ "Style_Options_6293": "样式选项",
1514
1525
  "Stylize_errors_and_messages_using_color_and_context_experimental_6073": "使用颜色和上下文风格化错误和消息(实验)。",
1515
1526
  "Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504": "当有减号时,子空间标志必须存在。",
1516
1527
  "Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717": "后续属性声明必须属于同一类型。属性“{0}”的类型必须为“{1}”,但此处却为类型“{2}”。",
@@ -1947,6 +1958,7 @@
1947
1958
  "_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610": "\"{0}\" 在类 \"{1}\" 中定义为访问器,但这里在 \"{2}\" 中重写为实例属性。",
1948
1959
  "_0_is_deprecated_6385": "“{0}”已弃用。",
1949
1960
  "_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012": "“{0}”不是关键字“{1}”的有效元属性。是否是指“{2}”?",
1961
+ "_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061": "“{0}”不是关键字 ‘import’ 的有效元属性。你是说 ‘meta’ 还是 ‘defer’?",
1950
1962
  "_0_is_not_allowed_as_a_parameter_name_1390": "不允许将 '{0}' 作为参数名。",
1951
1963
  "_0_is_not_allowed_as_a_variable_declaration_name_1389": "“{0}”不得用作变量声明名称。",
1952
1964
  "_0_is_of_type_unknown_18046": "“{0}”的类型为“未知”。",
@@ -1998,6 +2010,7 @@
1998
2010
  "abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "\"abstract\" 修饰符仅可出现在类、方法或属性声明中。",
1999
2011
  "accessor_modifier_can_only_appear_on_a_property_declaration_1275": "\"accessor\" 修饰符只能出现在属性声明中。",
2000
2012
  "and_here_6204": "并在这里。",
2013
+ "and_npm_install_D_types_Slashnode_6290": "和 npm 安装 -D @types/节点",
2001
2014
  "arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815": "无法在属性初始值设定项或类静态初始化块中引用 'arguments'。",
2002
2015
  "auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476": "“auto”: 将带有导入、导出、import.meta、jsx (带有 jsx: react-jsx)或 esm 格式(带模块: node16+)的文件视为模块。",
2003
2016
  "await_expression_cannot_be_used_inside_a_class_static_block_18037": "\"await\" 表达式不能在类静态块内使用。",
@@ -2005,6 +2018,7 @@
2005
2018
  "await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "仅允许在异步函数和模块顶级使用 \"await\" 表达式。",
2006
2019
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "不能在参数初始化表达式中使用 \"await\" 表达式。",
2007
2020
  "await_has_no_effect_on_the_type_of_this_expression_80007": "\"await\" 对此表达式的类型没有影响。",
2021
+ "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "环境上下文中不允许使用 ‘await using’ 声明。",
2008
2022
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "只有当文件是模块时,才允许在该文件的顶层使用 \"await using\" 语句,但此文件没有导入或导出。可考虑添加空的 \"export {}\" 将此文件变为模块。",
2009
2023
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "\"await using\" 语句仅允许在异步函数和顶级模块中使用。",
2010
2024
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "\"await using\" 语句不能在类静态块内使用。",
@@ -2099,6 +2113,7 @@
2099
2113
  "unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333": "不可在具有绑定名称的变量声明中使用 \"unique symbol\" 类型。",
2100
2114
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "\"use strict\" 指令不能与非简单参数列表一起使用。",
2101
2115
  "use_strict_directive_used_here_1349": "此处使用了 \"use strict\" 指令。",
2116
+ "using_declarations_are_not_allowed_in_ambient_contexts_1545": "环境上下文中不允许使用 ‘using’ 声明。",
2102
2117
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "不允许在异步函数块中使用 \"with\" 语句。",
2103
2118
  "with_statements_are_not_allowed_in_strict_mode_1101": "严格模式下不允许使用 \"with\" 语句。",
2104
2119
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "\"yield\" 表达式隐式导致 \"any\" 类型,因为它的包含生成器缺少返回类型批注。",
@@ -569,8 +569,10 @@
569
569
  "Default_catch_clause_variables_as_unknown_instead_of_any_6803": "預設 catch 子句變數為 'unknown' 而非 'any'。",
570
570
  "Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模組的預設匯出具有或正在使用私用名稱 '{0}'。",
571
571
  "Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037": "無法使用 --isolatedDeclarations 推斷預設匯出。",
572
+ "Default_imports_are_not_allowed_in_a_deferred_import_18058": "延遲的匯入中不允許預設匯入。",
572
573
  "Default_library_1424": "預設程式庫",
573
574
  "Default_library_for_target_0_1425": "目標 '{0}' 的預設程式庫",
575
+ "Deferred_imports_are_only_supported_when_the_module_flag_is_set_to_esnext_or_preserve_18060": "只有當 '--module' 旗標設定為 'esnext' 或 'preserve' 時,才支援延遲的匯入。",
574
576
  "Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200": "下列識別碼的定義與其他檔案中的定義衝突: {0}",
575
577
  "Delete_all_unused_declarations_95024": "刪除所有未使用的宣告",
576
578
  "Delete_all_unused_imports_95147": "刪除所有未使用的匯入",
@@ -713,6 +715,7 @@
713
715
  "Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020": "列舉成員初始設定式必須是可計算,且不參考具有 --isolatedDeclarations 的外部符號。",
714
716
  "Enum_member_must_have_initializer_1061": "列舉成員必須有初始設定式。",
715
717
  "Enum_name_cannot_be_0_2431": "列舉名稱不得為 '{0}'。",
718
+ "Environment_Settings_6285": "環境設定",
716
719
  "Errors_Files_6041": "錯誤檔案",
717
720
  "Escape_sequence_0_is_not_allowed_1488": "不允許逸出序列 '{0}'。",
718
721
  "Examples_Colon_0_6026": "範例: {0}",
@@ -789,6 +792,7 @@
789
792
  "File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307": "檔案 '{0}' 未列於專案 '{1}' 的檔案清單內。專案必須列出所有檔案,或使用 'include' 模式。",
790
793
  "File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059": "檔案 '{0}' 不在 'rootDir' '{1}' 之下。'rootDir' 必須包含所有原始程式檔。",
791
794
  "File_0_not_found_6053": "找不到檔案 '{0}'。",
795
+ "File_Layout_6284": "檔案配置",
792
796
  "File_Management_6245": "檔案管理",
793
797
  "File_appears_to_be_binary_1490": "檔案顯示為二進位。",
794
798
  "File_change_detected_Starting_incremental_compilation_6032": "偵測到檔案變更。正在啟動累加編譯...",
@@ -821,6 +825,7 @@
821
825
  "Fix_all_implicit_this_errors_95107": "修正所有隱含 'this' 的錯誤",
822
826
  "Fix_all_incorrect_return_type_of_an_async_functions_90037": "修正非同步函式所有不正確的傳回型別",
823
827
  "Fix_all_with_type_only_imports_95182": "使用僅限類型匯入來修正所有問題",
828
+ "For_nodejs_Colon_6287": "針對 nodejs:",
824
829
  "Found_0_errors_6217": "找到 {0} 個錯誤。",
825
830
  "Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 個錯誤。正在監看檔案變更。",
826
831
  "Found_0_errors_in_1_files_6261": "在 {1} 檔案中發現 {0} 個錯誤。",
@@ -1065,6 +1070,7 @@
1065
1070
  "Name_is_not_valid_95136": "名稱無效",
1066
1071
  "Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "只有以 'ES2018' 或更新版本為目標時,才可以使用具名擷取群組。",
1067
1072
  "Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "具有相同名稱的命名擷取群組必須互相排除。",
1073
+ "Named_imports_are_not_allowed_in_a_deferred_import_18059": "延遲的匯出中不允許具名匯入。",
1068
1074
  "Named_imports_from_a_JSON_file_into_an_ECMAScript_module_are_not_allowed_when_module_is_set_to_0_1544": "當 'module' 設定為 '{0}' 時,不允許從 JSON 檔案具名匯入 ECMAScript 模組。",
1069
1075
  "Named_property_0_of_types_1_and_2_are_not_identical_2319": "類型 '{1}' 及 '{2}' 的具名屬性 '{0}' 不一致。",
1070
1076
  "Namespace_0_has_no_exported_member_1_2694": "命名空間 '{0}' 沒有匯出的成員 '{1}'。",
@@ -1153,6 +1159,7 @@
1153
1159
  "Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "當 'module' 設定為 'UMD'、'AMD' 或 'System' 時,無法使用選項 'verbatimModuleSyntax'。",
1154
1160
  "Options_0_and_1_cannot_be_combined_6370": "無法合併選項 '{0}' 與 '{1}'。",
1155
1161
  "Options_Colon_6027": "選項:",
1162
+ "Other_Outputs_6291": "其他輸出",
1156
1163
  "Output_Formatting_6256": "輸出格式",
1157
1164
  "Output_compiler_performance_information_after_building_6615": "在組建後輸出編譯器效能資訊。",
1158
1165
  "Output_directory_for_generated_declaration_files_6166": "所產生之宣告檔案的輸出目錄。",
@@ -1315,6 +1322,7 @@
1315
1322
  "Range_out_of_order_in_character_class_1517": "字元類別中的範圍失序。",
1316
1323
  "Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205": "啟用 '{0}' 時重新匯出類型需要使用 'export type'。",
1317
1324
  "React_components_cannot_include_JSX_namespace_names_2639": "React 元件不得包含 JSX 命名空間名稱",
1325
+ "Recommended_Options_6294": "建議選項",
1318
1326
  "Redirect_output_structure_to_the_directory_6006": "將輸出結構重新導向至目錄。",
1319
1327
  "Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617": "減少 TypeScript 自動載入的專案數目。",
1320
1328
  "Referenced_project_0_may_not_disable_emit_6310": "參考的專案 '{0}' 不得停用發出。",
@@ -1429,6 +1437,7 @@
1429
1437
  "Scoped_package_detected_looking_in_0_6182": "偵測到範圍套件,正於 '{0}' 尋找",
1430
1438
  "Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418": "正在搜尋所有上階 node_modules 目錄,以取得後援延伸模組: {0}。",
1431
1439
  "Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417": "正在搜尋所有上階 node_modules 目錄,以取得慣用延伸模組: {0}。",
1440
+ "See_also_https_Colon_Slash_Slashaka_ms_Slashtsconfig_Slashmodule_6286": "另請參閱 https://aka.ms/tsconfig/module",
1432
1441
  "Selection_is_not_a_valid_statement_or_statements_95155": "選取項目非有效的一或多個陳述式",
1433
1442
  "Selection_is_not_a_valid_type_node_95133": "選取範圍不是有效的類型節點",
1434
1443
  "Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705": "為發出的 JavaScript 設定 JavaScript 語言版本,並包含相容的程式庫宣告。",
@@ -1508,9 +1517,11 @@
1508
1517
  "Statements_are_not_allowed_in_ambient_contexts_1036": "環境內容中不得有陳述式。",
1509
1518
  "Static_members_cannot_reference_class_type_parameters_2302": "靜態成員不得參考類別類型參數。",
1510
1519
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "靜態屬性 '{0}' 與建構函式 '{1}' 的內建屬性 'Function.{0}' 相衝突。",
1520
+ "Stricter_Typechecking_Options_6292": "更嚴格的類型檢查選項",
1511
1521
  "String_literal_expected_1141": "必須是字串常值。",
1512
1522
  "String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057": "當 '--module' 旗標設定為 'es2015' 或 'es2020' 時,不支援字串常值匯入和匯出名稱。",
1513
1523
  "String_literal_with_double_quotes_expected_1327": "應有具雙引號的字串常值。",
1524
+ "Style_Options_6293": "樣式選項",
1514
1525
  "Stylize_errors_and_messages_using_color_and_context_experimental_6073": "使用色彩及內容來設計錯誤與訊息的風格 (實驗)。",
1515
1526
  "Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504": "當有減號時,必須有子模式旗標。",
1516
1527
  "Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717": "後續的屬性宣告必須具有相同的類型。屬性 '{0}' 的類型必須是 '{1}',但此處卻是類型 '{2}'。",
@@ -1947,6 +1958,7 @@
1947
1958
  "_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610": "'{0}' 在類別 '{1}' 中定義為存取子,但在此處的 '{2}' 中卻覆寫為執行個體屬性。",
1948
1959
  "_0_is_deprecated_6385": "'{0}' 已淘汰。",
1949
1960
  "_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012": "'{0}' 對關鍵字 '{1}' 而言不是有效的中繼屬性。您是指 '{2}' 嗎?",
1961
+ "_0_is_not_a_valid_meta_property_for_keyword_import_Did_you_mean_meta_or_defer_18061": "'{0}' 對關鍵字 'import' 而言不是有效的中繼屬性。您的意思是 'meta' 或 'defer'?",
1950
1962
  "_0_is_not_allowed_as_a_parameter_name_1390": "不允許 '{0}' 做為參數名稱。",
1951
1963
  "_0_is_not_allowed_as_a_variable_declaration_name_1389": "'{0}' 不能是變數宣告名稱。",
1952
1964
  "_0_is_of_type_unknown_18046": "'{0}' 的類型為 'unknown'。",
@@ -1998,6 +2010,7 @@
1998
2010
  "abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "'abstract' 修飾元只能出現在類別宣告、方法宣告或屬性宣告。",
1999
2011
  "accessor_modifier_can_only_appear_on_a_property_declaration_1275": "'accessor' 修飾詞只能出現在屬性宣告。",
2000
2012
  "and_here_6204": "及此處。",
2013
+ "and_npm_install_D_types_Slashnode_6290": "和 npm 安裝 -D @types/node",
2001
2014
  "arguments_cannot_be_referenced_in_property_initializers_or_class_static_initialization_blocks_2815": "在屬性初始化器或類別靜態初始化區塊中無法引用『arguments』。",
2002
2015
  "auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476": "\"auto\": 處理具有 imports、exports、import.meta, jsx (具有 jsx: react-jsx) 的檔案,或以 esm 格式 (具有 module: node16+) 作為模組。",
2003
2016
  "await_expression_cannot_be_used_inside_a_class_static_block_18037": "'await' 運算式無法在類別靜態區塊內使用。",
@@ -2005,6 +2018,7 @@
2005
2018
  "await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "只允許在非同步函式中與模組的最上層使用 'await' 運算式。",
2006
2019
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "'await' 運算式不得用於參數初始設定式。",
2007
2020
  "await_has_no_effect_on_the_type_of_this_expression_80007": "'await' 對此運算式的類型沒有作用。",
2021
+ "await_using_declarations_are_not_allowed_in_ambient_contexts_1546": "環境內容中不允許使用 'await using' 宣告。",
2008
2022
  "await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "當檔案為模組時,僅能在檔案最上層使用 'await using' 陳述式,但此檔案沒有任何匯入或匯出。建議新增空白的 'export {}',讓此檔案成為模組。",
2009
2023
  "await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "'await using' 陳述式僅能在非同步函式內,以及模組的最上層使用。",
2010
2024
  "await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "'await using' 陳述式無法在類別靜態區塊內使用。",
@@ -2099,6 +2113,7 @@
2099
2113
  "unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333": "'unique symbol' 型別無法用在具有繫結名稱的變數宣告上。",
2100
2114
  "use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347": "'use strict' 指示詞不可搭配非簡易參數清單使用。",
2101
2115
  "use_strict_directive_used_here_1349": "'use strict' 指示詞已用於此處。",
2116
+ "using_declarations_are_not_allowed_in_ambient_contexts_1545": "環境內容中不允許 'using' 宣告。",
2102
2117
  "with_statements_are_not_allowed_in_an_async_function_block_1300": "非同步函式區塊中不允許 'with' 陳述式。",
2103
2118
  "with_statements_are_not_allowed_in_strict_mode_1101": "不得在 strict 模式中使用 'with' 陳述式。",
2104
2119
  "yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057": "因為 'yield' 運算式包含的產生器缺少傳回型別註解,所以其隱含導致 'any' 類型。",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@typescript-deploys/pr-build",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "5.9.0-pr-61683-9",
5
+ "version": "5.9.0-pr-61861-2",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [