typescript 4.4.3 → 4.5.0-beta

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.
Files changed (41) hide show
  1. package/SECURITY.md +41 -0
  2. package/lib/cs/diagnosticMessages.generated.json +47 -59
  3. package/lib/de/diagnosticMessages.generated.json +50 -62
  4. package/lib/es/diagnosticMessages.generated.json +48 -60
  5. package/lib/fr/diagnosticMessages.generated.json +50 -62
  6. package/lib/it/diagnosticMessages.generated.json +50 -62
  7. package/lib/ja/diagnosticMessages.generated.json +50 -62
  8. package/lib/ko/diagnosticMessages.generated.json +47 -59
  9. package/lib/lib.dom.d.ts +669 -1896
  10. package/lib/lib.dom.iterable.d.ts +16 -48
  11. package/lib/lib.es2015.core.d.ts +53 -13
  12. package/lib/lib.es2015.iterable.d.ts +2 -10
  13. package/lib/lib.es2015.promise.d.ts +2 -74
  14. package/lib/lib.es2018.intl.d.ts +23 -11
  15. package/lib/lib.es2019.string.d.ts +8 -2
  16. package/lib/lib.es2020.intl.d.ts +173 -114
  17. package/lib/lib.es2020.promise.d.ts +2 -3
  18. package/lib/lib.es2021.d.ts +1 -0
  19. package/lib/lib.es2021.intl.d.ts +44 -0
  20. package/lib/lib.es2021.promise.d.ts +8 -1
  21. package/lib/lib.es5.d.ts +101 -41
  22. package/lib/lib.esnext.intl.d.ts +1 -10
  23. package/lib/lib.webworker.d.ts +183 -520
  24. package/lib/lib.webworker.iterable.d.ts +10 -30
  25. package/lib/pl/diagnosticMessages.generated.json +50 -62
  26. package/lib/protocol.d.ts +1 -0
  27. package/lib/pt-br/diagnosticMessages.generated.json +50 -62
  28. package/lib/ru/diagnosticMessages.generated.json +48 -60
  29. package/lib/tr/diagnosticMessages.generated.json +50 -62
  30. package/lib/tsc.js +7109 -5440
  31. package/lib/tsserver.js +11335 -8683
  32. package/lib/tsserverlibrary.d.ts +382 -273
  33. package/lib/tsserverlibrary.js +11335 -8683
  34. package/lib/typescript.d.ts +379 -271
  35. package/lib/typescript.js +11312 -8670
  36. package/lib/typescriptServices.d.ts +379 -271
  37. package/lib/typescriptServices.js +11312 -8670
  38. package/lib/typingsInstaller.js +8269 -6299
  39. package/lib/zh-cn/diagnosticMessages.generated.json +50 -62
  40. package/lib/zh-tw/diagnosticMessages.generated.json +50 -62
  41. package/package.json +5 -7
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "ALL_COMPILER_OPTIONS_6917": "所有编译器选项",
3
3
  "A_0_modifier_cannot_be_used_with_an_import_declaration_1079": "“{0}”修饰符不能与导入声明一起使用。",
4
- "A_0_modifier_cannot_be_used_with_an_interface_declaration_1045": "“{0}”修饰符不能与接口声明一起使用。",
5
4
  "A_0_parameter_must_be_the_first_parameter_2680": "“{0}”参数必须是第一个参数。",
6
5
  "A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033": "JSDoc \"@typedef\" 注释不能包含多个 \"@type\" 标记。",
7
6
  "A_bigint_literal_cannot_use_exponential_notation_1352": "bigint 文本不能使用指数符号。",
@@ -12,7 +11,6 @@
12
11
  "A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500": "类只能实现具有可选类型参数的标识符/限定名称。",
13
12
  "A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422": "类只能实现具有静态已知成员的对象类型或对象类型的交集。",
14
13
  "A_class_declaration_without_the_default_modifier_must_have_a_name_1211": "不带 \"default\" 修饰符的类声明必须具有名称。",
15
- "A_class_may_only_extend_another_class_2311": "类只能扩展其他类。",
16
14
  "A_class_member_cannot_have_the_0_keyword_1248": "类成员不可具有“{0}”关键字。",
17
15
  "A_comma_expression_is_not_allowed_in_a_computed_property_name_1171": "计算属性名中不允许逗号表达式。",
18
16
  "A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467": "计算属性名无法从其包含的类型引用类型参数。",
@@ -22,7 +20,6 @@
22
20
  "A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "环境上下文中的计算属性名称必须引用类型为文本类型或 \"unique symbol\" 类型的表达式。",
23
21
  "A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "接口中的计算属性名称必须引用必须引用类型为文本类型或 \"unique symbol\" 的表达式。",
24
22
  "A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "计算属性名的类型必须为 \"string\"、\"number\"、\"symbol\" 或 \"any\"。",
25
- "A_computed_property_name_of_the_form_0_must_be_of_type_symbol_2471": "窗体“{0}”的计算属性名必须是 \"symbol\" 类型。",
26
23
  "A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "\"const\" 断言只能用于引用枚举成员、字符串、数字、布尔值、数组或对象文本。",
27
24
  "A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "只有使用字符串文本才能访问常数枚举成员。",
28
25
  "A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "环境上下文中的 \"const\" 初始化表达式必须为字符串、数字文本或文本枚举引用。",
@@ -66,7 +63,6 @@
66
63
  "A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317": "不能使用 rest 参数声明参数属性。",
67
64
  "A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369": "只允许在构造函数实现中使用参数属性。",
68
65
  "A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187": "不能使用绑定模式声明参数属性。",
69
- "A_path_in_an_extends_option_must_be_relative_or_rooted_but_0_is_not_18001": "“扩展”选项中的路径必须为相对路径或根路径,但“{0}”不是。",
70
66
  "A_promise_must_have_a_then_method_1059": "承诺必须具有 \"then\" 方法。",
71
67
  "A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331": "类型为 \"unique symbol\" 的类的属性必须同时为 \"static\" 和 \"readonly\"。",
72
68
  "A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330": "类型为 \"unique symbol\" 的接口或类型文本的属性必须为 \"readonly\"。",
@@ -91,7 +87,6 @@
91
87
  "A_set_accessor_cannot_have_rest_parameter_1053": "\"set\" 访问器不能具有 rest 参数。",
92
88
  "A_set_accessor_must_have_exactly_one_parameter_1049": "\"set\" 访问器必须正好具有一个参数。",
93
89
  "A_set_accessor_parameter_cannot_have_an_initializer_1052": "\"set\" 访问器参数不能包含初始化表达式。",
94
- "A_signature_with_an_implementation_cannot_use_a_string_literal_type_2381": "具有实现的签名不能使用字符串文本类型。",
95
90
  "A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556": "扩张参数必须具有元组类型或传递给 rest 参数。",
96
91
  "A_super_call_must_be_the_first_statement_in_the_constructor_when_a_class_contains_initialized_proper_2376": "当类包含初始化的属性、参数属性或专用标识符时,\"super\" 调用必须是构造函数中的第一个语句。",
97
92
  "A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "基于 \"this\" 的类型防护与基于参数的类型防护不兼容。",
@@ -117,6 +112,7 @@
117
112
  "Add_0_to_unresolved_variable_90008": "将“{0}.”添加到未解析的变量",
118
113
  "Add_a_return_statement_95111": "添加 return 语句",
119
114
  "Add_all_missing_async_modifiers_95041": "添加所有缺失的 \"async\" 修饰符",
115
+ "Add_all_missing_attributes_95168": "添加所有缺少的属性",
120
116
  "Add_all_missing_call_parentheses_95068": "添加所有缺失的调用括号",
121
117
  "Add_all_missing_function_declarations_95157": "添加缺少的所有函数声明",
122
118
  "Add_all_missing_imports_95064": "添加所有缺少的导入",
@@ -130,7 +126,6 @@
130
126
  "Add_await_to_initializer_for_0_95084": "将 \"await\" 添加到 \"{0}\" 的初始值设定项",
131
127
  "Add_await_to_initializers_95089": "将 \"await\" 添加到初始值设定项",
132
128
  "Add_braces_to_arrow_function_95059": "向箭头函数添加大括号",
133
- "Add_class_tag_95102": "添加“@类”标记",
134
129
  "Add_const_to_all_unresolved_variables_95082": "将 \"const\" 添加到所有未解析变量",
135
130
  "Add_const_to_unresolved_variable_95081": "将 \"const\" 添加到未解析的变量",
136
131
  "Add_default_import_0_to_existing_import_declaration_from_1_90033": "将默认导入 \"{0}\" 从 \"{1}\" 添加到现有导入声明。",
@@ -140,6 +135,7 @@
140
135
  "Add_index_signature_for_property_0_90017": "为属性“{0}”添加索引签名",
141
136
  "Add_initializer_to_property_0_95019": "向属性“{0}”添加初始值设定项",
142
137
  "Add_initializers_to_all_uninitialized_properties_95027": "将初始化表达式添加到未初始化的所有属性",
138
+ "Add_missing_attributes_95167": "添加缺少的属性",
143
139
  "Add_missing_call_parentheses_95067": "添加缺失的调用括号",
144
140
  "Add_missing_enum_member_0_95063": "添加缺少的枚举成员 \"{0}\"",
145
141
  "Add_missing_function_declaration_0_95156": "添加缺少的函数声明 \"{0}\"",
@@ -153,11 +149,10 @@
153
149
  "Add_override_modifier_95160": "添加 \"override\" 修饰符",
154
150
  "Add_parameter_name_90034": "添加参数名称",
155
151
  "Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "将限定符添加到匹配成员名称的所有未解析变量",
156
- "Add_this_parameter_95104": "添加“此”参数。",
157
- "Add_this_tag_95103": "添加“@此”标记",
158
152
  "Add_to_all_uncalled_decorators_95044": "将 \"()\" 添加到所有未调用的修饰器",
159
153
  "Add_ts_ignore_to_all_error_messages_95042": "将 \"@ts-ignore\" 添加到所有错误消息",
160
154
  "Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引访问时,将 “undefined” 添加到类型。",
155
+ "Add_undefined_to_optional_property_type_95169": "将 “undefined” 添加到可选属性类型",
161
156
  "Add_undefined_type_to_all_uninitialized_properties_95029": "将未定义的类型添加到未初始化的所有属性",
162
157
  "Add_undefined_type_to_property_0_95018": "向属性“{0}”添加“未定义”类型",
163
158
  "Add_unknown_conversion_for_non_overlapping_types_95069": "为非重叠类型添加 \"unknown\" 转换",
@@ -192,7 +187,6 @@
192
187
  "An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356": "算术操作数必须为类型 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
193
188
  "An_arrow_function_cannot_have_a_this_parameter_2730": "箭头函数不能包含 \"this\" 参数。",
194
189
  "An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705": "ES5/ES3 中的异步函数或方法需要 “Promise” 构造函数。请确保具有一个 “Promise” 构造函数的声明,或在 “--lib” 选项中包含了 “ES2015”。",
195
- "An_async_function_or_method_must_have_a_valid_awaitable_return_type_1057": "异步函数或方法必须具有有效的可等待返回类型。",
196
190
  "An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697": "异步函数或方法必须返回 “Promise”。请确保具有对 “Promise” 的声明或在 “--lib” 选项中包含了 “ES2015”。",
197
191
  "An_async_iterator_must_have_a_next_method_2519": "异步迭代器必须具有 \"next()\" 方法。",
198
192
  "An_element_access_expression_should_take_an_argument_1011": "元素访问表达式应采用参数。",
@@ -216,7 +210,6 @@
216
210
  "An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232": "导入声明只能在命名空间或模块中使用。",
217
211
  "An_import_declaration_cannot_have_modifiers_1191": "导入声明不能有修饰符。",
218
212
  "An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691": "导入路径不能以“{0}”扩展名结束。考虑改为导入“{1}”。",
219
- "An_index_expression_argument_must_be_of_type_string_number_symbol_or_any_2342": "索引表达式参数必须为 \"string\"、\"number\"、\"symbol\" 或 \"any\" 类型。",
220
213
  "An_index_signature_cannot_have_a_rest_parameter_1017": "索引签名不能包含 rest 参数。",
221
214
  "An_index_signature_cannot_have_a_trailing_comma_1025": "索引签名不能包含尾随逗号。",
222
215
  "An_index_signature_must_have_a_type_annotation_1021": "索引签名必须具有类型批注。",
@@ -243,12 +236,13 @@
243
236
  "An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006": "乘方表达式的左侧不允许存在具有“{0}”运算符的一元表达式。请考虑用括号将表达式括起。",
244
237
  "Annotate_everything_with_types_from_JSDoc_95043": "使用 JSDoc 中的类型批注所有内容",
245
238
  "Annotate_with_type_from_JSDoc_95009": "通过 JSDoc 类型批注",
246
- "Annotate_with_types_from_JSDoc_95010": "使用 JSDoc 中的类型批注",
247
239
  "Another_export_default_is_here_2753": "这里是其他导出默认值。",
248
240
  "Are_you_missing_a_semicolon_2734": "是否缺少分号?",
249
241
  "Argument_expression_expected_1135": "应为参数表达式。",
250
242
  "Argument_for_0_option_must_be_Colon_1_6046": "“{0}”选项的参数必须为 {1}。",
243
+ "Argument_of_dynamic_import_cannot_be_spread_element_1325": "动态导入的参数不能是扩展元素。",
251
244
  "Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345": "类型“{0}”的参数不能赋给类型“{1}”的参数。",
245
+ "Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379": "类型为“{0}”的参数不能分配给类型为“{1}”且 “exactOptionalPropertyTypes: true” 的参数。请考虑将 “undefined” 添加到目标属性的类型。",
252
246
  "Arguments_for_the_rest_parameter_0_were_not_provided_6236": "未提供 rest 形参“{0}”的实参。",
253
247
  "Array_element_destructuring_pattern_expected_1181": "应为数组元素析构模式。",
254
248
  "Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775": "断言要求使用显式类型注释声明调用目标中的每个名称。",
@@ -383,8 +377,8 @@
383
377
  "Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725": "使用模块 {0} 将目标设置为 ES5 时,类名称不能为 \"Object\"。",
384
378
  "Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "类静态侧“{0}”错误扩展基类静态侧“{1}”。",
385
379
  "Classes_can_only_extend_a_single_class_1174": "类只能扩展一个类。",
386
- "Classes_containing_abstract_methods_must_be_marked_abstract_2514": "包含抽象方法的类必须标记为抽象。",
387
380
  "Classes_may_not_have_a_field_named_constructor_18006": "类不能具有名为 \"constructor\" 的字段。",
381
+ "Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210": "类中包含的代码在 JavaScript 的严格模式下进行计算,该模式不允许以此方式使用“{0}”。有关详细信息,请参阅 https://developer.mozilla.org/zh-CN/docs/Web/JavaScript/Reference/Strict_mode。",
388
382
  "Command_line_Options_6171": "命令行选项",
389
383
  "Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020": "编译给定了其配置文件路径或带 \"tsconfig.json\" 的文件夹路径的项目。",
390
384
  "Compiler_Diagnostics_6251": "编译器诊断",
@@ -393,9 +387,9 @@
393
387
  "Compiler_option_0_may_only_be_used_with_build_5093": "编译器选项“--{0}”只能与 “--build” 一起使用。",
394
388
  "Compiler_option_0_requires_a_value_of_type_1_5024": "编译器选项“{0}”需要类型 {1} 的值。",
395
389
  "Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027": "当发出专用标识符下层时,编译器会预留名称“{0}”。",
396
- "Compiles_the_TypeScript_project_located_at_the_specified_path_6927": "编译位于指定路径的 TypeScript 项目",
390
+ "Compiles_the_TypeScript_project_located_at_the_specified_path_6927": "编译位于指定路径的 TypeScript 项目。",
397
391
  "Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923": "编译当前项目(工作目录中的 tsconfig.json。)",
398
- "Compiles_the_current_project_with_additional_settings_6929": "使用其他设置编译当前项目",
392
+ "Compiles_the_current_project_with_additional_settings_6929": "使用其他设置编译当前项目。",
399
393
  "Completeness_6257": "完成度",
400
394
  "Composite_projects_may_not_disable_declaration_emit_6304": "复合项目可能不会禁用声明发出。",
401
395
  "Composite_projects_may_not_disable_incremental_compilation_6379": "复合项目不能禁用增量编译。",
@@ -432,7 +426,6 @@
432
426
  "Convert_arrow_function_or_function_expression_95122": "转换箭头函数或函数表达式",
433
427
  "Convert_const_to_let_95093": "将 \"const\" 转换为 \"let\"",
434
428
  "Convert_default_export_to_named_export_95061": "将默认导出转换为命名导出",
435
- "Convert_function_0_to_class_95002": "将函数“{0}”转换为类",
436
429
  "Convert_function_declaration_0_to_arrow_function_95106": "将函数声明“{0}”转换为箭头函数",
437
430
  "Convert_function_expression_0_to_arrow_function_95105": "将函数表达式 \"{0}\" 转换为箭头函数",
438
431
  "Convert_function_to_an_ES2015_class_95001": "将函数转换为 ES2015 类",
@@ -510,16 +503,16 @@
510
503
  "Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735": "你是想将 \"{0}\" 限制为类型 \"new (...args: any[]) => {1}\" 吗?",
511
504
  "Did_you_mean_to_call_this_expression_6212": "你是想调用此表达式吗?",
512
505
  "Did_you_mean_to_mark_this_function_as_async_1356": "你是想将此函数标记为 \"async\" 吗?",
513
- "Did_you_mean_to_parenthesize_this_function_type_1360": "你是想将此函数类型放在括号中吗?",
514
506
  "Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312": "你的意思是使用 \":\" 吗? 当包含对象文字属于解构模式时,\"=\" 只能跟在属性名称的后面。",
515
507
  "Did_you_mean_to_use_new_with_this_expression_6213": "你是想将 \"new\" 用于此表达式吗?",
516
508
  "Digit_expected_1124": "应为数字。",
517
509
  "Directory_0_does_not_exist_skipping_all_lookups_in_it_6148": "目录“{0}”不存在,正在跳过该目录中的所有查找。",
510
+ "Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270": "目录 '{0}' 不包含 package.json 作用域。导入将无法解析。",
518
511
  "Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669": "禁止在发出的 JavaScript 文件中添加 “use strict” 指令。",
519
512
  "Disable_checking_for_this_file_90018": "禁用检查此文件",
520
513
  "Disable_emitting_comments_6688": "禁用发出注释。",
521
514
  "Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701": "禁用在其 JSDoc 注释中包含 “@internal” 的声明。",
522
- "Disable_emitting_file_from_a_compilation_6660": "禁用从编译发出文件。",
515
+ "Disable_emitting_files_from_a_compilation_6660": "禁用从编译发出文件。",
523
516
  "Disable_emitting_files_if_any_type_checking_errors_are_reported_6662": "禁用在报告了任何类型检查错误时发出文件。",
524
517
  "Disable_erasing_const_enum_declarations_in_generated_code_6682": "在生成的代码中禁用擦除 “const enum” 声明。",
525
518
  "Disable_error_reporting_for_unreachable_code_6603": "对无法访问的代码禁用错误报告。",
@@ -562,15 +555,15 @@
562
555
  "Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804": "标识符 \"{0}\" 重复。静态元素和实例元素不能共享相同的专用名称。",
563
556
  "Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396": "标识符 \"arguments\" 重复。编译器使用 \"arguments\" 初始化 rest 参数。",
564
557
  "Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543": "标识符 \"_newTarget\" 重复。编译器使用变量声明 \"_newTarget\" 来捕获 \"new.target\" 元属性引用。",
565
- "Duplicate_identifier_super_Compiler_uses_super_to_capture_base_class_reference_2401": "标识符 \"_super\" 重复。编译器使用 \"_super\" 获取基类引用。",
566
558
  "Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399": "标识符 \"_this\" 重复。编译器使用变量声明 \"_this\" 来捕获 \"this\" 引用。",
567
559
  "Duplicate_index_signature_for_type_0_2374": "类型“{0}”的索引签名重复。",
568
560
  "Duplicate_label_0_1114": "标签“{0}”重复。",
569
561
  "Duplicate_property_0_2718": "重复的属性 \"{0}\"。",
570
562
  "Dynamic_import_cannot_have_type_arguments_1326": "动态导入不能含有类型参数。",
571
- "Dynamic_import_must_have_one_specifier_as_an_argument_1324": "动态导入必须具有一个说明符作为参数。",
572
563
  "Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "动态导入的说明符类型必须是 \"string\",但此处类型是 \"{0}\"。",
573
- "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "仅当 \"--module\" 标志设置为 \"es2020\"、\"esnext\"、\"commonjs\"、\"amd\"、\"system\" 或 \"umd\" 时,才支持动态导入。",
564
+ "Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_esnext_commonjs_amd_system__1323": "仅当 '--module' 标志设置为 'es2020'、'esnext'、 'commonjs'、'amd'、'system'、'umd'、'node12' 或 'nodenext' 时,才支持动态导入。",
565
+ "Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450": "动态导入只能接受模块说明符和可选断言作为参数",
566
+ "Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_1324": "只有在 \"--module\" 选项设置为 \"esnext\" 时,动态导入才支持第二个参数。",
574
567
  "Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "联合类型 \"{0}\" 的每个成员都有构造签名,但这些签名都不能互相兼容。",
575
568
  "Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "联合类型 \"{0}\" 的每个成员都有签名,但这些签名都不能互相兼容。",
576
569
  "Editor_Support_6249": "编辑器支持",
@@ -589,7 +582,7 @@
589
582
  "Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621": "发出更合规但更详细且性能较低的 JavaScript 进行迭代。",
590
583
  "Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152": "在单个文件内发出源以及源映射;需要设置 \"--inlineSourceMap\" 或 \"--sourceMap\"。",
591
584
  "Enable_all_strict_type_checking_options_6180": "启用所有严格类型检查选项。",
592
- "Enable_color_and_formatting_in_output_to_make_compiler_errors_easier_to_read_6685": "在输出中启用颜色和格式设置,使编译器错误更易于阅读",
585
+ "Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685": "在 TypeScript 输出中启用颜色和格式设置,使编译器错误更易于阅读",
593
586
  "Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611": "启用允许将 TypeScript 项目与项目引用一起使用的约束。",
594
587
  "Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667": "为未在函数中显式返回的代码路径启用错误报告。",
595
588
  "Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665": "对具有隐式 “any” 类型的表达式和声明启用错误报告。",
@@ -610,7 +603,6 @@
610
603
  "Enable_tracing_of_the_name_resolution_process_6085": "启用名称解析过程的跟踪。",
611
604
  "Enable_verbose_logging_6713": "启用详细日志记录",
612
605
  "Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037": "通过为所有导入创建命名空间对象来启用 CommonJS 和 ES 模块之间的发出互操作性。表示 \"allowSyntheticDefaultImports\"。",
613
- "Enables_experimental_support_for_ES7_async_functions_6068": "对 ES7 异步函数启用实验支持。",
614
606
  "Enables_experimental_support_for_ES7_decorators_6065": "对 ES7 修饰器启用实验支持。",
615
607
  "Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066": "对发出修饰器的类型元数据启用实验支持。",
616
608
  "Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671": "对使用索引类型声明的键强制使用索引访问器",
@@ -628,7 +620,6 @@
628
620
  "Enum_member_expected_1132": "应为枚举成员。",
629
621
  "Enum_member_must_have_initializer_1061": "枚举成员必须具有初始化表达式。",
630
622
  "Enum_name_cannot_be_0_2431": "枚举名不能为“{0}”。",
631
- "Enum_type_0_circularly_references_itself_2586": "枚举类型 \"{0}\" 循环引用自身。",
632
623
  "Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "枚举类型“{0}”包含具有不是文本的初始值设定项的成员。",
633
624
  "Examples_Colon_0_6026": "示例: {0}",
634
625
  "Excessive_stack_depth_comparing_types_0_and_1_2321": "与类型“{0}”和“{1}”相比,堆栈深度过高。",
@@ -649,8 +640,7 @@
649
640
  "Export_assignment_is_not_supported_when_module_flag_is_system_1218": "当 \"--module\" 标志是 \"system\" 时不支持导出分配。",
650
641
  "Export_declaration_conflicts_with_exported_declaration_of_0_2484": "导出声明与“{0}”的导出声明冲突。",
651
642
  "Export_declarations_are_not_permitted_in_a_namespace_1194": "命名空间中不允许有导出声明。",
652
- "Exported_external_package_typings_file_0_is_not_a_module_Please_contact_the_package_author_to_update_2656": "导出的外部包键入文件“{0}”不是一个模块。请与包作者联系或更新包定义。",
653
- "Exported_external_package_typings_file_cannot_contain_tripleslash_references_Please_contact_the_pack_2654": "导出的外部包键入文件不能包含三斜线引用。请与包作者联系或更新包定义。",
643
+ "Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276": "路径 '{1}' 处的 package.json 作用域中不存在导出说明符 '{0}'。",
654
644
  "Exported_type_alias_0_has_or_is_using_private_name_1_4081": "导出的类型别名“{0}”已经或正在使用专用名称“{1}”。",
655
645
  "Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084": "导出的类型别名“{0}”具有或正在使用模块“{2}”中的专用名称“{1}”。",
656
646
  "Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023": "导出的变量“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。",
@@ -662,7 +652,6 @@
662
652
  "Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800": "表达式生成的元组类型太大,无法表示。",
663
653
  "Expression_produces_a_union_type_that_is_too_complex_to_represent_2590": "表达式生成的联合类型过于复杂,无法表示。",
664
654
  "Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402": "表达式解析为 \"_super\",编译器使用 \"_super\" 获取基类引用。",
665
- "Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions_2521": "表达式解析为编译器用于支持异步函数的变量声明“{0}”。",
666
655
  "Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544": "表达式解析为编辑器用于捕获 \"new.target\" 元属性引用的变量声明 \"_newTarget\"。",
667
656
  "Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400": "表达式解析为编译器用于捕获 \"this\" 引用的变量声明 \"_this\"。",
668
657
  "Extract_constant_95006": "提取常数",
@@ -745,7 +734,6 @@
745
734
  "Generates_corresponding_map_file_6043": "生成相应的 \".map\" 文件。",
746
735
  "Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025": "生成器隐式具有产出类型 \"{0}\" ,因为它不生成任何值。请考虑提供一个返回类型注释。",
747
736
  "Generators_are_not_allowed_in_an_ambient_context_1221": "不允许在环境上下文中使用生成器。",
748
- "Generators_are_only_available_when_targeting_ECMAScript_2015_or_higher_1220": "仅当面向 ECMAScript 2015 或更高版本时,生成器才可用。",
749
737
  "Generic_type_0_requires_1_type_argument_s_2314": "泛型类型“{0}”需要 {1} 个类型参数。",
750
738
  "Generic_type_0_requires_between_1_and_2_type_arguments_2707": "泛型类型“{0}”需要介于 {1} 和 {2} 类型参数之间。",
751
739
  "Global_module_exports_may_only_appear_at_top_level_1316": "全局模块导出仅可出现在顶层级别中。",
@@ -764,8 +752,9 @@
764
752
  "Identifier_expected_1003": "应为标识符。",
765
753
  "Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216": "应为标识符。转换 ECMAScript 模块时,\"__esModule\" 保留为导出标记。",
766
754
  "If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "如果“{0}”包实际上公开此模块,请考虑发送拉取请求以修正“https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}”",
755
+ "If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "如果“{0}”包实际公开了此模块,请尝试添加包含 `declare module‘{1}';` 的新声明(.d.ts)文件",
767
756
  "Ignore_this_error_message_90019": "忽略此错误信息",
768
- "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "忽略 tsconfig.json,使用默认编译器选项编译指定的文件",
757
+ "Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924": "忽略 tsconfig.json,使用默认编译器选项编译指定文件。",
769
758
  "Implement_all_inherited_abstract_classes_95040": "实现继承的所有抽象类",
770
759
  "Implement_all_unimplemented_interfaces_95032": "实现未实现的所有接口",
771
760
  "Implement_inherited_abstract_class_90007": "实现已继承的抽象类",
@@ -773,6 +762,8 @@
773
762
  "Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "导出的类“{0}”的 Implements 子句具有或正在使用专用名称“{1}”。",
774
763
  "Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "\"symbol\" 到 \"string\" 的隐式转换将在运行时失败。请考虑在 \"String(...)\" 中包装此表达式。",
775
764
  "Import_0_from_module_1_90013": "从模块“{1}”导入“{0}”",
765
+ "Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_2821": "只有在 \"--module\" 选项设置为 \"esnext\" 时,才支持导入断言。",
766
+ "Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "导入断言不能用于仅类型导入或导出。",
776
767
  "Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202": "面向 ECMAScript 模块时,不能使用导入分配。请考虑改用 \"import * as ns from \"mod\"\"、\"import {a} from \"mod\"\"、\"import d from \"mod\"\" 或另一种模块格式。",
777
768
  "Import_declaration_0_is_using_private_name_1_4000": "导入声明“{0}”使用的是专用名称“{1}”。",
778
769
  "Import_declaration_conflicts_with_local_declaration_of_0_2440": "导入声明与“{0}”的局部声明冲突。",
@@ -782,6 +773,7 @@
782
773
  "Import_may_be_converted_to_a_default_import_80003": "导入可能会转换为默认导入。",
783
774
  "Import_name_cannot_be_0_2438": "导入名称不能为“{0}”。",
784
775
  "Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439": "环境模块声明中的导入或导出声明不能通过相对模块名引用模块。",
776
+ "Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271": "路径 '{1}' 处的 package.json 作用域中不存在导入说明符 '{0}'。",
785
777
  "Imported_via_0_from_file_1_1393": "通过 {0} 从文件 \"{1}\" 导入",
786
778
  "Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395": "通过 {0} 从文件 \"{1}\" 导入,以按照 compilerOptions 中指定的配置导入 \"importHelpers\"",
787
779
  "Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397": "通过 {0} 从文件 \"{1}\" 导入,以导入 \"jsx\" 和 \"jsxs\" 工厂函数",
@@ -823,10 +815,10 @@
823
815
  "Interop_Constraints_6252": "互操作约束",
824
816
  "Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243": "将可选属性类型解释为已写,而不是添加 \"undefined\"。",
825
817
  "Invalid_character_1127": "无效的字符。",
818
+ "Invalid_import_specifier_0_has_no_possible_resolutions_6272": "无效的导入说明符 '{0}' 没有可行的解决方法。",
826
819
  "Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665": "扩大中的模块名称无效。模块“{0}”解析到位于“{1}”处的非类型化模块,其无法扩大。",
827
820
  "Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664": "扩大中的模块名无效,找不到模块“{0}”。",
828
821
  "Invalid_reference_directive_syntax_1084": "\"reference\" 指令语法无效。",
829
- "Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode_1210": "“{0}”的使用无效。类定义自动处于严格模式。",
830
822
  "Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039": "“{0}”的使用无效。它不能在类静态块内使用。",
831
823
  "Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215": "“{0}”的使用无效。模块自动处于严格模式。",
832
824
  "Invalid_use_of_0_in_strict_mode_1100": "严格模式下“{0}”的使用无效。",
@@ -842,19 +834,15 @@
842
834
  "JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028": "JSDoc \"...\" 可能仅出现在签名的最后一个参数中。",
843
835
  "JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024": "JSDoc \"@param\" 标记具有名称 \"{0}\",但不存在具有该名称的参数。",
844
836
  "JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029": "JSDoc \"@param\" 标记的名称为“{0}”,但该名称没有参数。如果它为数组类型,将匹配 \"arguments\"。",
845
- "JSDoc_type_0_circularly_references_itself_2587": "JSDoc 类型 \"{0}\" 循环引用自身。",
846
837
  "JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021": "JSDoc \"@typedef\" 标记应具有类型注释,或其后跟有 \"@property\" 或 \"@member\" 标记。",
847
838
  "JSDoc_types_can_only_be_used_inside_documentation_comments_8020": "JSDoc 类型只能在文档注释内部使用。",
848
839
  "JSDoc_types_may_be_moved_to_TypeScript_types_80004": "JSDoc 类型可能会移到 TypeScript 类型。",
849
- "JSX_attribute_expected_17003": "需要 JSX 属性。",
850
840
  "JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000": "只能为 JSX 属性分配非空“表达式”。",
851
841
  "JSX_element_0_has_no_corresponding_closing_tag_17008": "JSX 元素“{0}”没有相应的结束标记。",
852
- "JSX_element_attributes_type_0_may_not_be_a_union_type_2600": "JSX 元素属性类型“{0}”可能不是联合类型。",
853
842
  "JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607": "JSX 元素类不支持特性,因为它不具有“{0}”属性。",
854
843
  "JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026": "JSX 元素隐式具有类型 \"any\",因为不存在接口 \"JSX.{0}\"。",
855
844
  "JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602": "JSX 元素隐式具有类型 \"any\",因为不存在全局类型 \"JSX.Element\"。",
856
845
  "JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604": "JSX 元素类型“{0}”不具有任何构造签名或调用签名。",
857
- "JSX_element_type_0_is_not_a_constructor_function_for_JSX_elements_2605": "JSX 元素类型“{0}”不是 JSX 元素的构造函数。",
858
846
  "JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001": "JSX 元素不能具有多个名称相同的特性。",
859
847
  "JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007": "JSX 表达式不能使用逗号运算符。你是想写入数组吗?",
860
848
  "JSX_expressions_must_have_one_parent_element_2657": "JSX 表达式必须具有一个父元素。",
@@ -867,7 +855,6 @@
867
855
  "Keywords_cannot_contain_escape_characters_1260": "关键字不能包含转义字符。",
868
856
  "LOCATION_6037": "位置",
869
857
  "Language_and_Environment_6254": "语言和环境",
870
- "Language_service_is_disabled_9004": "语言服务已禁用。",
871
858
  "Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695": "逗号运算符的左侧未使用,没有任何副作用。",
872
859
  "Library_0_specified_in_compilerOptions_1422": "CompilerOptions 中指定了库 \"{0}\"",
873
860
  "Library_referenced_via_0_from_file_1_1405": "通过 \"{0}\" 从文件 \"{1}\" 引用了库",
@@ -899,6 +886,7 @@
899
886
  "Method_not_implemented_95158": "方法未实现。",
900
887
  "Modifiers_cannot_appear_here_1184": "修饰符不能出现在此处。",
901
888
  "Module_0_can_only_be_default_imported_using_the_1_flag_1259": "模块 \"{0}\" 只能在使用 \"{1}\" 标志时进行默认导入",
889
+ "Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471": "无法使用此构造导入模块 '{0}'。说明符仅解析为无法同步导入的 ES 模块。请改用动态导入。",
902
890
  "Module_0_declares_1_locally_but_it_is_exported_as_2_2460": "模块 \"{0}\" 在本地声明 \"{1}\",但它被导出为 \"{2}\"。",
903
891
  "Module_0_declares_1_locally_but_it_is_not_exported_2459": "模块 \"{0}\" 在本地声明 \"{1}\",但未导出它。",
904
892
  "Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340": "模块 \"{0}\" 不引用类型,但在此处用作类型。你是想使用 \"typeof import('{0}')\" 吗?",
@@ -971,7 +959,6 @@
971
959
  "Only_ambient_modules_can_use_quoted_names_1035": "仅环境模块可使用带引号的名称。",
972
960
  "Only_amd_and_system_modules_are_supported_alongside_0_6082": "--{0} 旁仅支持 \"amd\" 和 \"system\" 模块。",
973
961
  "Only_emit_d_ts_declaration_files_6014": "仅发出 \".d.ts\" 声明文件。 ",
974
- "Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_clas_9002": "类 \"extends\" 子句当前仅支持具有可选类型参数的标识符/限定名称。",
975
962
  "Only_named_exports_may_use_export_type_1383": "只有已命名的导出可使用“导出类型”。",
976
963
  "Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033": "只有数字枚举可具有计算成员,但此表达式的类型为“{0}”。如果不需要全面性检查,请考虑改用对象文本。",
977
964
  "Only_output_d_ts_files_and_not_JavaScript_files_6623": "仅输出 d.ts 文件,而不输出 JavaScript 文件。",
@@ -987,11 +974,11 @@
987
974
  "Option_0_cannot_be_specified_with_option_1_5053": "选项“{0}”不能与选项“{1}”同时指定。",
988
975
  "Option_0_cannot_be_specified_without_specifying_option_1_5052": "无法在不指定选项“{1}”的情况下指定选项“{0}”。",
989
976
  "Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069": "无法在不指定选项 {1} 或选项 {2} 的情况下指定选项 {0}。",
990
- "Option_0_should_have_array_of_strings_as_a_value_6103": "选项“{0}”应将字符串数组作为一个值。",
991
977
  "Option_build_must_be_the_first_command_line_argument_6369": "选项 '--build' 必须是第一个命令行参数。",
992
978
  "Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "选项 “--incremental” 只能使用 tsconfig 指定,在发出到单个文件时指定,或在指定了选项 “--tsBuildInfoFile” 时指定。",
993
979
  "Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "选项 \"isolatedModules\" 只可在提供了选项 \"--module\" 或者选项 \"target\" 是 \"ES2015\" 或更高版本时使用。",
994
980
  "Option_preserveConstEnums_cannot_be_disabled_when_isolatedModules_is_enabled_5091": "启用 \"isolatedModules\" 时,无法禁用选项 \"preserveConstEnums\"。",
981
+ "Option_preserveValueImports_can_only_be_used_when_module_is_set_to_es2015_or_later_5095": "选项 \"preserveValueImports\" 只能在 \"module\" 设置为 \"es2015\" 或更高版本时使用。",
995
982
  "Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "选项 \"project\" 在命令行上不能与源文件混合使用。",
996
983
  "Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071": "仅当模块代码生成为 \"commonjs\"、\"amd\"、\"es2015\" 或 \"esNext\" 时,才能指定选项 \"--resolveJsonModule\"。",
997
984
  "Option_resolveJsonModule_cannot_be_specified_without_node_module_resolution_strategy_5070": "在没有 \"node\" 模块解析策略的情况下,无法指定选项 \"-resolveJsonModule\"。",
@@ -1056,6 +1043,7 @@
1056
1043
  "Prefix_all_incorrect_property_declarations_with_declare_95095": "使用 \"declare\" 作为所有错误的属性声明的前缀",
1057
1044
  "Prefix_all_unused_declarations_with_where_possible_95025": "尽可能在所有未使用的声明前添加前缀 \"_\"",
1058
1045
  "Prefix_with_declare_95094": "使用 \"declare\" 前缀",
1046
+ "Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449": "保留 JavaScript 输出中未使用的导入值,否则将删除这些值。",
1059
1047
  "Print_all_of_the_files_read_during_the_compilation_6653": "打印在编译过程中读取的所有文件。",
1060
1048
  "Print_files_read_during_the_compilation_including_why_it_was_included_6631": "打印在编译过程中读取的文件,包括包含它的原因。",
1061
1049
  "Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505": "打印文件的名称及编译包含这些文件的原因。",
@@ -1069,6 +1057,7 @@
1069
1057
  "Private_accessor_was_defined_without_a_getter_2806": "定义了专用访问器,但没有 Getter。",
1070
1058
  "Private_identifiers_are_not_allowed_in_variable_declarations_18029": "不允许在变量声明中使用专用标识符。",
1071
1059
  "Private_identifiers_are_not_allowed_outside_class_bodies_18016": "不允许在类主体之外使用专用标识符。",
1060
+ "Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "专用标识符仅允许在类主体中使用,并且只能用作类成员声明的一部分、属性访问或用在 \"in\" 表达式的左侧",
1072
1061
  "Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "专用标识符仅在面向 ECMAScript 2015 和更高版本时可用。",
1073
1062
  "Private_identifiers_cannot_be_used_as_parameters_18009": "不能将专用标识符用作参数。",
1074
1063
  "Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "不能在类型参数上访问专用或受保护的成员 \"{0}\"。",
@@ -1086,10 +1075,8 @@
1086
1075
  "Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202": "项目引用不能形成环形图。检测到循环: {0}",
1087
1076
  "Projects_6255": "项目",
1088
1077
  "Projects_in_this_build_Colon_0_6355": "此生成中的项目: {0}",
1089
- "Projects_to_reference_6300": "要引用的项目",
1090
1078
  "Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267": "属性“{0}”不能具有初始化表杰式,因为它标记为摘要。",
1091
1079
  "Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111": "属性“{0}”来自索引签名,因此必须使用[“{0}”]访问它。",
1092
- "Property_0_does_not_exist_on_const_enum_1_2479": "\"const\" 枚举“{1}”上不存在属性“{0}”。",
1093
1080
  "Property_0_does_not_exist_on_type_1_2339": "类型“{1}”上不存在属性“{0}”。",
1094
1081
  "Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551": "属性“{0}”在类型“{1}”上不存在。你是否指的是“{2}”?",
1095
1082
  "Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576": "属性“{0}”在类型“{1}”上不存在。你的意思是改为访问静态成员“{2}”吗?",
@@ -1106,7 +1093,6 @@
1106
1093
  "Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015": "类型 \"{1}\" 中的属性 \"{0}\" 引用了不能从类型 \"{2}\" 内访问的其他成员。",
1107
1094
  "Property_0_is_declared_but_its_value_is_never_read_6138": "已声明属性“{0}”,但从未读取其值。",
1108
1095
  "Property_0_is_incompatible_with_index_signature_2530": "属性“{0}”与索引签名不兼容。",
1109
- "Property_0_is_incompatible_with_rest_element_type_2573": "属性 \"{0}\" 与 rest 元素类型不兼容。",
1110
1096
  "Property_0_is_missing_in_type_1_2324": "类型“{1}”中缺少属性“{0}”。",
1111
1097
  "Property_0_is_missing_in_type_1_but_required_in_type_2_2741": "类型 \"{1}\" 中缺少属性 \"{0}\",但类型 \"{2}\" 中需要该属性。",
1112
1098
  "Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013": "属性 \"{0}\" 在类 \"{1}\" 外部不可访问,因为它具有专用标识符。",
@@ -1133,7 +1119,6 @@
1133
1119
  "Property_or_signature_expected_1131": "应为属性或签名。",
1134
1120
  "Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "属性值只能是字符串文本、数字文本、\"true\"、\"false\"、\"null\"、对象文字或数组文本。",
1135
1121
  "Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "以 \"ES5\" 或 \"ES3\" 设为目标时,对 \"for-of\"、传播和析构中的可迭代项提供完全支持。",
1136
- "Provides_a_root_package_name_when_using_outFile_with_declarations_1390": "将 outFile 用于声明时提供根包名称。",
1137
1122
  "Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "导出类的公共方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。",
1138
1123
  "Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "导出类的公共方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
1139
1124
  "Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "导出类的公共方法“{0}”具有或正在使用专用名称“{1}”。",
@@ -1192,7 +1177,6 @@
1192
1177
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "在位置“{1}”的缓存中找到模块“{0}”的解析。",
1193
1178
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "在位置“{1}”的缓存中找到类型引用指令“{0}”的解析。",
1194
1179
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只将 \"keyof\" 解析为字符串值的属性名称(不含数字或符号)。",
1195
- "Resolving_from_node_modules_folder_6118": "正在从 node_modules 文件夹解析...",
1196
1180
  "Resolving_module_0_from_1_6086": "======== 正在从“{1}”解析模块“{0}”。========",
1197
1181
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在相对于基 URL“{1}”-“{2}”解析模块名“{0}”。",
1198
1182
  "Resolving_real_path_for_0_result_1_6130": "正在解析“{0}”的真实路径,结果为“{1}”。",
@@ -1201,11 +1185,9 @@
1201
1185
  "Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123": "======== 正在解析类型引用指令“{0}”,包含文件“{1}”,未设置根目录。========",
1202
1186
  "Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127": "======== 正在解析类型引用指令“{0}”,未设置包含文件,根目录“{1}”。========",
1203
1187
  "Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128": "======== 正在解析类型引用指令“{0}”,未设置包含文件,未设置根目录。========",
1204
- "Resolving_using_primary_search_paths_6117": "正在使用主搜索路径解析...",
1205
1188
  "Resolving_with_primary_search_path_0_6121": "正在使用主搜索路径“{0}”解析。",
1206
1189
  "Rest_parameter_0_implicitly_has_an_any_type_7019": "Rest 参数“{0}”隐式具有 \"any[]\" 类型。",
1207
1190
  "Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047": "Rest 参数 \"{0}\" 隐式具有 \"any[]\" 类型,但可从用法中推断出更好的类型。",
1208
- "Rest_signatures_are_incompatible_2572": "Rest 签名不兼容。",
1209
1191
  "Rest_types_may_only_be_created_from_object_types_2700": "rest 类型只能从对象类型创建。",
1210
1192
  "Return_type_annotation_circularly_references_itself_2577": "返回类型注释循环引用自身。",
1211
1193
  "Return_type_must_be_inferred_from_a_function_95149": "必须从函数中推断返回类型",
@@ -1276,8 +1258,6 @@
1276
1258
  "Source_has_0_element_s_but_target_requires_1_2618": "源具有 {0} 个元素,但目标需要 {1} 个。",
1277
1259
  "Source_provides_no_match_for_required_element_at_position_0_in_target_2623": "源不提供目标中位置 {0} 处所需元素的匹配项。",
1278
1260
  "Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624": "源不提供目标中位置 {0} 处可变元素的匹配项。",
1279
- "Specialized_overload_signature_is_not_assignable_to_any_non_specialized_signature_2382": "指定的重载签名不可分配给任何非专用化签名。",
1280
- "Specifier_of_dynamic_import_cannot_be_spread_element_1325": "动态导入的说明符不能是扩散元素。",
1281
1261
  "Specify_ECMAScript_target_version_6015": "指定 ECMAScript 目标版本。",
1282
1262
  "Specify_JSX_code_generation_6080": "指定 JSX 代码生成。",
1283
1263
  "Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679": "指定将所有输出捆绑到一个 JavaScript 文件中的文件。如果 “declaration” 为 true,还要指定一个捆绑所有 .d.ts 输出的文件。",
@@ -1347,7 +1327,6 @@
1347
1327
  "Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055": "抑制缺少索引签名的索引对象的 noImplicitAny 错误。",
1348
1328
  "Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "在对缺少索引签名的对象编制索引时,禁止显示 “noImplicitAny” 错误。",
1349
1329
  "Switch_each_misused_0_to_1_95138": "将每个误用的“{0}”切换到“{1}”",
1350
- "Symbol_reference_does_not_refer_to_the_global_Symbol_constructor_object_2470": "\"Symbol\" 引用不是指全局符号构造函数对象。",
1351
1330
  "Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704": "在不支持本机递归监视的平台上同步调用回调并更新目录观察程序的状态。",
1352
1331
  "Syntax_Colon_0_6023": "语法: {0}",
1353
1332
  "Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229": "标记“{0}”至少需要“{1}”个参数,但 JSX 工厂“{2}”最多可提供“{3}”个。",
@@ -1363,7 +1342,6 @@
1363
1342
  "The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496": "ES3 和 ES5 中的箭头函数不能引用 \"arguments\" 对象。请考虑使用标准函数表达式。",
1364
1343
  "The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522": "ES3 和 ES5 中的异步函数或方法不能引用“参数”对象。请考虑使用标准函数或方法。",
1365
1344
  "The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "\"if\" 语句的正文不能为空语句。",
1366
- "The_bundledPackageName_option_must_be_provided_when_using_outFile_and_node_module_resolution_with_de_1391": "当使用带有声明发出的 outFile 和节点模块解析时,必须提供 “bundledPackageName” 选项。",
1367
1345
  "The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793": "针对此实现的调用已成功,但重载的实现签名在外部不可见。",
1368
1346
  "The_character_set_of_the_input_files_6163": "输入文件的字符集。",
1369
1347
  "The_containing_arrow_function_captures_the_global_value_of_this_7041": "包含箭头函数捕获 \"this\" 的全局值。",
@@ -1381,7 +1359,8 @@
1381
1359
  "The_first_parameter_of_the_then_method_of_a_promise_must_be_a_callback_1060": "承诺的 \"then\" 方法的第一个参数必须是回调。",
1382
1360
  "The_global_type_JSX_0_may_not_have_more_than_one_property_2608": "全局类型 \"JSX.{0}\" 不可具有多个属性。",
1383
1361
  "The_implementation_signature_is_declared_here_2750": "在此处声明实现签名。",
1384
- "The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_or_system_1343": "仅当 \"--module\" 选项为 \"es2020\"、\"esnext\" 或 \"system\" 时,才允许使用 \"import. meta\" 元属性。",
1362
+ "The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470": "将生成到 CommonJS 输出的文件中不允许 'import.meta' 元属性。",
1363
+ "The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_esnext_system_node12__1343": "仅当 '--module' 选项为 'es2020'、'esnext'、 'system'、'node12' 或 'nodenext' 时,才允许 'import.meta' 元属性。",
1385
1364
  "The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742": "如果没有引用 \"{1}\",则无法命名 \"{0}\" 的推断类型。这很可能不可移植。需要类型注释。",
1386
1365
  "The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088": "推断类型“{0}”引用的类型具有无法简单序列化的循环结构。必须具有类型注释。",
1387
1366
  "The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527": "“{0}”的推断类型引用不可访问的“{1}”类型。需要类型批注。",
@@ -1404,7 +1383,7 @@
1404
1383
  "The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "算术运算左侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
1405
1384
  "The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "赋值表达式的左侧不能是可选属性访问。",
1406
1385
  "The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "赋值表达式的左侧必须是变量或属性访问。",
1407
- "The_left_hand_side_of_an_in_expression_must_be_of_type_any_string_number_or_symbol_2360": "\"in\" 表达式左侧的类型必须为 \"any\"、\"string\"、\"number\" 或 \"symbol\"。",
1386
+ "The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "\"in\" 表达式的左侧必须是专用标识符或其类型必须为 \"any\"、\"string\"、\"number\" 或 \"symbol\"。",
1408
1387
  "The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "\"instanceof\" 表达式左侧必须是 \"any\" 类型、对象类型或类型参数。",
1409
1388
  "The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "向用户显示消息时所用的区域设置(例如,\"en-us\")",
1410
1389
  "The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "用于搜索 node_modules 和加载 JavaScript 文件的最大依赖项深度。",
@@ -1416,7 +1395,6 @@
1416
1395
  "The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357": "递增或递减运算符的操作数必须是变量或属性访问。",
1417
1396
  "The_parser_expected_to_find_a_to_match_the_token_here_1007": "分析器预期在这里找到与 \"{\" 标记匹配的 \"}\"。",
1418
1397
  "The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014": "无法在此类中的类型 \"{1}\" 上访问属性 \"{0}\",因为具有相同拼写的另一个专用标识符隐藏了它。",
1419
- "The_return_type_of_a_JSX_element_constructor_must_return_an_object_type_2601": "JSX 元素构造函数的返回类型必须返回对象类型。",
1420
1398
  "The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380": "\"Get\" 访问器的返回类型必须可分配给其 \"Set\" 访问器类型",
1421
1399
  "The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237": "参数修饰器函数的返回类型必须为 \"void\" 或 \"any\"。",
1422
1400
  "The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236": "属性修饰器函数的返回类型必须为 \"void\" 或 \"any\"。",
@@ -1431,13 +1409,13 @@
1431
1409
  "The_signature_0_of_1_is_deprecated_6387": "“{1}”的签名“{0}”已弃用。",
1432
1410
  "The_specified_path_does_not_exist_Colon_0_5058": "指定的路径不存在:“{0}”。",
1433
1411
  "The_tag_was_first_specified_here_8034": "第一次在此处指定了标记。",
1434
- "The_target_of_an_assignment_must_be_a_variable_or_a_property_access_2541": "赋值的目标必须是变量或属性访问。",
1435
1412
  "The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778": "对象 rest 分配的目标不能是可选属性访问。",
1436
1413
  "The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701": "对象 rest 分配的目标必须是变量或属性访问。",
1437
1414
  "The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684": "类型为“{0}”的 \"this\" 上下文不能分配给类型为“{1}”的方法的 \"this\"。",
1438
1415
  "The_this_types_of_each_signature_are_incompatible_2685": "每个签名的 \"this\" 类型不兼容。",
1439
1416
  "The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104": "类型 \"{0}\" 为 \"readonly\",不能分配给可变类型 \"{1}\"。",
1440
- "The_type_argument_for_type_parameter_0_cannot_be_inferred_from_the_usage_Consider_specifying_the_typ_2453": "无法从用法推断类型形参“{0}”的类型实参。可以考虑显式指定类型实参。",
1417
+ "The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207": "在将 “export type” 用在其导出语句上时,不能在已命名导出上使用 “type” 修饰符。",
1418
+ "The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206": "在将 “import type” 用在其导入语句上时,不能在已命名导入上使用 “type” 修饰符。。",
1441
1419
  "The_type_of_a_function_declaration_must_match_the_function_s_signature_8030": "函数声明的类型必须与函数的签名匹配。",
1442
1420
  "The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118": "无法序列化此节点的类型,因为无法序列化其属性“{0}”。",
1443
1421
  "The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547": "异步迭代器的 \"{0}()\" 方法返回的类型必须是具有 \"value\" 属性的类型的承诺。",
@@ -1460,23 +1438,30 @@
1460
1438
  "This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371": "此导入从不用作值,必须使用 \"import type\" ,因为 \"importsNotUsedAsValues\" 设置为 \"error\"。",
1461
1439
  "This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "这是正在扩充的声明。请考虑将扩充声明移到同一个文件中。",
1462
1440
  "This_may_be_converted_to_an_async_function_80006": "可将此转换为异步函数。",
1441
+ "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122": "此成员不能具有带 “@override” 标记的 JSDoc 注释,因为未在基类“{0}”中对其进行声明。",
1442
+ "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123": "此成员不能具有带 “override” 标记的 JSDoc 注释,因为未在基类“{0}”中对其进行声明。你是否指的是“{1}”?",
1443
+ "This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121": "此成员不能具有带 “@override” 标记的 JSDoc 注释,因为所包含的类“{0}”不会扩展其他类。",
1463
1444
  "This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113": "此成员不能有 \"override\" 修饰符,因为它未在基类 \"{0}\" 中声明。",
1464
1445
  "This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117": "此成员不能有 “override” 修饰符,因为它未在基类“{0}”中声明。你是否指的是“{1}”?",
1465
1446
  "This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112": "此成员不能有 \"override\" 修饰符,因为它的包含类 \"{0}\" 不扩展其他类。",
1447
+ "This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119": "此成员必须具有带 “@override” 标记的 JSDoc 注释,因为它会替代基类“{0}”中的成员。",
1466
1448
  "This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114": "此成员必须有 \"override\" 修饰符,因为它替代基类 \"{0}\" 中的一个成员。",
1467
1449
  "This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116": "此成员必须有 \"override\" 修饰符,因为它替代基类 \"{0}\" 中声明的一个抽象方法。",
1468
1450
  "This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497": "只能通过启用 \"{0}\" 标志并引用其默认导出,使用 ECMAScript 导入/导出来引用此模块。",
1469
1451
  "This_module_is_declared_with_using_export_and_can_only_be_used_with_a_default_import_when_using_the__2594": "此模块是使用 \"export =\" 声明的,只能在使用 \"{0}\" 标志时进行默认导入。",
1470
1452
  "This_overload_signature_is_not_compatible_with_its_implementation_signature_2394": "此重载签名与其实现签名不兼容。",
1471
1453
  "This_parameter_is_not_allowed_with_use_strict_directive_1346": "此参数不允许与 \"use strict\" 指令一起使用。",
1454
+ "This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120": "此参数属性必须具有带 “@override” 标记的 JSDoc 注释,因为它将替代基类“{0}”中的成员。",
1472
1455
  "This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "此参数属性必须具有 “override” 修饰符,因为它会替代基类“{0}”中的成员。",
1473
1456
  "This_spread_always_overwrites_this_property_2785": "此扩张将始终覆盖此属性。",
1457
+ "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "此语法保留在扩展名为 .mts 或 .cts 的文件中。请添加尾随逗号或显式约束。",
1458
+ "This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "此语法保留在扩展名为 .mts 或 .cts 的文件中。请改用 `as` 表达式。",
1474
1459
  "This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354": "此语法需要一个导入的帮助程序,但找不到模块“{0}”。",
1475
1460
  "This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343": "此语法需要名为 \"{1}\" 的导入帮助器,\"{0}\" 中不存在该帮助器。请考虑升级 \"{0}\" 的版本。",
1476
1461
  "This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807": "此语法需要一个名为 \"{1}\" 且包含 {2} 参数的导入帮助程序,该帮助程序与 \"{0}\" 中的相应帮助程序不兼容。请考虑升级 \"{0}\" 的版本。",
1477
- "Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_t_1378": "仅当 \"module\" 选项设置为 \"esnext\" 或 \"system\",并且 \"target\" 选项设置为 \"es2017\" 或更高版本时,才允许使用顶级 \"await\" 表达式。",
1462
+ "Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_esnext_system_or_noden_1378": "仅当 'module' 选项设置为 'esnext'、'system' 或 'nodenext',且 'target' 选项设置为 'es2017' 或更高版本时,才允许顶级 'await' 表达式。",
1478
1463
  "Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": ".d.ts 文件中的顶级声明必须以 \"declare\" 或 \"export\" 修饰符开头。",
1479
- "Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_or_system_and_the_1432": "仅当“模块”选项设置为“esnext”或“system”,并且“目标”选项设置为“es2017”或更高时,才允许使用顶层“for await”循环。",
1464
+ "Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_esnext_system_or_nodenex_1432": "仅当 'module' 选项设置为 'esnext'、'system' 或 'nodenext',且 'target' 选项设置为 'es2017' 或更高版本时,才允许顶级 'for await' 循环。",
1480
1465
  "Trailing_comma_not_allowed_1009": "不允许使用尾随逗号。",
1481
1466
  "Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153": "将每个文件转换为单独的模块(类似 \"ts.transpileModule\")。",
1482
1467
  "Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035": "尝试使用 `npm i --save-dev @types/{1}` (如果存在),或者添加一个包含 `declare module '{0}';` 的新声明(.d.ts)文件",
@@ -1503,7 +1488,10 @@
1503
1488
  "Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549": "类型“{0}”不是数组类型或字符串类型,或者没有返回迭代器的 \"[Symbol.iterator]()\" 方法。",
1504
1489
  "Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548": "类型“{0}”不是数组类型,或者没有返回迭代器的 \"[Symbol.iterator]()\" 方法。",
1505
1490
  "Type_0_is_not_assignable_to_type_1_2322": "不能将类型“{0}”分配给类型“{1}”。",
1491
+ "Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820": "类型“{0}”不可分配给类型“{1}”。你的意思是“{2}”?",
1506
1492
  "Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719": "类型“{0}”无法分配给类型“{1}”。存在具有此名称的两种不同类型,但它们是不相关的。",
1493
+ "Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标属性的类型。",
1494
+ "Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标类型。。",
1507
1495
  "Type_0_is_not_comparable_to_type_1_2678": "类型“{0}”不可与类型“{1}”进行比较。",
1508
1496
  "Type_0_is_not_generic_2315": "类型“{0}”不是泛型类型。",
1509
1497
  "Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "类型“{0}”必须具有返回异步迭代器的 \"[Symbol.asyncIterator]()\" 方法。",
@@ -1517,7 +1505,6 @@
1517
1505
  "Type_aliases_can_only_be_used_in_TypeScript_files_8008": "类型别名只能在 TypeScript 文件中使用。",
1518
1506
  "Type_annotation_cannot_appear_on_a_constructor_declaration_1093": "类型批注不能出现在构造函数声明中。",
1519
1507
  "Type_annotations_can_only_be_used_in_TypeScript_files_8010": "类型注释只能在 TypeScript 文件中使用。",
1520
- "Type_argument_candidate_1_is_not_a_valid_type_argument_because_it_is_not_a_supertype_of_candidate_0_2455": "候选类型参数“{1}”不是有效的类型参数,因为它不是候选“{0}”的超类型。",
1521
1508
  "Type_argument_expected_1140": "应为类型参数。",
1522
1509
  "Type_argument_list_cannot_be_empty_1099": "类型参数列表不能为空。",
1523
1510
  "Type_arguments_can_only_be_used_in_TypeScript_files_8011": "类型参数只能在 TypeScript 文件中使用。",
@@ -1590,7 +1577,6 @@
1590
1577
  "Unknown_watch_option_0_5078": "未知观察选项 \"{0}\"。",
1591
1578
  "Unknown_watch_option_0_Did_you_mean_1_5079": "未知的监视选项 \"{0}\"。你是想使用 \"{1}\" 吗?",
1592
1579
  "Unreachable_code_detected_7027": "检测到无法访问的代码。",
1593
- "Unsupported_locale_0_6049": "区域设置“{0}”不受支持。",
1594
1580
  "Unterminated_Unicode_escape_sequence_1199": "未终止的 Unicode 转义序列。",
1595
1581
  "Unterminated_quoted_string_in_response_file_0_6045": "响应文件“{0}”中引号不配对。",
1596
1582
  "Unterminated_regular_expression_literal_1161": "未终止的正则表达式文本。",
@@ -1664,6 +1650,7 @@
1664
1650
  "_0_index_signatures_are_incompatible_2634": "“{0}”索引签名不兼容。",
1665
1651
  "_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "“{0}”索引类型“{1}”不能分配给“{2}”索引类型“{3}”。",
1666
1652
  "_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "“{0}”是基元,但“{1}”是包装器对象。如可能首选使用“{0}”。",
1653
+ "_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444": "\"{0}\" 是一种类型,在同时启用了 \"preserveValueImports\" 和 \"isolatedModules\" 时,必须使用仅类型导入进行导入。",
1667
1654
  "_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "\"{0}\" 可赋给 \"{1}\" 类型的约束,但可以使用约束 \"{2}\" 的其他子类型实例化 \"{1}\"。",
1668
1655
  "_0_is_declared_but_its_value_is_never_read_6133": "已声明“{0}”,但从未读取其值。",
1669
1656
  "_0_is_declared_but_never_used_6196": "“{0}”已声明,但从未使用过。",
@@ -1679,7 +1666,6 @@
1679
1666
  "_0_list_cannot_be_empty_1097": "“{0}”列表不能为空。",
1680
1667
  "_0_modifier_already_seen_1030": "已看到“{0}”修饰符。",
1681
1668
  "_0_modifier_cannot_appear_on_a_constructor_declaration_1089": "“{0}”修饰符不能出现在构造函数声明中。",
1682
- "_0_modifier_cannot_appear_on_a_data_property_1043": "“{0}”修饰符不能出现在数据属性上。",
1683
1669
  "_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044": "“{0}”修饰符不可出现在模块或命名空间元素上。",
1684
1670
  "_0_modifier_cannot_appear_on_a_parameter_1090": "“{0}”修饰符不能出现在参数中。",
1685
1671
  "_0_modifier_cannot_appear_on_a_type_member_1070": "“{0}”修饰符不可出现在类型成员上。",
@@ -1688,7 +1674,6 @@
1688
1674
  "_0_modifier_cannot_be_used_here_1042": "“{0}”修饰符不能在此处使用。",
1689
1675
  "_0_modifier_cannot_be_used_in_an_ambient_context_1040": "“{0}”修饰符不能在环境上下文中使用。",
1690
1676
  "_0_modifier_cannot_be_used_with_1_modifier_1243": "“{0}”修饰符不能与“{1}”修饰符一起使用。",
1691
- "_0_modifier_cannot_be_used_with_a_class_declaration_1041": "“{0}”修饰符不能与类声明一起使用。",
1692
1677
  "_0_modifier_cannot_be_used_with_a_private_identifier_18019": "“{0}”修饰符不能与专用标识符一起使用。",
1693
1678
  "_0_modifier_must_precede_1_modifier_1029": "“{0}”修饰符必须位于“{1}”修饰符之前。",
1694
1679
  "_0_needs_an_explicit_type_annotation_2782": "\"{0}\" 需要显式类型注释。",
@@ -1698,8 +1683,10 @@
1698
1683
  "_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585": "“{0}” 仅指类型,但在此处用作值。是否需要更改目标库? 请尝试将 “lib” 编译器选项更改为 es2015 或更高版本。",
1699
1684
  "_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686": "“{0}”指 UMD 全局,但当前文件是模块。请考虑改为添加导入。",
1700
1685
  "_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749": "“{0}”表示值,但在此处用作类型。是否指“类型 {0}”?",
1686
+ "_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446": "\"{0}\" 解析为仅类型声明,并且在同时启用了 \"preserveValueImports\" 和 \"isolatedModules\" 时,必须使用仅类型导入进行导入。",
1687
+ "_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_isol_1448": "\"{0}\" 解析为仅类型声明,并且在启用 \"isolatedModules\" 时必须使用仅类型重新导出进行重新导出。",
1688
+ "_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258": "应在 config json 文件的 “compilerOptions” 对象中设置 “{0}”",
1701
1689
  "_0_tag_already_specified_1223": "已指定“{0}”标记。",
1702
- "_0_tag_cannot_be_used_independently_as_a_top_level_JSDoc_tag_1253": "“{0}”标记无法单独用作顶级 JSDoc 标记。",
1703
1690
  "_0_was_also_declared_here_6203": "此处也声明了 \"{0}\"。",
1704
1691
  "_0_was_exported_here_1377": "在此处导出了 \"{0}\"。",
1705
1692
  "_0_was_imported_here_1376": "此处导入了 \"{0}\"。",
@@ -1715,7 +1702,6 @@
1715
1702
  "baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "\"baseUrl\" 选项设置为“{0}”,可使用此值解析非相关模块名称“{1}”。",
1716
1703
  "can_only_be_used_at_the_start_of_a_file_18026": "\"#!\" 只能用在文件的开头。",
1717
1704
  "case_or_default_expected_1130": "应为 \"case\" 或 \"default\"。",
1718
- "class_expressions_are_not_currently_supported_9003": "当前不支持 \"class\" 表达式。",
1719
1705
  "const_declarations_can_only_be_declared_inside_a_block_1156": "\"const\" 声明只能在块的内部声明。",
1720
1706
  "const_declarations_must_be_initialized_1155": "必须初始化 \"const\" 声明。",
1721
1707
  "const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "\"const\" 枚举成员初始化表达式的求值结果为非有限值。",
@@ -1726,7 +1712,6 @@
1726
1712
  "constructor_is_a_reserved_word_18012": "\"#constructor\" 是保留字。",
1727
1713
  "default_Colon_6903": "默认值:",
1728
1714
  "delete_cannot_be_called_on_an_identifier_in_strict_mode_1102": "在严格模式下,无法对标识符调用 \"delete\"。",
1729
- "delete_this_Project_0_is_up_to_date_because_it_was_previously_built_6360": "删除此 - 项目“{0}”已是最新,因为它是以前生成的",
1730
1715
  "export_Asterisk_does_not_re_export_a_default_1195": "\"export *\" 不会重新导出默认值。",
1731
1716
  "export_can_only_be_used_in_TypeScript_files_8003": "\"export =\" 只能在 TypeScript 文件中使用。",
1732
1717
  "export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668": "\"export\" 修饰符不可用于环境模块和模块扩大,因为它们始终可见。",
@@ -1740,7 +1725,6 @@
1740
1725
  "file_6025": "文件",
1741
1726
  "for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431": "仅当文件是模块且没有导入或导出项时,才允许在该文件的顶层使用“for await”循环。可考虑添加空的“export {}”将此文件变为模块。",
1742
1727
  "for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103": "仅允许在异步函数和模块顶层使用“for await”循环。",
1743
- "get_and_set_accessor_must_have_the_same_this_type_2682": "\"get\" 和 \"set\" 访问器必须拥有相同的 \"this\" 类型。",
1744
1728
  "get_and_set_accessors_cannot_declare_this_parameters_2784": "\"get\" 和 \"set\" 访问器无法声明 \"this\" 参数。",
1745
1729
  "if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908": "如果指定了 \"files\",则为 \"[]\",否则为\"[\"**/*\"]5D;\"",
1746
1730
  "implements_clause_already_seen_1175": "已看到 \"implements\" 子句。",
@@ -1764,6 +1748,9 @@
1764
1748
  "package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209": "\"package. json\" 具有 \"typesVersions\" 项 \"{0}\",它不是有效的 semver 范围。",
1765
1749
  "package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208": "\"package. json\" 具有与编译器版本 \"{1}\" 匹配的 \"typesVersions\" 项 \"{0}\",它需要与模块名称 \"{2}\" 匹配的模式。",
1766
1750
  "package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206": "\"package. json\" 具有 \"typesVersions\" 字段,它具有特定于版本的路径映射。",
1751
+ "package_json_scope_0_explicitly_maps_specifier_1_to_null_6274": "package.json 作用域 '{0}' 将说明符 '{1}' 显式映射到 NULL。",
1752
+ "package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275": "package.json 作用域 '{0}' 的说明符 '{1}' 的目标类型无效",
1753
+ "package_json_scope_0_has_no_imports_defined_6273": "package.json 作用域 '{0}' 未定义导入。",
1767
1754
  "paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091": "指定了 \"paths“ 选项,正在查找模式以匹配模块名“{0}”。",
1768
1755
  "readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "\"readonly\" 修饰符仅可出现在属性声明或索引签名中。",
1769
1756
  "readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "仅允许对数组和元组文本类型使用 \"readonly\" 类型修饰符。",
@@ -1785,6 +1772,7 @@
1785
1772
  "this_cannot_be_referenced_in_constructor_arguments_2333": "不能在构造函数参数中引用 \"this\"。",
1786
1773
  "this_cannot_be_referenced_in_current_location_2332": "不能在当前位置引用 \"this\"。",
1787
1774
  "this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683": "\"this\" 隐式具有类型 \"any\",因为它没有类型注释。",
1775
+ "true_for_ES2022_and_above_including_ESNext_6930": "对于 ES2022 及更高版本为 `true`,包括 ESNext。",
1788
1776
  "true_if_composite_false_otherwise_6909": "如果为 \"composite\",则为 \"true\",否则为 \"false\"",
1789
1777
  "tsc_Colon_The_TypeScript_Compiler_6922": "tsc: TypeScript 编译器",
1790
1778
  "type_Colon_6902": "类型:",