typescript 5.6.0-dev.20240730 → 5.6.0-dev.20240731
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/cs/diagnosticMessages.generated.json +285 -85
- package/lib/de/diagnosticMessages.generated.json +285 -85
- package/lib/es/diagnosticMessages.generated.json +283 -83
- package/lib/fr/diagnosticMessages.generated.json +285 -85
- package/lib/it/diagnosticMessages.generated.json +284 -84
- package/lib/ja/diagnosticMessages.generated.json +284 -84
- package/lib/ko/diagnosticMessages.generated.json +284 -84
- package/lib/pl/diagnosticMessages.generated.json +283 -83
- package/lib/pt-br/diagnosticMessages.generated.json +285 -85
- package/lib/ru/diagnosticMessages.generated.json +285 -85
- package/lib/tr/diagnosticMessages.generated.json +285 -85
- package/lib/tsc.js +19 -2
- package/lib/typescript.js +19 -2
- package/lib/zh-cn/diagnosticMessages.generated.json +284 -84
- package/lib/zh-tw/diagnosticMessages.generated.json +281 -81
- package/package.json +2 -2
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
"ALL_COMPILER_OPTIONS_6917": "所有编译器选项",
|
|
3
3
|
"A_0_modifier_cannot_be_used_with_an_import_declaration_1079": "“{0}”修饰符不能与导入声明一起使用。",
|
|
4
4
|
"A_0_parameter_must_be_the_first_parameter_2680": "“{0}”参数必须是第一个参数。",
|
|
5
|
+
"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039": "JSDoc“@template”标记不能跟在“@typedef”、“@callback”或“@overload”标记后面",
|
|
5
6
|
"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033": "JSDoc \"@typedef\" 注释不能包含多个 \"@type\" 标记。",
|
|
7
|
+
"A_bigint_literal_cannot_be_used_as_a_property_name_1539": "“bigint”文本不能用作属性名称。",
|
|
6
8
|
"A_bigint_literal_cannot_use_exponential_notation_1352": "BigInt 字面量中不能使用指数符号。",
|
|
7
9
|
"A_bigint_literal_must_be_an_integer_1353": "BigInt 字面量必须是整数。",
|
|
8
10
|
"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463": "绑定模式参数在实现签名中不能为可选参数。",
|
|
9
11
|
"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105": "\"break\" 语句只能在封闭迭代或 switch 语句内使用。",
|
|
10
12
|
"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116": "\"break\" 语句只能跳转到封闭语句的标签。",
|
|
13
|
+
"A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522": "字符类不得包含保留的双标点符号。你是否想要使用反斜杠对其进行转义?",
|
|
14
|
+
"A_character_class_range_must_not_be_bounded_by_another_character_class_1516": "字符类范围不能由另一个字符类绑定。",
|
|
11
15
|
"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500": "类只能实现具有可选类型参数的标识符/限定名称。",
|
|
12
16
|
"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422": "类只能实现具有静态已知成员的对象类型或对象类型的交集。",
|
|
17
|
+
"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863": "类无法扩展“{0}”这样的基元类型。类只能扩展可构造值。",
|
|
18
|
+
"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864": "类无法实现类似于“{0}”的基元类型。它只能实现其他命名对象类型。",
|
|
13
19
|
"A_class_declaration_without_the_default_modifier_must_have_a_name_1211": "不带 \"default\" 修饰符的类声明必须具有名称。",
|
|
14
20
|
"A_class_member_cannot_have_the_0_keyword_1248": "类成员不可具有“{0}”关键字。",
|
|
15
21
|
"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171": "计算属性名中不允许逗号表达式。",
|
|
@@ -27,6 +33,7 @@
|
|
|
27
33
|
"A_constructor_cannot_have_a_this_parameter_2681": "构造函数不可具有 \"this\" 参数。",
|
|
28
34
|
"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104": "\"continue\" 语句只能在封闭迭代语句内使用。",
|
|
29
35
|
"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115": "\"continue\" 语句只能跳转到封闭迭代语句的标签。",
|
|
36
|
+
"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846": "如果没有“导入类型”,则无法导入声明文件。是否要改为导入实现文件“{0}”?",
|
|
30
37
|
"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038": "不能在已有的环境上下文中使用 \"declare\" 修饰符。",
|
|
31
38
|
"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249": "修饰器仅可修饰方法实现,而不可修饰重载。",
|
|
32
39
|
"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113": "\"default\" 子句在 \"switch\" 语句中只能出现一次。",
|
|
@@ -34,12 +41,12 @@
|
|
|
34
41
|
"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258": "默认导出必须位于文件或模块声明的顶层。",
|
|
35
42
|
"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255": "此上下文中不允许明确的赋值断言 \"!\"。",
|
|
36
43
|
"A_destructuring_declaration_must_have_an_initializer_1182": "析构声明必须具有初始化表达式。",
|
|
37
|
-
"
|
|
44
|
+
"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712": "ES5 中的动态导入调用需要“Promise”构造函数。请确保对 “Promise” 构造函数进行了声明或在 “--lib” 选项中包含了 “ES2015”。",
|
|
38
45
|
"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711": "动态导入调用返回 “Promise”。请确保具有对 “Promise” 的声明或在 “--lib” 选项中包含了 “ES2015”。",
|
|
39
46
|
"A_file_cannot_have_a_reference_to_itself_1006": "文件不能引用自身。",
|
|
40
47
|
"A_function_returning_never_cannot_have_a_reachable_end_point_2534": "返回“从不”的函数不能具有可访问的终结点。",
|
|
41
48
|
"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679": "使用 'new' 关键字调用的函数的 'this' 类型不能为 'void'。",
|
|
42
|
-
"
|
|
49
|
+
"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355": "其声明类型不为 \"undefined\"、\"void\" 或 \"any\" 的函数必须返回值。",
|
|
43
50
|
"A_generator_cannot_have_a_void_type_annotation_2505": "生成器不能具有 \"void\" 类型批注。",
|
|
44
51
|
"A_get_accessor_cannot_have_parameters_1054": "\"get\" 访问器不能具有参数。",
|
|
45
52
|
"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808": "Get 访问器必须至少具有与 Setter 相同的可访问性",
|
|
@@ -57,7 +64,6 @@
|
|
|
57
64
|
"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "命名空间声明只允许位于命名空间或模块的顶层。",
|
|
58
65
|
"A_non_dry_build_would_build_project_0_6357": "非 -dry 生成将生成项目“{0}”",
|
|
59
66
|
"A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "非 -dry 生成将删除以下文件: {0}",
|
|
60
|
-
"A_non_dry_build_would_update_output_of_project_0_6375": "非 dry 生成将更新项目 '{0}' 的输出",
|
|
61
67
|
"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "非 dry 生成将更新项目 '{0}' 的输出的时间戳",
|
|
62
68
|
"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371": "只允许在函数或构造函数实现中使用参数初始化表达式。",
|
|
63
69
|
"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317": "不能使用 rest 参数声明参数属性。",
|
|
@@ -92,6 +98,7 @@
|
|
|
92
98
|
"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376": "当派生类包含初始化属性、参数属性或专用标识符时,“super” 调用必须是构造函数中用来引用 “super” 或 “this” 的第一个语句。",
|
|
93
99
|
"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "基于 \"this\" 的类型防护与基于参数的类型防护不兼容。",
|
|
94
100
|
"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526": "\"this\" 类型仅在类或接口的非静态成员中可用。",
|
|
101
|
+
"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287": "启用“verbatimModuleSyntax”时,不能对 CommonJS 模块中的值声明使用顶级“export”修饰符。",
|
|
95
102
|
"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054": "已在“{0}”中定义了 \"tsconfig.json\" 文件。",
|
|
96
103
|
"A_tuple_member_cannot_be_both_optional_and_rest_5085": "元组成员不能既是可选的又是 rest。",
|
|
97
104
|
"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514": "不能使用负值为元组类型编制索引。",
|
|
@@ -107,12 +114,21 @@
|
|
|
107
114
|
"A_yield_expression_is_only_allowed_in_a_generator_body_1163": "只允许在生成器正文中使用 \"yield\" 表达式。",
|
|
108
115
|
"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513": "无法通过 super 表达式访问“{1}”类中的“{0}”抽象方法。",
|
|
109
116
|
"Abstract_methods_can_only_appear_within_an_abstract_class_1244": "抽象方法只能出现在抽象类中。",
|
|
117
|
+
"Abstract_properties_can_only_appear_within_an_abstract_class_1253": "抽象属性只能出现在抽象类中。",
|
|
110
118
|
"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715": "不能在构造函数中访问类“{1}”中的抽象属性“{0}”。",
|
|
111
119
|
"Accessibility_modifier_already_seen_1028": "已看到可访问性修饰符。",
|
|
112
120
|
"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056": "访问器仅在面向 ECMAScript 5 和更高版本时可用。",
|
|
113
121
|
"Accessors_must_both_be_abstract_or_non_abstract_2676": "两个取值函数必须都是抽象的或都是非抽象的。",
|
|
114
122
|
"Add_0_to_unresolved_variable_90008": "将“{0}.”添加到未解析的变量",
|
|
115
123
|
"Add_a_return_statement_95111": "添加 return 语句",
|
|
124
|
+
"Add_a_return_type_to_the_function_declaration_9031": "将返回类型添加到函数声明。",
|
|
125
|
+
"Add_a_return_type_to_the_function_expression_9030": "将返回类型添加到函数表达式。",
|
|
126
|
+
"Add_a_return_type_to_the_get_accessor_declaration_9032": "将返回类型添加到 get 访问器声明。",
|
|
127
|
+
"Add_a_return_type_to_the_method_9034": "向方法添加返回类型",
|
|
128
|
+
"Add_a_type_annotation_to_the_parameter_0_9028": "向参数 {0} 添加类型注释。",
|
|
129
|
+
"Add_a_type_annotation_to_the_property_0_9029": "向属性 {0} 添加类型注释。",
|
|
130
|
+
"Add_a_type_annotation_to_the_variable_0_9027": "向变量 {0} 添加类型注释。",
|
|
131
|
+
"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033": "将类型添加到 set 访问器声明的参数。",
|
|
116
132
|
"Add_all_missing_async_modifiers_95041": "添加所有缺失的 \"async\" 修饰符",
|
|
117
133
|
"Add_all_missing_attributes_95168": "添加所有缺少的属性",
|
|
118
134
|
"Add_all_missing_call_parentheses_95068": "添加所有缺失的调用括号",
|
|
@@ -120,9 +136,13 @@
|
|
|
120
136
|
"Add_all_missing_imports_95064": "添加所有缺少的导入",
|
|
121
137
|
"Add_all_missing_members_95022": "添加所有缺少的成员",
|
|
122
138
|
"Add_all_missing_override_modifiers_95162": "添加所有缺失的 \"override\" 修饰符",
|
|
139
|
+
"Add_all_missing_parameters_95190": "添加所有缺少的参数",
|
|
123
140
|
"Add_all_missing_properties_95166": "添加所有缺少的属性",
|
|
124
141
|
"Add_all_missing_return_statement_95114": "添加所有缺少的 return 语句",
|
|
125
142
|
"Add_all_missing_super_calls_95039": "添加所有缺失的 super() 调用",
|
|
143
|
+
"Add_all_missing_type_annotations_90067": "添加所有缺少的类型注释",
|
|
144
|
+
"Add_all_optional_parameters_95193": "添加所有可选参数",
|
|
145
|
+
"Add_annotation_of_type_0_90062": "添加类型为“{0}”的注释",
|
|
126
146
|
"Add_async_modifier_to_containing_function_90029": "将异步修饰符添加到包含函数",
|
|
127
147
|
"Add_await_95083": "添加 \"await\"",
|
|
128
148
|
"Add_await_to_initializer_for_0_95084": "将 \"await\" 添加到 \"{0}\" 的初始值设定项",
|
|
@@ -141,18 +161,26 @@
|
|
|
141
161
|
"Add_initializers_to_all_uninitialized_properties_95027": "将初始化表达式添加到未初始化的所有属性",
|
|
142
162
|
"Add_missing_attributes_95167": "添加缺少的属性",
|
|
143
163
|
"Add_missing_call_parentheses_95067": "添加缺失的调用括号",
|
|
164
|
+
"Add_missing_comma_for_object_member_completion_0_95187": "为对象成员完成“{0}”添加缺少的逗号。",
|
|
144
165
|
"Add_missing_enum_member_0_95063": "添加缺少的枚举成员 \"{0}\"",
|
|
145
166
|
"Add_missing_function_declaration_0_95156": "添加缺少的函数声明 \"{0}\"",
|
|
146
167
|
"Add_missing_new_operator_to_all_calls_95072": "将缺少的 \"new\" 运算符添加到所有调用",
|
|
147
168
|
"Add_missing_new_operator_to_call_95071": "将缺少的 \"new\" 运算符添加到调用",
|
|
169
|
+
"Add_missing_parameter_to_0_95188": "将缺少的参数添加到“{0}”",
|
|
170
|
+
"Add_missing_parameters_to_0_95189": "将缺少的参数添加到“{0}”",
|
|
148
171
|
"Add_missing_properties_95165": "添加缺少的属性",
|
|
149
172
|
"Add_missing_super_call_90001": "添加缺失的 \"super()\" 调用",
|
|
150
173
|
"Add_missing_typeof_95052": "添加缺少的 \"typeof\"",
|
|
151
174
|
"Add_names_to_all_parameters_without_names_95073": "为没有名称的所有参数添加名称",
|
|
175
|
+
"Add_optional_parameter_to_0_95191": "将可选参数添加到“{0}”",
|
|
176
|
+
"Add_optional_parameters_to_0_95192": "将可选参数添加到“{0}”",
|
|
152
177
|
"Add_or_remove_braces_in_an_arrow_function_95058": "添加或删除箭头函数中的大括号",
|
|
153
178
|
"Add_override_modifier_95160": "添加 \"override\" 修饰符",
|
|
154
179
|
"Add_parameter_name_90034": "添加参数名称",
|
|
155
180
|
"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "将限定符添加到匹配成员名称的所有未解析变量",
|
|
181
|
+
"Add_return_type_0_90063": "添加返回类型“{0}”",
|
|
182
|
+
"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "将 satisfies 和类型断言添加到此表达式 (satisfies T as T) 以使类型显式。",
|
|
183
|
+
"Add_satisfies_and_an_inline_type_assertion_with_0_90068": "使用“{0}”添加 satisfies 和内联类型断言",
|
|
156
184
|
"Add_to_all_uncalled_decorators_95044": "将 \"()\" 添加到所有未调用的修饰器",
|
|
157
185
|
"Add_ts_ignore_to_all_error_messages_95042": "将 \"@ts-ignore\" 添加到所有错误消息",
|
|
158
186
|
"Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引访问时,将 “undefined” 添加到类型。",
|
|
@@ -177,6 +205,7 @@
|
|
|
177
205
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允许从不带默认输出的模块中默认输入。这不会影响代码发出,只是类型检查。",
|
|
178
206
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "当模块没有默认导出时,允许“从 y 导入 x”。",
|
|
179
207
|
"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639": "允许每个项目从 tslib 导入帮助程序函数一次,而不是将它们包含在每个文件中。",
|
|
208
|
+
"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407": "允许导入包含 TypeScript 文件扩展名。需要设置“--moduleResolution bundler”以及“--noEmit”或“--emitDeclarationOnly”。",
|
|
180
209
|
"Allow_javascript_files_to_be_compiled_6102": "允许编译 JavaScript 文件。",
|
|
181
210
|
"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691": "允许在解析模块时将多个文件夹视为一个文件夹。",
|
|
182
211
|
"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261": "已包含的文件名 \"{0}\" 仅大小写与文件名 \"{1}\" 不同。",
|
|
@@ -192,7 +221,7 @@
|
|
|
192
221
|
"An_argument_matching_this_binding_pattern_was_not_provided_6211": "未提供与此绑定模式匹配的自变量。",
|
|
193
222
|
"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356": "算术操作数必须为类型 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
194
223
|
"An_arrow_function_cannot_have_a_this_parameter_2730": "箭头函数不能包含 \"this\" 参数。",
|
|
195
|
-
"
|
|
224
|
+
"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705": "ES5 中的异步函数或方法需要“Promise”构造函数。请确保对 “Promise” 构造函数进行了声明或在 “--lib” 选项中包含了 “ES2015”。",
|
|
196
225
|
"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
226
|
"An_async_iterator_must_have_a_next_method_2519": "异步迭代器必须具有 \"next()\" 方法。",
|
|
198
227
|
"An_element_access_expression_should_take_an_argument_1011": "元素访问表达式应采用参数。",
|
|
@@ -207,17 +236,22 @@
|
|
|
207
236
|
"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474": "导出声明只能在模块的顶层使用。",
|
|
208
237
|
"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233": "导出声明只能在命名空间或模块的顶层使用。",
|
|
209
238
|
"An_export_declaration_cannot_have_modifiers_1193": "导出声明不能有修饰符。",
|
|
239
|
+
"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283": "启用“verbatimModuleSyntax”,但“{0}”解析为仅类型声明时,“export =”声明必须引用实际值。",
|
|
240
|
+
"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282": "启用“verbatimModuleSyntax”时,“export =”声明必须引用值,但“{0}”仅引用类型。",
|
|
241
|
+
"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285": "启用“verbatimModuleSyntax”,但“{0}”解析为仅类型声明时,“export default”必须引用实际值。",
|
|
242
|
+
"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284": "启用“verbatimModuleSyntax”时,“export default”必须引用一个值,但“{0}”只引用了一个类型。",
|
|
210
243
|
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "无法测试 \"void\" 类型的表达式的真实性。",
|
|
211
244
|
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "扩展的 Unicode 转义值必须介于(含) 0x0 和 0x10FFFF 之间。",
|
|
212
245
|
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "标识符或关键字不能紧跟在数字字面量之后。",
|
|
213
246
|
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "不能在环境上下文中声明实现。",
|
|
214
247
|
"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379": "导入别名不能引用使用 \"export type\" 导出的声明。",
|
|
215
248
|
"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380": "导入别名不能引用使用 \"import type\" 导入的声明。",
|
|
249
|
+
"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288": "启用“verbatimModuleSyntax”时,导入别名无法解析为类型或仅类型声明。",
|
|
216
250
|
"An_import_alias_cannot_use_import_type_1392": "导入别名不能使用“导入类型”",
|
|
217
251
|
"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473": "导入声明只能在模块的顶层使用。",
|
|
218
252
|
"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232": "导入声明只能在命名空间或模块的顶层使用。",
|
|
219
253
|
"An_import_declaration_cannot_have_modifiers_1191": "导入声明不能有修饰符。",
|
|
220
|
-
"
|
|
254
|
+
"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097": "启用“allowImportingTsExtensions”时,导入路径只能以“{0}”扩展名结尾。",
|
|
221
255
|
"An_index_signature_cannot_have_a_rest_parameter_1017": "索引签名不能包含 rest 参数。",
|
|
222
256
|
"An_index_signature_cannot_have_a_trailing_comma_1025": "索引签名不能包含尾随逗号。",
|
|
223
257
|
"An_index_signature_must_have_a_type_annotation_1021": "索引签名必须具有类型批注。",
|
|
@@ -231,7 +265,7 @@
|
|
|
231
265
|
"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477": "实例化表达式不能后跟属性访问。",
|
|
232
266
|
"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499": "接口只能扩展具有可选类型参数的标识符/限定名称。",
|
|
233
267
|
"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312": "接口只能扩展使用静态已知成员的对象类型或对象类型的交集。",
|
|
234
|
-
"
|
|
268
|
+
"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840": "接口无法扩展“{0}”这样的基元类型。它只能扩展其他命名对象类型。",
|
|
235
269
|
"An_interface_property_cannot_have_an_initializer_1246": "接口函数不能具有初始化表达式。",
|
|
236
270
|
"An_iterator_must_have_a_next_method_2489": "迭代器必须具有 \"next()\" 方法。",
|
|
237
271
|
"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017": "将 @jsx 杂注与 JSX 片段一起使用时,需要使用 @jsxFrag 杂注。",
|
|
@@ -239,14 +273,18 @@
|
|
|
239
273
|
"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117": "对象文本不能具有多个名称相同的属性。",
|
|
240
274
|
"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119": "对象文字不能包含具有相同名称的属性和访问器。",
|
|
241
275
|
"An_object_member_cannot_be_declared_optional_1162": "对象成员无法声明为可选。",
|
|
276
|
+
"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861": "对象的“[Symbol.hasInstance]”方法必须返回布尔值,这样它才能在“instanceof”表达式的右侧使用。",
|
|
242
277
|
"An_optional_chain_cannot_contain_private_identifiers_18030": "可选链不能包含专用标识符。",
|
|
243
278
|
"An_optional_element_cannot_follow_a_rest_element_1266": "可选元素不能跟在 rest 元素之后。",
|
|
244
279
|
"An_outer_value_of_this_is_shadowed_by_this_container_2738": "此容器隐藏了 \"this\" 的外部值。",
|
|
245
280
|
"An_overload_signature_cannot_be_declared_as_a_generator_1222": "重载签名无法声明为生成器。",
|
|
246
281
|
"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006": "乘方表达式的左侧不允许存在具有“{0}”运算符的一元表达式。请考虑用括号将表达式括起。",
|
|
247
282
|
"Annotate_everything_with_types_from_JSDoc_95043": "使用 JSDoc 中的类型批注所有内容",
|
|
283
|
+
"Annotate_types_of_properties_expando_function_in_a_namespace_90071": "注释命名空间中属性 expando 函数的类型",
|
|
248
284
|
"Annotate_with_type_from_JSDoc_95009": "通过 JSDoc 类型批注",
|
|
249
285
|
"Another_export_default_is_here_2753": "这里是其他导出默认值。",
|
|
286
|
+
"Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528": "任何可能匹配多个字符的 Unicode 属性仅在设置 Unicode Sets (v) 标志时可用。",
|
|
287
|
+
"Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518": "可能匹配多个字符的任何内容在被否定的字符类中无效。",
|
|
250
288
|
"Are_you_missing_a_semicolon_2734": "是否缺少分号?",
|
|
251
289
|
"Argument_expression_expected_1135": "应为参数表达式。",
|
|
252
290
|
"Argument_for_0_option_must_be_Colon_1_6046": "“{0}”选项的参数必须为 {1}。",
|
|
@@ -255,13 +293,15 @@
|
|
|
255
293
|
"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379": "类型为“{0}”的参数不能分配给类型为“{1}”且 “exactOptionalPropertyTypes: true” 的参数。请考虑将 “undefined” 添加到目标属性的类型。",
|
|
256
294
|
"Arguments_for_the_rest_parameter_0_were_not_provided_6236": "未提供 rest 形参“{0}”的实参。",
|
|
257
295
|
"Array_element_destructuring_pattern_expected_1181": "应为数组元素析构模式。",
|
|
296
|
+
"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018": "无法使用 --isolatedDeclarations 推断具有分布元素的数组。",
|
|
258
297
|
"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775": "断言要求使用显式类型注释声明调用目标中的每个名称。",
|
|
259
298
|
"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "断言要求调用目标为标识符或限定名。",
|
|
299
|
+
"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "--isolatedDeclarations 不支持将属性分配给不声明它们的函数。为分配给此函数的属性添加显式声明。",
|
|
260
300
|
"Asterisk_Slash_expected_1010": "应为 \"*/\"。",
|
|
301
|
+
"At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "至少一个访问器必须具有带有 --isolatedDeclarations 的显式返回类型注释。",
|
|
261
302
|
"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "全局范围的扩大仅可直接嵌套在外部模块中或环境模块声明中。",
|
|
262
303
|
"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "全局范围的扩大应具有 \"declare\" 修饰符,除非它们显示在已有的环境上下文中。",
|
|
263
304
|
"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "项目“{0}”中启用了键入内容的自动发现。使用缓存位置“{2}”运行模块“{1}”的额外解决传递。",
|
|
264
|
-
"Await_expression_cannot_be_used_inside_a_class_static_block_18037": "无法在类静态块内使用 await 表达式。",
|
|
265
305
|
"BUILD_OPTIONS_6919": "生成选项",
|
|
266
306
|
"Backwards_Compatibility_6253": "向后兼容性",
|
|
267
307
|
"Base_class_expressions_cannot_reference_class_type_parameters_2562": "基类表达式无法引用类类型参数。",
|
|
@@ -271,12 +311,14 @@
|
|
|
271
311
|
"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737": "目标低于 ES2020 时,BigInt 字面量不可用。",
|
|
272
312
|
"Binary_digit_expected_1177": "需要二进制数字。",
|
|
273
313
|
"Binding_element_0_implicitly_has_an_1_type_7031": "绑定元素“{0}”隐式具有“{1}”类型。",
|
|
314
|
+
"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019": "绑定元素不能直接使用 --isolatedDeclarations 导出。",
|
|
274
315
|
"Block_scoped_variable_0_used_before_its_declaration_2448": "声明之前已使用的块范围变量“{0}”。",
|
|
275
316
|
"Build_a_composite_project_in_the_working_directory_6925": "在工作目录中生成复合项目。",
|
|
276
317
|
"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636": "生成所有项目,包括那些似乎是最新的项目。",
|
|
277
318
|
"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364": "生成一个或多个项目及其依赖项(如果已过期)",
|
|
278
319
|
"Build_option_0_requires_a_value_of_type_1_5073": "生成选项 \"{0}\" 需要类型 {1} 的值。",
|
|
279
320
|
"Building_project_0_6358": "正在生成项目“{0}”...",
|
|
321
|
+
"Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720": "内置迭代器实例化时,“TReturn”类型为“undefined”而不是“any”。",
|
|
280
322
|
"COMMAND_LINE_FLAGS_6921": "命令行标记",
|
|
281
323
|
"COMMON_COMMANDS_6916": "常见命令",
|
|
282
324
|
"COMMON_COMPILER_OPTIONS_6920": "常见编译器选项",
|
|
@@ -284,13 +326,13 @@
|
|
|
284
326
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "调用签名返回类型 \"{0}\" 和 \"{1}\" 不兼容。",
|
|
285
327
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "缺少返回类型批注的调用签名隐式具有返回类型 \"any\"。",
|
|
286
328
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "没有参数的调用签名具有不兼容的返回类型 \"{0}\" 和 \"{1}\"。",
|
|
287
|
-
"Call_target_does_not_contain_any_signatures_2346": "调用目标不包含任何签名。",
|
|
288
329
|
"Can_only_convert_logical_AND_access_chains_95142": "仅可转换逻辑 AND 访问链",
|
|
289
330
|
"Can_only_convert_named_export_95164": "只能转换已命名的导出",
|
|
290
331
|
"Can_only_convert_property_with_modifier_95137": "只能转换带修饰符的属性",
|
|
291
|
-
"
|
|
332
|
+
"Can_only_convert_string_concatenations_and_string_literals_95154": "只能转换字符串串联和字符串文本",
|
|
292
333
|
"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713": "无法访问“{0}.{1}”,因为“{0}”是类型,不是命名空间。是否要使用“{0}[\"{1}\"]”检索“{0}”中“{1}”属性的类型?",
|
|
293
|
-
"
|
|
334
|
+
"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281": "启用“{1}”时,无法从没有限定的其他文件访问“{0}”。请改用“{2}”。",
|
|
335
|
+
"Cannot_access_ambient_const_enums_when_0_is_enabled_2748": "启用“{0}”时,无法访问环境常量枚举。",
|
|
294
336
|
"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672": "不可将“{0}”构造函数类型分配给“{1}”构造函数类型。",
|
|
295
337
|
"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517": "无法将抽象构造函数类型分配给非抽象构造函数类型。",
|
|
296
338
|
"Cannot_assign_to_0_because_it_is_a_class_2629": "无法为“{0}”赋值,因为它是类。",
|
|
@@ -317,7 +359,7 @@
|
|
|
317
359
|
"Cannot_find_lib_definition_for_0_2726": "找不到“{0}”的库定义。",
|
|
318
360
|
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "找不到“{0}”的库定义。你是指“{1}”?",
|
|
319
361
|
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模块“{0}”。请考虑使用 \"--resolveJsonModule\" 导入带 \".json\" 扩展的模块。",
|
|
320
|
-
"
|
|
362
|
+
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "找不到模块“{0}”。你的意思是要将 \"moduleResolution\" 选项设置为 \"nodenext\",还是要将别名添加到 \"paths\" 选项中?",
|
|
321
363
|
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "找不到模块“{0}”或其相应的类型声明。",
|
|
322
364
|
"Cannot_find_name_0_2304": "找不到名称“{0}”。",
|
|
323
365
|
"Cannot_find_name_0_Did_you_mean_1_2552": "找不到名称“{0}”。你是否指的是“{1}”?",
|
|
@@ -326,6 +368,8 @@
|
|
|
326
368
|
"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311": "找不到名称“{0}”。你是否要在异步函数中写入此内容?",
|
|
327
369
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583": "找不到名称“{0}”。是否需要更改目标库? 请尝试将 “lib” 编译器选项更改为“{1}”或更高版本。",
|
|
328
370
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584": "找不到名称“{0}”。是否需要更改目标库? 请尝试更改 “lib” 编译器选项以包括 “dom”。",
|
|
371
|
+
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867": "找不到名称“{0}”。你是否需要安装 Bun 的类型定义?请尝试运行 `npm i --save-dev @types/bun`。",
|
|
372
|
+
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868": "找不到名称“{0}”。你是否需要安装 Bun 的类型定义?请尝试运行 `npm i --save-dev @types/bun`,然后将 \"bun\" 添加到 tsconfig 的 types 字段。",
|
|
329
373
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582": "找不到名称 \"{0}\"。是否需要安装测试运行器的类型定义? 请尝试使用 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`。",
|
|
330
374
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593": "找不到名称“{0}”。是否需要安装测试运行器的类型定义? 请尝试使用 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`,然后将 “jest” 或 “mocha” 添加到 tsconfig 中的类型字段。。",
|
|
331
375
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581": "找不到名称 \"{0}\"。是否需要安装 jQuery 的类型定义? 请尝试使用 `npm i --save-dev @types/jquery`。",
|
|
@@ -345,16 +389,16 @@
|
|
|
345
389
|
"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765": "无法迭代值,因为其迭代器的 \"next\" 方法需要类型 \"{1}\",但数组析构将始终发送 \"{0}\"。",
|
|
346
390
|
"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764": "无法迭代值,因为其迭代器的 \"next\" 方法需要类型 \"{1}\",但数组扩张将始终发送 \"{0}\"。",
|
|
347
391
|
"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763": "无法迭代值,因为其迭代器的 \"next\" 方法需要类型 \"{1}\",但 for-of 将始终发送 \"{0}\"。",
|
|
348
|
-
"
|
|
392
|
+
"Cannot_move_statements_to_the_selected_file_95183": "无法将语句移动到所选文件",
|
|
393
|
+
"Cannot_move_to_file_selected_file_is_invalid_95179": "无法移动到文件,所选文件无效",
|
|
349
394
|
"Cannot_read_file_0_5083": "无法读取文件“{0}”。",
|
|
350
395
|
"Cannot_read_file_0_Colon_1_5012": "无法读取文件“{0}”: {1}。",
|
|
351
396
|
"Cannot_redeclare_block_scoped_variable_0_2451": "无法重新声明块范围变量“{0}”。",
|
|
352
397
|
"Cannot_redeclare_exported_variable_0_2323": "无法重新声明导出的变量“{0}”。",
|
|
353
398
|
"Cannot_redeclare_identifier_0_in_catch_clause_2492": "无法在 catch 子句中重新声明标识符“{0}”。",
|
|
354
399
|
"Cannot_start_a_function_call_in_a_type_annotation_1441": "无法在类型注释中启动函数调用。",
|
|
355
|
-
"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376": "无法更新项目 \"{0}\" 的输出,因为读取文件 \"{1}\" 时出错",
|
|
356
400
|
"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004": "无法使用 JSX,除非提供了 \"--jsx\" 标志。",
|
|
357
|
-
"
|
|
401
|
+
"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269": "启用“{0}”时,不能对类型或仅类型命名空间使用“export import”。",
|
|
358
402
|
"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148": "当 \"--module\" 为 \"none\" 时无法使用导入、导出或模块扩大。",
|
|
359
403
|
"Cannot_use_namespace_0_as_a_type_2709": "不能将命名空间“{0}”用作类型。",
|
|
360
404
|
"Cannot_use_namespace_0_as_a_value_2708": "不能将命名空间“{0}”用作值。",
|
|
@@ -371,6 +415,7 @@
|
|
|
371
415
|
"Change_extends_to_implements_90003": "将 \"extends\" 改为 \"implements\"",
|
|
372
416
|
"Change_spelling_to_0_90022": "将拼写更改为“{0}”",
|
|
373
417
|
"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700": "检查是否有已声明但未在构造函数中设置的类属性。",
|
|
418
|
+
"Check_side_effect_imports_6806": "检查副作用导入。",
|
|
374
419
|
"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697": "检查 “bind”、“call” 和 “apply” 方法的参数是否与原始函数匹配。",
|
|
375
420
|
"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104": "检查“{0}”是否是“{1}”-“{2}”的最长匹配前缀。",
|
|
376
421
|
"Circular_definition_of_import_alias_0_2303": "导入别名“{0}”的循环定义。",
|
|
@@ -388,6 +433,7 @@
|
|
|
388
433
|
"Class_declaration_cannot_implement_overload_list_for_0_2813": "类声明无法实现“{0}”的重载列表。",
|
|
389
434
|
"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025": "类声明不能有多个 “@augments” 或 “@extends” 标记。",
|
|
390
435
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "类修饰器不能与静态专用标识符一起使用。请考虑删除实验性修饰器。",
|
|
436
|
+
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "父类定义的类字段“{0}”无法通过 super 在子类中访问。",
|
|
391
437
|
"Class_name_cannot_be_0_2414": "类名不能为“{0}”。",
|
|
392
438
|
"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725": "使用模块 {0} 将目标设置为 ES5 时,类名称不能为 \"Object\"。",
|
|
393
439
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "类静态侧“{0}”错误扩展基类静态侧“{1}”。",
|
|
@@ -397,6 +443,7 @@
|
|
|
397
443
|
"Command_line_Options_6171": "命令行选项",
|
|
398
444
|
"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020": "编译给定了其配置文件路径或带 \"tsconfig.json\" 的文件夹路径的项目。",
|
|
399
445
|
"Compiler_Diagnostics_6251": "编译器诊断",
|
|
446
|
+
"Compiler_option_0_cannot_be_given_an_empty_string_18051": "无法为编译器选项“{0}”提供空字符串。",
|
|
400
447
|
"Compiler_option_0_expects_an_argument_6044": "编译器选项“{0}”需要参数。",
|
|
401
448
|
"Compiler_option_0_may_not_be_used_with_build_5094": "编译器选项“--{0}”不能与 “--build” 一起使用。",
|
|
402
449
|
"Compiler_option_0_may_only_be_used_with_build_5093": "编译器选项“--{0}”只能与 “--build” 一起使用。",
|
|
@@ -410,10 +457,12 @@
|
|
|
410
457
|
"Composite_projects_may_not_disable_declaration_emit_6304": "复合项目可能不会禁用声明发出。",
|
|
411
458
|
"Composite_projects_may_not_disable_incremental_compilation_6379": "复合项目不能禁用增量编译。",
|
|
412
459
|
"Computed_from_the_list_of_input_files_6911": "从输入文件列表计算",
|
|
460
|
+
"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014": "计算属性必须是数字或字符串文本、变量或带 --isolatedDeclarations 的虚线表达式。",
|
|
413
461
|
"Computed_property_names_are_not_allowed_in_enums_1164": "枚举中不允许计算属性名。",
|
|
462
|
+
"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038": "不能使用 --isolatedDeclarations 推断类或对象文本上的计算属性名称。",
|
|
414
463
|
"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553": "含字符串值成员的枚举中不允许使用计算值。",
|
|
415
464
|
"Concatenate_and_emit_output_to_single_file_6001": "连接输出并将其发出到单个文件。",
|
|
416
|
-
"
|
|
465
|
+
"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410": "解析导入时除特定于解析程序的默认值外要设置的条件。",
|
|
417
466
|
"Conflicts_are_in_this_file_6201": "此文件中存在冲突。",
|
|
418
467
|
"Consider_adding_a_declare_modifier_to_this_class_6506": "请考虑向此类添加 “declare” 修饰符。",
|
|
419
468
|
"Construct_signature_return_types_0_and_1_are_incompatible_2203": "构造签名返回类型 \"{0}\" 和 \"{1}\" 不兼容。",
|
|
@@ -433,7 +482,6 @@
|
|
|
433
482
|
"Convert_0_to_mapped_object_type_95055": "将“{0}”转换为映射对象类型",
|
|
434
483
|
"Convert_all_const_to_let_95102": "将所有 'const' 转换为 'let'",
|
|
435
484
|
"Convert_all_constructor_functions_to_classes_95045": "将所有构造函数都转换为类",
|
|
436
|
-
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "将不用作值的所有导入转换为仅类型导入",
|
|
437
485
|
"Convert_all_invalid_characters_to_HTML_entity_code_95101": "将所有无效字符转换为 HTML 实体代码",
|
|
438
486
|
"Convert_all_re_exported_types_to_type_only_exports_1365": "将所有重新导出的类型转换为仅类型导出",
|
|
439
487
|
"Convert_all_require_to_import_95048": "将所有 \"require\" 转换为 \"import\"",
|
|
@@ -441,6 +489,7 @@
|
|
|
441
489
|
"Convert_all_to_bigint_numeric_literals_95092": "全部转换为 BigInt 数字字面量",
|
|
442
490
|
"Convert_all_to_default_imports_95035": "全部转换为默认导入",
|
|
443
491
|
"Convert_all_type_literals_to_mapped_type_95021": "将所有类型文本转换为映射类型",
|
|
492
|
+
"Convert_all_typedef_to_TypeScript_types_95177": "将所有 typedef 转换为 TypeScript 类型。",
|
|
444
493
|
"Convert_arrow_function_or_function_expression_95122": "转换箭头函数或函数表达式",
|
|
445
494
|
"Convert_const_to_let_95093": "将 \"const\" 转换为 \"let\"",
|
|
446
495
|
"Convert_default_export_to_named_export_95061": "将默认导出转换为命名导出",
|
|
@@ -465,7 +514,7 @@
|
|
|
465
514
|
"Convert_to_optional_chain_expression_95139": "转换为可选链表达式",
|
|
466
515
|
"Convert_to_template_string_95096": "转换为模板字符串",
|
|
467
516
|
"Convert_to_type_only_export_1364": "转换为仅类型导出",
|
|
468
|
-
"
|
|
517
|
+
"Convert_typedef_to_TypeScript_type_95176": "将 typedef 转换为 TypeScript 类型。",
|
|
469
518
|
"Corrupted_locale_file_0_6051": "区域设置文件 {0} 已损坏。",
|
|
470
519
|
"Could_not_convert_to_anonymous_function_95153": "无法转换为匿名函数",
|
|
471
520
|
"Could_not_convert_to_arrow_function_95151": "无法转换为箭头函数",
|
|
@@ -480,15 +529,20 @@
|
|
|
480
529
|
"Could_not_find_name_0_Did_you_mean_1_2570": "找不到名称“{0}”。你是否是指“{1}”?",
|
|
481
530
|
"Could_not_find_namespace_import_or_named_imports_95132": "找不到命名空间导入或已命名的导入",
|
|
482
531
|
"Could_not_find_property_for_which_to_generate_accessor_95135": "找不到要为其生成访问器的属性",
|
|
532
|
+
"Could_not_find_variable_to_inline_95185": "找不到要内联的变量。",
|
|
483
533
|
"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231": "无法解析具有表达式的路径“{0}”: {1}。",
|
|
484
534
|
"Could_not_write_file_0_Colon_1_5033": "无法写入文件“{0}”: {1}。",
|
|
485
535
|
"Create_source_map_files_for_emitted_JavaScript_files_6694": "为发出的 JavaScript 文件创建源映射文件。",
|
|
486
536
|
"Create_sourcemaps_for_d_ts_files_6614": "为 d.ts 文件创建源映射。",
|
|
487
537
|
"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926": "使用工作目录中的建议设置创建 tsconfig.json。",
|
|
488
538
|
"DIRECTORY_6038": "目录",
|
|
539
|
+
"Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537": "字符类中不允许使用十进制转义序列和反向引用。",
|
|
540
|
+
"Decimals_with_leading_zeros_are_not_allowed_1489": "不允许使用带前导零的小数。",
|
|
489
541
|
"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232": "该声明扩充了另一文件中的声明。这无法被序列化。",
|
|
542
|
+
"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "为此文件发出的声明需要保留此导入以进行扩充。--isolatedDeclarations 不支持此功能。",
|
|
490
543
|
"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "此文件的声明发出要求使用专用名称 \"{0}\"。显式类型注释可能取消阻止声明发出。",
|
|
491
544
|
"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "此文件的声明发出要求使用模块 \"{1}\" 中的专用名称 \"{0}\"。显式类型注释可能取消阻止声明发出。",
|
|
545
|
+
"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "为此参数发出的声明要求隐式添加未定义的类型。--isolatedDeclarations 不支持此功能。",
|
|
492
546
|
"Declaration_expected_1146": "应为声明。",
|
|
493
547
|
"Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "声明名称与内置全局标识符“{0}”冲突。",
|
|
494
548
|
"Declaration_or_statement_expected_1128": "应为声明或语句。",
|
|
@@ -504,12 +558,14 @@
|
|
|
504
558
|
"Declare_static_property_0_90027": "声明静态属性“{0}”",
|
|
505
559
|
"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270": "装饰器函数返回类型“{0}”不可分配到类型“{1}”。",
|
|
506
560
|
"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271": "装饰器函数返回类型为“{0}”,但预期为“void”或“any”。",
|
|
561
|
+
"Decorator_used_before_export_here_1486": "此处“导出”之前使用的修饰器。",
|
|
507
562
|
"Decorators_are_not_valid_here_1206": "修饰器在此处无效。",
|
|
508
563
|
"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207": "不能向多个同名的 get/set 访问器应用修饰器。",
|
|
509
|
-
"
|
|
564
|
+
"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038": "如果修饰器也出现在“导出”之前,则它们可能不会出现在“export”或“export default”之后。",
|
|
510
565
|
"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436": "修饰器必须位于属性声明的名称和所有关键字之前。",
|
|
511
566
|
"Default_catch_clause_variables_as_unknown_instead_of_any_6803": "将 catch 子句变量默认为 “unknown” 而不是 “any”。",
|
|
512
567
|
"Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模块的默认导出具有或正在使用专用名称“{0}”。",
|
|
568
|
+
"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037": "无法使用 --isolatedDeclarations 推断默认导出。",
|
|
513
569
|
"Default_library_1424": "默认库",
|
|
514
570
|
"Default_library_for_target_0_1425": "目标 \"{0}\" 的默认库",
|
|
515
571
|
"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200": "以下标识符的定义与另一个文件中的定义冲突: {0}",
|
|
@@ -541,6 +597,7 @@
|
|
|
541
597
|
"Disable_erasing_const_enum_declarations_in_generated_code_6682": "在生成的代码中禁用擦除 “const enum” 声明。",
|
|
542
598
|
"Disable_error_reporting_for_unreachable_code_6603": "对无法访问的代码禁用错误报告。",
|
|
543
599
|
"Disable_error_reporting_for_unused_labels_6604": "对未使用的标签禁用错误报告。",
|
|
600
|
+
"Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805": "禁用完整类型检查(仅报告关键分析和发出错误)。",
|
|
544
601
|
"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661": "在已编译输出中禁用生成自定义帮助程序函数(如 “__extends”)。",
|
|
545
602
|
"Disable_including_any_library_files_including_the_default_lib_d_ts_6670": "禁用包括任何库文件(包括默认的 lib.d.ts)。",
|
|
546
603
|
"Disable_loading_referenced_projects_6235": "禁止加载引用的项目。",
|
|
@@ -569,6 +626,7 @@
|
|
|
569
626
|
"Do_not_report_errors_on_unreachable_code_6077": "不报告有关不可访问的代码的错误。",
|
|
570
627
|
"Do_not_report_errors_on_unused_labels_6074": "不报告有关未使用的标签的错误。",
|
|
571
628
|
"Do_not_resolve_the_real_path_of_symlinks_6013": "不要解析 symlink 的真实路径。",
|
|
629
|
+
"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804": "不要转换或省略任何未标记为仅类型的导入或导出,确保它们是根据“模块”设置以输出文件格式编写的。",
|
|
572
630
|
"Do_not_truncate_error_messages_6165": "请勿删除错误消息。",
|
|
573
631
|
"Duplicate_function_implementation_2393": "函数实现重复。",
|
|
574
632
|
"Duplicate_identifier_0_2300": "标识符“{0}”重复。",
|
|
@@ -583,10 +641,14 @@
|
|
|
583
641
|
"Duplicate_index_signature_for_type_0_2374": "类型“{0}”的索引签名重复。",
|
|
584
642
|
"Duplicate_label_0_1114": "标签“{0}”重复。",
|
|
585
643
|
"Duplicate_property_0_2718": "重复的属性 \"{0}\"。",
|
|
644
|
+
"Duplicate_regular_expression_flag_1500": "正则表达式标志重复。",
|
|
586
645
|
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "动态导入的说明符类型必须是 \"string\",但此处类型是 \"{0}\"。",
|
|
587
646
|
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323": "仅在将 “--module” 标记设置为 “es2020”、“es2022”、“esnext”、“commonjs”、“amd”、“system”、“umd”、“node16” 或 “nodenext” 时,才支持动态导入。",
|
|
588
|
-
"
|
|
589
|
-
"
|
|
647
|
+
"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450": "动态导入只能接受模块说明符和可选的特性集作为参数",
|
|
648
|
+
"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324": "只有当“--module”选项设置为“esnext”、“node16”、“nodenext”或“preserve”时,动态导入才支持第二个参数。",
|
|
649
|
+
"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293": "当“module”设置为“preserve”时,CommonJS 模块中不允许使用 ESM 语法。",
|
|
650
|
+
"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286": "启用“verbatimModuleSyntax”时,CommonJS 模块中不允许使用 ESM 语法。",
|
|
651
|
+
"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125": "“{0}.{1}”的每个声明的值不同,其中应为“{2}”,但给出的是“{3}”。",
|
|
590
652
|
"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "联合类型 \"{0}\" 的每个成员都有构造签名,但这些签名都不能互相兼容。",
|
|
591
653
|
"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "联合类型 \"{0}\" 的每个成员都有签名,但这些签名都不能互相兼容。",
|
|
592
654
|
"Editor_Support_6249": "编辑器支持",
|
|
@@ -613,7 +675,8 @@
|
|
|
613
675
|
"Enable_error_reporting_in_type_checked_JavaScript_files_6609": "在已检查类型的 JavaScript 文件中启用错误报告。",
|
|
614
676
|
"Enable_error_reporting_when_local_variables_aren_t_read_6675": "在未读取局部变量时启用错误报告。",
|
|
615
677
|
"Enable_error_reporting_when_this_is_given_the_type_any_6668": "在 “this” 的类型为 “any” 时启用错误报告。",
|
|
616
|
-
"
|
|
678
|
+
"Enable_experimental_support_for_legacy_experimental_decorators_6630": "启用对旧实验性修饰器的实验性支持。",
|
|
679
|
+
"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264": "启用导入具有任何扩展名的文件,前提是存在声明文件。",
|
|
617
680
|
"Enable_importing_json_files_6689": "启用导入 .json 文件。",
|
|
618
681
|
"Enable_project_compilation_6302": "启用项目编译",
|
|
619
682
|
"Enable_strict_bind_call_and_apply_methods_on_functions_6214": "对函数启用严格的 \"bind\"、\"call\" 和 \"apply\" 方法。",
|
|
@@ -632,6 +695,7 @@
|
|
|
632
695
|
"Ensure_that_casing_is_correct_in_imports_6637": "确保导入中的大小写正确。",
|
|
633
696
|
"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645": "确保可以安全地转译每个文件,而无需依赖其他导入。",
|
|
634
697
|
"Ensure_use_strict_is_always_emitted_6605": "请确保始终发出 “se strict”。",
|
|
698
|
+
"Entering_conditional_exports_6413": "正在输入条件导出。",
|
|
635
699
|
"Entry_point_for_implicit_type_library_0_1420": "隐式类型库 \"{0}\" 的入口点",
|
|
636
700
|
"Entry_point_for_implicit_type_library_0_with_packageId_1_1421": "隐式类型库 \"{0}\" 的入口点,具有 packageId \"{1}\"",
|
|
637
701
|
"Entry_point_of_type_library_0_specified_in_compilerOptions_1417": "在 compilerOptions 中指定的类型库 \"{0}\" 的入口点",
|
|
@@ -640,24 +704,32 @@
|
|
|
640
704
|
"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567": "枚举声明只能与命名空间或其他枚举声明合并。",
|
|
641
705
|
"Enum_declarations_must_all_be_const_or_non_const_2473": "枚举声明必须全为常数或非常数。",
|
|
642
706
|
"Enum_member_expected_1132": "应为枚举成员。",
|
|
707
|
+
"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056": "启用“isolatedModules”时,非文本数值成员之后的枚举成员必须具有初始值设定项。",
|
|
708
|
+
"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020": "枚举成员初始值设定项必须可计算,而不引用具有 --isolatedDeclarations 的外部符号。",
|
|
643
709
|
"Enum_member_must_have_initializer_1061": "枚举成员必须具有初始化表达式。",
|
|
644
710
|
"Enum_name_cannot_be_0_2431": "枚举名不能为“{0}”。",
|
|
645
|
-
"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "枚举类型“{0}”包含具有不是文本的初始值设定项的成员。",
|
|
646
711
|
"Errors_Files_6041": "错误文件",
|
|
712
|
+
"Escape_sequence_0_is_not_allowed_1488": "不允许转义序列“{0}”。",
|
|
647
713
|
"Examples_Colon_0_6026": "示例: {0}",
|
|
714
|
+
"Excessive_complexity_comparing_types_0_and_1_2859": "比较类型“{0}”和“{1}”的复杂性过高。",
|
|
648
715
|
"Excessive_stack_depth_comparing_types_0_and_1_2321": "与类型“{0}”和“{1}”相比,堆栈深度过高。",
|
|
716
|
+
"Exiting_conditional_exports_6416": "正在退出条件导出。",
|
|
649
717
|
"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027": "应为 {0}-{1} 类型参数;请为这些参数添加 \"@extends\" 标记。",
|
|
650
718
|
"Expected_0_arguments_but_got_1_2554": "应有 {0} 个参数,但获得 {1} 个。",
|
|
651
719
|
"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794": "应为 {0} 个参数,但得到的却是 {1} 个。你是否忘了将类型参数中的 \"void\" 包含到 \"Promise\"?",
|
|
652
720
|
"Expected_0_type_arguments_but_got_1_2558": "应有 {0} 个类型参数,但获得 {1} 个。",
|
|
653
721
|
"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026": "应为 {0} 类型参数;请为这些参数添加 \"@extends\" 标记。",
|
|
654
722
|
"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810": "应为 1 个参数,但得到 0。“new Promise()” 需要 JSDoc 提示才能生成可在没有参数的情况下调用的 “resolve”。",
|
|
723
|
+
"Expected_a_Unicode_property_name_1523": "应为 Unicode 属性名称。",
|
|
724
|
+
"Expected_a_Unicode_property_name_or_value_1527": "应为 Unicode 属性名称或值。",
|
|
725
|
+
"Expected_a_Unicode_property_value_1525": "应为 Unicode 属性值。",
|
|
726
|
+
"Expected_a_capturing_group_name_1514": "应为捕获组名称。",
|
|
727
|
+
"Expected_a_class_set_operand_1520": "应为类集操作数。",
|
|
655
728
|
"Expected_at_least_0_arguments_but_got_1_2555": "应有至少 {0} 个参数,但获得 {1} 个。",
|
|
656
729
|
"Expected_corresponding_JSX_closing_tag_for_0_17002": "“{0}”预期的相应 JSX 结束标记。",
|
|
657
730
|
"Expected_corresponding_closing_tag_for_JSX_fragment_17015": "预期的 JSX 片段的相应结束标记。",
|
|
658
731
|
"Expected_for_property_initializer_1442": "属性初始化表达式应有 \"=\"。",
|
|
659
732
|
"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105": "\"package.json\" 中 \"{0}\" 字段的类型应为 \"{1}\",但实际为 \"{2}\" 。",
|
|
660
|
-
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "对修饰器的实验支持功能在将来的版本中可能更改。在 \"tsconfig\" 或 \"jsconfig\" 中设置 \"experimentalDecorators\" 选项以删除此警告。",
|
|
661
733
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "显示指定了模块解析类型:“{0}”。",
|
|
662
734
|
"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "除非 \"target\" 选项设置为 \"es2016\" 或更高版本,否则不能对 \"bigint\" 值执行求幂运算。",
|
|
663
735
|
"Export_0_from_module_1_90059": "从模块“{1}”导出“{0}”",
|
|
@@ -674,13 +746,20 @@
|
|
|
674
746
|
"Exported_variable_0_has_or_is_using_private_name_1_4025": "导出的变量“{0}”具有或正在使用专用名称“{1}”。",
|
|
675
747
|
"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666": "模块扩大中不允许导出和导出分配。",
|
|
676
748
|
"Expression_expected_1109": "应为表达式。",
|
|
749
|
+
"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497": "表达式必须括在括号中才能用作修饰器。",
|
|
677
750
|
"Expression_or_comma_expected_1137": "应为表达式或逗号。",
|
|
678
751
|
"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800": "表达式生成的元组类型太大,无法表示。",
|
|
679
752
|
"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590": "表达式生成的联合类型过于复杂,无法表示。",
|
|
680
753
|
"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402": "表达式解析为 \"_super\",编译器使用 \"_super\" 获取基类引用。",
|
|
681
754
|
"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544": "表达式解析为编辑器用于捕获 \"new.target\" 元属性引用的变量声明 \"_newTarget\"。",
|
|
682
755
|
"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400": "表达式解析为编译器用于捕获 \"this\" 引用的变量声明 \"_this\"。",
|
|
756
|
+
"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013": "无法使用 --isolatedDeclarations 推断表达式类型。",
|
|
757
|
+
"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021": "Extends 子句不能包含具有 --isolatedDeclarations 的表达式。",
|
|
758
|
+
"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085": "推断类型“{0}”的 Extends 子句具有或正在使用专用名称“{1}”。",
|
|
759
|
+
"Extract_base_class_to_variable_90064": "将基类提取到变量",
|
|
760
|
+
"Extract_binding_expressions_to_variable_90066": "将绑定表达式提取到变量",
|
|
683
761
|
"Extract_constant_95006": "提取常数",
|
|
762
|
+
"Extract_default_export_to_variable_90065": "将默认导出提取到变量",
|
|
684
763
|
"Extract_function_95005": "提取函数",
|
|
685
764
|
"Extract_to_0_in_1_95004": "提取到 {1} 中的 {0}",
|
|
686
765
|
"Extract_to_0_in_1_scope_95008": "提取到 {1} 范围中的 {0}",
|
|
@@ -688,23 +767,25 @@
|
|
|
688
767
|
"Extract_to_interface_95090": "提取到接口",
|
|
689
768
|
"Extract_to_type_alias_95078": "提取到类型别名",
|
|
690
769
|
"Extract_to_typedef_95079": "提取到类型引用",
|
|
770
|
+
"Extract_to_variable_and_replace_with_0_as_typeof_0_90069": "提取到变量并替换为“{0} 为 typeof {0}”",
|
|
691
771
|
"Extract_type_95077": "提取类型",
|
|
692
772
|
"FILE_6035": "文件",
|
|
693
773
|
"FILE_OR_DIRECTORY_6040": "文件或目录",
|
|
694
|
-
"
|
|
774
|
+
"Failed_to_find_peerDependency_0_6283": "找不到 peerDependency“{0}”。",
|
|
775
|
+
"Failed_to_resolve_under_condition_0_6415": "无法在条件“{0}”下解析。",
|
|
695
776
|
"Fallthrough_case_in_switch_7029": "switch 语句中的 Fallthrough 情况。",
|
|
696
777
|
"File_0_does_not_exist_6096": "文件“{0}”不存在。",
|
|
697
778
|
"File_0_does_not_exist_according_to_earlier_cached_lookups_6240": "根据前面缓存的查找,文件“{0}”不存在。",
|
|
698
|
-
"File_0_exist_use_it_as_a_name_resolution_result_6097": "文件“{0}”存在 - 将其用作名称解析结果。",
|
|
699
779
|
"File_0_exists_according_to_earlier_cached_lookups_6239": "根据前面缓存的查找,文件“{0}”存在。",
|
|
780
|
+
"File_0_exists_use_it_as_a_name_resolution_result_6097": "文件“{0}”存在 - 将其用作名称解析结果。",
|
|
700
781
|
"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054": "文件“{0}”具有不受支持的扩展名。仅支持 {1} 扩展名。",
|
|
701
|
-
"File_0_has_an_unsupported_extension_so_skipping_it_6081": "文件“{0}”的扩展名不受支持,正在跳过。",
|
|
702
782
|
"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504": "文件 \"{0}\" 是 JavaScript 文件。你是想启用 \"allowJs\" 选项吗?",
|
|
703
783
|
"File_0_is_not_a_module_2306": "文件“{0}”不是模块。",
|
|
704
784
|
"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\" 模式。",
|
|
705
785
|
"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059": "文件“{0}”不在 \"rootDir\"“{1}”下。\"rootDir\" 应包含所有源文件。",
|
|
706
786
|
"File_0_not_found_6053": "找不到文件“{0}”。",
|
|
707
787
|
"File_Management_6245": "文件管理",
|
|
788
|
+
"File_appears_to_be_binary_1490": "文件似乎是二进制文件。",
|
|
708
789
|
"File_change_detected_Starting_incremental_compilation_6032": "检测到文件更改。正在启动增量编译...",
|
|
709
790
|
"File_is_CommonJS_module_because_0_does_not_have_field_type_1460": "文件是 CommonJS 模块,因为“{0}”没有字段 “type”",
|
|
710
791
|
"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459": "文件是 CommonJS 模块,因为“{0}”具有值不是 “module” 的字段 “type”",
|
|
@@ -724,6 +805,7 @@
|
|
|
724
805
|
"File_is_output_of_project_reference_source_0_1428": "文件是项目引用源 \"{0}\" 的输出",
|
|
725
806
|
"File_is_source_from_referenced_project_specified_here_1416": "文件源自此处指定的引用项目。",
|
|
726
807
|
"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149": "文件名“{0}”仅在大小写方面与包含的文件名“{1}”不同。",
|
|
808
|
+
"File_name_0_has_a_1_extension_looking_up_2_instead_6262": "文件名“{0}”具有“{1}”扩展 - 改为查找“{2}”。",
|
|
727
809
|
"File_name_0_has_a_1_extension_stripping_it_6132": "文件名“{0}”的扩展名为“{1}”,请去除它。",
|
|
728
810
|
"File_redirects_to_file_0_1429": "文件重定向到文件 \"{0}\"",
|
|
729
811
|
"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065": "文件规范不能包含出现在递归目录通配符(\"*\"): “{0}”后的父目录(\"..\")。",
|
|
@@ -733,23 +815,25 @@
|
|
|
733
815
|
"Fix_all_expressions_possibly_missing_await_95085": "修复可能缺少 \"await\" 的所有表达式",
|
|
734
816
|
"Fix_all_implicit_this_errors_95107": "修复所有 implicit-'this' 错误",
|
|
735
817
|
"Fix_all_incorrect_return_type_of_an_async_functions_90037": "修复所有错误的异步函数返回类型",
|
|
736
|
-
"
|
|
818
|
+
"Fix_all_with_type_only_imports_95182": "使用仅类型导入修复所有问题",
|
|
737
819
|
"Found_0_errors_6217": "找到 {0} 个错误。",
|
|
738
820
|
"Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 个错误。注意文件更改。",
|
|
739
821
|
"Found_0_errors_in_1_files_6261": "在 {1} 个文件中找到 {0} 个错误。",
|
|
740
822
|
"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260": "在同一文件中找到 {0} 个错误,起始位置为: {1}",
|
|
741
823
|
"Found_1_error_6216": "找到 1 个错误。",
|
|
742
824
|
"Found_1_error_Watching_for_file_changes_6193": "找到 1 个错误。注意文件更改。",
|
|
743
|
-
"
|
|
825
|
+
"Found_1_error_in_0_6259": "在 {0} 中找到 1 个错误",
|
|
744
826
|
"Found_package_json_at_0_6099": "在“{0}”处找到了 \"package.json\"。",
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
"
|
|
827
|
+
"Found_peerDependency_0_with_1_version_6282": "找到具有“{1}”版本的 peerDependency“{0}”。",
|
|
828
|
+
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250": "面向“ES5”时,在严格模式下,块内不允许函数声明。",
|
|
829
|
+
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251": "面向“ES5”时,在严格模式下,块内不允许函数声明。类定义自动处于严格模式。",
|
|
830
|
+
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252": "面向“ES5”时,在严格模式下,块内不允许函数声明。模块自动处于严格模式。",
|
|
748
831
|
"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011": "缺少返回类型批注的函数表达式隐式具有“{0}”返回类型。",
|
|
749
832
|
"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391": "函数实现缺失或未立即出现在声明之后。",
|
|
750
833
|
"Function_implementation_name_must_be_0_2389": "函数实现名称必须为“{0}”。",
|
|
751
834
|
"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024": "由于函数不具有返回类型批注并且在它的一个返回表达式中得到直接或间接引用,因此它隐式具有返回类型 \"any\"。",
|
|
752
835
|
"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366": "函数缺少结束 return 语句,返回类型不包括 \"undefined\"。",
|
|
836
|
+
"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007": "函数必须具有带有 --isolatedDeclarations 的显式返回类型注释。",
|
|
753
837
|
"Function_not_implemented_95159": "未实现函数。",
|
|
754
838
|
"Function_overload_must_be_static_2387": "函数重载必须为静态。",
|
|
755
839
|
"Function_overload_must_not_be_static_2388": "函数重载不能为静态。",
|
|
@@ -785,6 +869,7 @@
|
|
|
785
869
|
"Identifier_expected_1003": "应为标识符。",
|
|
786
870
|
"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216": "应为标识符。转换 ECMAScript 模块时,\"__esModule\" 保留为导出标记。",
|
|
787
871
|
"Identifier_or_string_literal_expected_1478": "应为标识符或字符串字面量。",
|
|
872
|
+
"Identifier_string_literal_or_number_literal_expected_1496": "应为标识符、字符串文本或数字文本。",
|
|
788
873
|
"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}”",
|
|
789
874
|
"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)文件",
|
|
790
875
|
"Ignore_this_error_message_90019": "忽略此错误信息",
|
|
@@ -795,12 +880,18 @@
|
|
|
795
880
|
"Implement_interface_0_90006": "实现接口“{0}”",
|
|
796
881
|
"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "导出的类“{0}”的 Implements 子句具有或正在使用专用名称“{1}”。",
|
|
797
882
|
"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "\"symbol\" 到 \"string\" 的隐式转换将在运行时失败。请考虑在 \"String(...)\" 中包装此表达式。",
|
|
883
|
+
"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866": "导入“{0}”与此文件中使用的全局值冲突,因此在启用“isolatedModules”时必须使用仅类型导入进行声明。",
|
|
884
|
+
"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865": "导入“{0}”与本地值冲突,因此在启用“isolatedModules”时必须使用仅类型导入进行声明。",
|
|
798
885
|
"Import_0_from_1_90013": "从“{1}”导入“{0}”",
|
|
799
886
|
"Import_assertion_values_must_be_string_literal_expressions_2837": "导入断言值必须为字符串字面量表达式。",
|
|
800
|
-
"
|
|
801
|
-
"
|
|
887
|
+
"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836": "不允许在编译到 commonJS“require”调用的语句导入断言。",
|
|
888
|
+
"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821": "只有当“--module”选项设置为“esnext”、“nodenext”或“preserve”时,才支持导入断言。",
|
|
802
889
|
"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "导入断言不能用于仅类型导入或导出。",
|
|
803
890
|
"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\"\" 或另一种模块格式。",
|
|
891
|
+
"Import_attribute_values_must_be_string_literal_expressions_2858": "导入属性值必须为字符串字面量表达式。",
|
|
892
|
+
"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856": "不允许在编译到 commonJS“require” 调用的语句导入属性。",
|
|
893
|
+
"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823": "只有当“--module”选项设置为“esnext”、“nodenext”或“preserve”时,才支持导入属性。",
|
|
894
|
+
"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857": "导入属性不能用于仅类型导入或导出。",
|
|
804
895
|
"Import_declaration_0_is_using_private_name_1_4000": "导入声明“{0}”使用的是专用名称“{1}”。",
|
|
805
896
|
"Import_declaration_conflicts_with_local_declaration_of_0_2440": "导入声明与“{0}”的局部声明冲突。",
|
|
806
897
|
"Import_declarations_in_a_namespace_cannot_reference_a_module_1147": "命名空间中的导入声明不能引用模块。",
|
|
@@ -824,6 +915,7 @@
|
|
|
824
915
|
"Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "在发出的 JavaScript 中包括源映射文件。",
|
|
825
916
|
"Includes_imports_of_types_referenced_by_0_90054": "包含由“{0}”引用的类型的导入",
|
|
826
917
|
"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "包括 --watch,-w 将开始监视当前项目的文件更改。设置后,可以使用以下内容配置监视模式:",
|
|
918
|
+
"Incomplete_quantifier_Digit_expected_1505": "限定符不完整。应为数字。",
|
|
827
919
|
"Index_signature_for_type_0_is_missing_in_type_1_2329": "类型“{1}”中缺少类型“{0}”的索引签名。",
|
|
828
920
|
"Index_signature_in_type_0_only_permits_reading_2542": "类型“{0}”中的索引签名仅允许读取。",
|
|
829
921
|
"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395": "合并声明“{0}”中的单独声明必须全为导出或全为局部声明。",
|
|
@@ -832,13 +924,14 @@
|
|
|
832
924
|
"Infer_parameter_types_from_usage_95012": "根据使用情况推断参数类型",
|
|
833
925
|
"Infer_this_type_of_0_from_usage_95080": "从用法中推断出 \"{0}\" 的 \"this\" 类型",
|
|
834
926
|
"Infer_type_of_0_from_usage_95011": "根据使用情况推断“{0}”的类型",
|
|
927
|
+
"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022": "--isolatedDeclarations 不支持从类表达式推理。",
|
|
835
928
|
"Initialize_property_0_in_the_constructor_90020": "初始化构造函数中的属性“{0}”",
|
|
836
929
|
"Initialize_static_property_0_90021": "初始化静态属性“{0}”",
|
|
837
930
|
"Initializer_for_property_0_2811": "属性“{0}”的初始化表达式",
|
|
838
931
|
"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301": "实例成员变量“{0}”的初始化表达式不能引用构造函数中声明的标识符“{1}”。",
|
|
839
|
-
"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525": "初始化表达式没有为此绑定元素提供此任何值,且该绑定元素没有默认值。",
|
|
840
932
|
"Initializers_are_not_allowed_in_ambient_contexts_1039": "不允许在环境上下文中使用初始化表达式。",
|
|
841
933
|
"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070": "初始化 TypeScript 项目并创建 tsconfig.json 文件。",
|
|
934
|
+
"Inline_variable_95184": "内联变量",
|
|
842
935
|
"Insert_command_line_options_and_files_from_a_file_6030": "从文件插入命令行选项和文件。",
|
|
843
936
|
"Install_0_95014": "安装“{0}”",
|
|
844
937
|
"Install_all_missing_types_packages_95033": "安装缺少的所有类型包",
|
|
@@ -855,9 +948,11 @@
|
|
|
855
948
|
"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664": "扩大中的模块名无效,找不到模块“{0}”。",
|
|
856
949
|
"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209": "新表达式中的可选链无效。是否要调用“{0}()”?",
|
|
857
950
|
"Invalid_reference_directive_syntax_1084": "\"reference\" 指令语法无效。",
|
|
951
|
+
"Invalid_syntax_in_decorator_1498": "修饰器中的语法无效。",
|
|
858
952
|
"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039": "“{0}”的使用无效。它不能在类静态块内使用。",
|
|
859
953
|
"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215": "“{0}”的使用无效。模块自动处于严格模式。",
|
|
860
954
|
"Invalid_use_of_0_in_strict_mode_1100": "严格模式下“{0}”的使用无效。",
|
|
955
|
+
"Invalid_value_for_ignoreDeprecations_5103": "“--ignoreDeprecations”的值无效。",
|
|
861
956
|
"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067": "\"jsxFactory\" 的值无效。“{0}”不是有效的标识符或限定名称。",
|
|
862
957
|
"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035": "\"jsxFragmentFactory\" 的值无效。“{0}”不是有效的标识符或限定名称。",
|
|
863
958
|
"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059": "\"--reactNamespace\" 的值无效。“{0}”不是有效的标识符。",
|
|
@@ -865,12 +960,15 @@
|
|
|
865
960
|
"Its_element_type_0_is_not_a_valid_JSX_element_2789": "其元素类型 \"{0}\" 不是有效的 JSX 元素。",
|
|
866
961
|
"Its_instance_type_0_is_not_a_valid_JSX_element_2788": "其实例类型 \"{0}\" 不是有效的 JSX 元素。",
|
|
867
962
|
"Its_return_type_0_is_not_a_valid_JSX_element_2787": "其返回类型 \"{0}\" 不是有效的 JSX 元素。",
|
|
963
|
+
"Its_type_0_is_not_a_valid_JSX_element_type_18053": "其类型“{0}”不是有效的 JSX 元素类型。",
|
|
868
964
|
"JSDoc_0_1_does_not_match_the_extends_2_clause_8023": "JSDoc \"@{0} {1}\" 不匹配 \"extends {2}\" 子句。",
|
|
869
965
|
"JSDoc_0_is_not_attached_to_a_class_8022": "JSDoc \"@{0}\" 未附加到类。",
|
|
870
966
|
"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028": "JSDoc \"...\" 可能仅出现在签名的最后一个参数中。",
|
|
871
967
|
"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024": "JSDoc \"@param\" 标记具有名称 \"{0}\",但不存在具有该名称的参数。",
|
|
872
968
|
"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\"。",
|
|
969
|
+
"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009": "JSDoc typedef 可以转换为 TypeScript 类型。",
|
|
873
970
|
"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021": "JSDoc \"@typedef\" 标记应具有类型注释,或其后跟有 \"@property\" 或 \"@member\" 标记。",
|
|
971
|
+
"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010": "JSDoc typedef 可以转换为 TypeScript 类型。",
|
|
874
972
|
"JSDoc_types_can_only_be_used_inside_documentation_comments_8020": "JSDoc 类型只能在文档注释内部使用。",
|
|
875
973
|
"JSDoc_types_may_be_moved_to_TypeScript_types_80004": "JSDoc 类型可能会移到 TypeScript 类型。",
|
|
876
974
|
"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000": "只能为 JSX 属性分配非空“表达式”。",
|
|
@@ -900,8 +998,8 @@
|
|
|
900
998
|
"List_of_folders_to_include_type_definitions_from_6161": "包含类型定义来源的文件夹列表。",
|
|
901
999
|
"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168": "根文件夹列表,其组合内容表示在运行时的项目结构。",
|
|
902
1000
|
"Loading_0_from_the_root_dir_1_candidate_location_2_6109": "正在从根目录“{1}”加载“{0}”,候选位置“{2}”。",
|
|
903
|
-
"
|
|
904
|
-
"
|
|
1001
|
+
"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098": "正在从 \"node_modules\" 文件夹加载模块“{0}”,目标文件类型: {1}。",
|
|
1002
|
+
"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095": "正在将模块作为文件/文件夹进行加载,候选模块位置“{0}”,目标文件类型: {1}。",
|
|
905
1003
|
"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048": "区域设置必须采用 <语言> 或 <语言>-<区域> 形式。例如“{0}”或“{1}”。",
|
|
906
1004
|
"Log_paths_used_during_the_moduleResolution_process_6706": "在 “moduleResolution” 进程期间使用的日志路径。",
|
|
907
1005
|
"Longest_matching_prefix_for_0_is_1_6108": "“{0}”的最长匹配前缀为“{1}”。",
|
|
@@ -910,6 +1008,7 @@
|
|
|
910
1008
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "使 keyof 仅返回字符串,而不是字符串、数字或符号。旧版选项。",
|
|
911
1009
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "在构造函数中,使 \"super()\" 调用第一个语句",
|
|
912
1010
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "映射的对象类型隐式地含有 \"any\" 模板类型。",
|
|
1011
|
+
"Mark_array_literal_as_const_90070": "将数组文字标记为常量",
|
|
913
1012
|
"Matched_0_condition_1_6403": "匹配的“{0}”条件“{1}”。",
|
|
914
1013
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "默认情况下匹配包括模式 “**/*”",
|
|
915
1014
|
"Matched_by_include_pattern_0_in_1_1407": "通过在 \"{1}\" 中的包含模式 \"{0}\" 匹配",
|
|
@@ -921,6 +1020,7 @@
|
|
|
921
1020
|
"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245": "方法“{0}”不能具有实现,因为它标记为抽象。",
|
|
922
1021
|
"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101": "导出接口的方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
|
923
1022
|
"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102": "导出接口的方法“{0}”具有或正在使用专用名称“{1}”。",
|
|
1023
|
+
"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008": "方法必须具有带有 --isolatedDeclarations 的显式返回类型注释。",
|
|
924
1024
|
"Method_not_implemented_95158": "方法未实现。",
|
|
925
1025
|
"Modifiers_cannot_appear_here_1184": "修饰符不能出现在此处。",
|
|
926
1026
|
"Module_0_can_only_be_default_imported_using_the_1_flag_1259": "模块 \"{0}\" 只能在使用 \"{1}\" 标志时进行默认导入",
|
|
@@ -936,8 +1036,8 @@
|
|
|
936
1036
|
"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614": "模块 \"{0}\" 没有导出的成员 \"{1}\"。你是想改用 \"import {1} from {0}\" 吗?",
|
|
937
1037
|
"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437": "模块“{0}”被具有相同名称的局部声明隐藏。",
|
|
938
1038
|
"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498": "模块“{0}”使用 \"export =\" 且无法与 \"export *\" 一起使用。",
|
|
939
|
-
"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145": "模块“{0}”解析为“{1}”中声明的环境模块,因为未修改此文件。",
|
|
940
1039
|
"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144": "模块“{0}”解析为文件“{1}”中本地声明的环境模块。",
|
|
1040
|
+
"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263": "模块“{0}”已解析为“{1}”,但未设置“--allowArbitraryExtensions”。",
|
|
941
1041
|
"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142": "模块“{0}”已解析为“{1}”,但尚未设置 \"--jsx\"。",
|
|
942
1042
|
"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042": "模块 \"{0}\" 已解析为 \"{1}\",但未使用 \"--resolveJsonModule\"。",
|
|
943
1043
|
"Module_declaration_names_may_only_use_or_quoted_strings_1443": "模块声明名称只能使用 ' 或 \" 引用字符串。",
|
|
@@ -949,15 +1049,21 @@
|
|
|
949
1049
|
"Module_resolution_using_rootDirs_has_failed_6111": "使用 \"rootDirs\" 的模块解析失败。",
|
|
950
1050
|
"Modules_6244": "模块",
|
|
951
1051
|
"Move_labeled_tuple_element_modifiers_to_labels_95117": "将已标记的元组元素修饰符移至标签",
|
|
1052
|
+
"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036": "将默认导出中的表达式移动到变量,并向其添加类型注释。",
|
|
952
1053
|
"Move_to_a_new_file_95049": "移动到新的文件",
|
|
1054
|
+
"Move_to_file_95178": "移动到文件",
|
|
953
1055
|
"Multiple_consecutive_numeric_separators_are_not_permitted_6189": "不允许使用多个连续的数字分隔符。",
|
|
954
1056
|
"Multiple_constructor_implementations_are_not_allowed_2392": "不允许存在多个构造函数实现。",
|
|
955
1057
|
"NEWLINE_6061": "换行符",
|
|
956
1058
|
"Name_is_not_valid_95136": "名称无效",
|
|
1059
|
+
"Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "命名捕获组仅在面向“ES2018”或更高版本时可用。",
|
|
1060
|
+
"Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "名称相同的命名捕获组必须彼此排斥。",
|
|
957
1061
|
"Named_property_0_of_types_1_and_2_are_not_identical_2319": "“{1}”和“{2}”类型的命名属性“{0}”不完全相同。",
|
|
958
1062
|
"Namespace_0_has_no_exported_member_1_2694": "命名空间“{0}”没有已导出的成员“{1}”。",
|
|
959
1063
|
"Namespace_must_be_given_a_name_1437": "必须为命名空间指定名称。",
|
|
960
1064
|
"Namespace_name_cannot_be_0_2819": "命名空间名称不能为“{0}”。",
|
|
1065
|
+
"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280": "启用“{0}”时,全局脚本文件中不允许使用命名空间。如果此文件不是全局脚本,请将“moduleDetection”设置为“force”或添加空的“export {}”语句。",
|
|
1066
|
+
"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433": "修饰器和修饰符都不能应用于“this”参数。",
|
|
961
1067
|
"No_base_constructor_has_the_specified_number_of_type_arguments_2508": "没有任何基构造函数具有指定数量的类型参数。",
|
|
962
1068
|
"No_constituent_of_type_0_is_callable_2755": "不可调用 \"{0}\" 类型的任何组成部分。",
|
|
963
1069
|
"No_constituent_of_type_0_is_constructable_2759": "不可构造 \"{0}\" 类型的任何组成部分。",
|
|
@@ -969,14 +1075,19 @@
|
|
|
969
1075
|
"No_overload_matches_this_call_2769": "没有与此调用匹配的重载。",
|
|
970
1076
|
"No_type_could_be_extracted_from_this_type_node_95134": "无法从该类型节点中提取任何类型",
|
|
971
1077
|
"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004": "速记属性 \"{0}\" 的范围内不存在任何值。请声明一个值或提供一个初始值设定项。",
|
|
972
|
-
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "非抽象类“{0}”不会实现继承自“{2}
|
|
1078
|
+
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "非抽象类“{0}”不会实现继承自“{2}”类的抽象成员 {1}。",
|
|
1079
|
+
"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654": "非抽象类“{0}”缺少“{1}”的以下成员的实现: {2}。",
|
|
1080
|
+
"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655": "非抽象类“{0}”缺少“{1}”的以下成员的实现: {2} 和 {3} 等。",
|
|
973
1081
|
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "非抽象类表达式不会实现继承自“{1}”类的抽象成员“{0}”。",
|
|
1082
|
+
"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656": "非抽象类表达式缺少“{0}”的以下成员的实现: {1}。",
|
|
1083
|
+
"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650": "非抽象类表达式缺少“{0}”的以下成员的实现: {1} 和 {2} 等。",
|
|
974
1084
|
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "非 null 断言只能在 TypeScript 文件中使用。",
|
|
975
1085
|
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "未设置 \"baseUrl\" 时,不允许使用非相对路径。是否忘记了前导 \"./\"?",
|
|
976
1086
|
"Non_simple_parameter_declared_here_1348": "此处声明了非简单参数。",
|
|
977
1087
|
"Not_all_code_paths_return_a_value_7030": "并非所有代码路径都返回值。",
|
|
978
1088
|
"Not_all_constituents_of_type_0_are_callable_2756": "\"{0}\" 类型的部分要素不可调用。",
|
|
979
1089
|
"Not_all_constituents_of_type_0_are_constructable_2760": "\"{0}\" 类型的部分要素不可构造。",
|
|
1090
|
+
"Numbers_out_of_order_in_quantifier_1506": "数字在限定符中顺序不对。",
|
|
980
1091
|
"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008": "绝对值大于或等于 2^53 的数值文本过大,无法用整数准确表示。",
|
|
981
1092
|
"Numeric_separators_are_not_allowed_here_6188": "此处不允许使用数字分隔符。",
|
|
982
1093
|
"Object_is_of_type_unknown_2571": "对象的类型为 \"unknown\"。",
|
|
@@ -986,46 +1097,58 @@
|
|
|
986
1097
|
"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353": "对象字面量只能指定已知属性,并且“{0}”不在类型“{1}”中。",
|
|
987
1098
|
"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561": "对象字面量只能指定已知的属性,但“{0}”中不存在类型“{1}”。是否要写入 {2}?",
|
|
988
1099
|
"Object_literal_s_property_0_implicitly_has_an_1_type_7018": "对象字面量的属性“{0}”隐式含有“{1}”类型。",
|
|
1100
|
+
"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016": "无法使用 --isolatedDeclarations 推断包含速记属性的对象。",
|
|
1101
|
+
"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015": "无法使用 --isolatedDeclarations 推断包含传播赋值的对象。",
|
|
989
1102
|
"Octal_digit_expected_1178": "需要八进制数字。",
|
|
990
|
-
"
|
|
991
|
-
"
|
|
992
|
-
"
|
|
993
|
-
"
|
|
1103
|
+
"Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536": "字符类中不允许使用八进制转义序列和反向引用。如果这是转义序列,请改用语法“{0}”。",
|
|
1104
|
+
"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487": "不允许使用八进制转义序列。请使用语法“{0}”。",
|
|
1105
|
+
"Octal_literals_are_not_allowed_Use_the_syntax_0_1121": "不允许使用八进制文字。请使用语法“{0}”。",
|
|
1106
|
+
"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126": "“{0}.{1}”的一个值是字符串“{2}”,另一个值被假定为未知数值。",
|
|
994
1107
|
"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091": "\"for...in\" 语句中只允许单个变量声明。",
|
|
995
1108
|
"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188": "\"for...of\" 语句中只允许单个变量声明。",
|
|
996
1109
|
"Only_a_void_function_can_be_called_with_the_new_keyword_2350": "使用 \"new\" 关键字只能调用 void 函数。",
|
|
997
1110
|
"Only_ambient_modules_can_use_quoted_names_1035": "仅环境模块可使用带引号的名称。",
|
|
998
1111
|
"Only_amd_and_system_modules_are_supported_alongside_0_6082": "--{0} 旁仅支持 \"amd\" 和 \"system\" 模块。",
|
|
1112
|
+
"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017": "只能使用 --isolatedDeclarations 推断常量数组。",
|
|
999
1113
|
"Only_emit_d_ts_declaration_files_6014": "仅发出 \".d.ts\" 声明文件。 ",
|
|
1000
|
-
"Only_named_exports_may_use_export_type_1383": "只有已命名的导出可使用“导出类型”。",
|
|
1001
|
-
"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033": "只有数字枚举可具有计算成员,但此表达式的类型为“{0}”。如果不需要全面性检查,请考虑改用对象文本。",
|
|
1002
1114
|
"Only_output_d_ts_files_and_not_JavaScript_files_6623": "仅输出 d.ts 文件,而不输出 JavaScript 文件。",
|
|
1003
1115
|
"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340": "通过 \"super\" 关键字只能访问基类的公共方法和受保护方法。",
|
|
1004
1116
|
"Operator_0_cannot_be_applied_to_type_1_2736": "运算符 \"{0}\" 不能应用于类型 \"{1}\"。",
|
|
1005
1117
|
"Operator_0_cannot_be_applied_to_types_1_and_2_2365": "运算符“{0}”不能应用于类型“{1}”和“{2}”。",
|
|
1118
|
+
"Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519": "运算符不得混合在字符类中。改为将其包装在嵌套类中。",
|
|
1006
1119
|
"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619": "在编辑时选择项目退出多项目引用检查。",
|
|
1120
|
+
"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108": "选项“{0}={1}”已删除。请从配置中删除它。",
|
|
1121
|
+
"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107": "选项“{0}={1}”已弃用,并将停止在 TypeScript {2} 中运行。指定 compilerOption“ignoreDeprecations”:“{3}”以使此错误静音。",
|
|
1007
1122
|
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "选项“{0}”只能在 \"tsconfig.json\" 文件中指定,或者在命令行上设置为 \"false\" 或 \"null\"。",
|
|
1008
1123
|
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "选项“{0}”只能在 \"tsconfig.json\" 文件中指定或在命令行上设置为 \"null\"。",
|
|
1124
|
+
"Option_0_can_only_be_specified_on_command_line_6266": "选项“{0}”只能在命令行上指定。",
|
|
1009
1125
|
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "仅当提供了选项 \"--inlineSourceMap\" 或选项 \"--sourceMap\" 时,才能使用选项“{0}”。",
|
|
1126
|
+
"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098": "只有在“moduleResolution”设置为“node16”、“nodenext”或“bundler”时,才能使用选项“{0}”。",
|
|
1127
|
+
"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095": "只有在“module”设置为“preserve”或“es2015”或更高版本时,才能使用选项“{0}”。",
|
|
1010
1128
|
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "选项 \"jsx\" 为“{1}”时,不能指定选项“{0}”。",
|
|
1011
|
-
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "选项 \"target\" 为 \"ES3\" 时,不能指定选项 \"{0}\"。",
|
|
1012
1129
|
"Option_0_cannot_be_specified_with_option_1_5053": "选项“{0}”不能与选项“{1}”同时指定。",
|
|
1013
1130
|
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "无法在不指定选项“{1}”的情况下指定选项“{0}”。",
|
|
1014
1131
|
"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069": "无法在不指定选项 {1} 或选项 {2} 的情况下指定选项 {0}。",
|
|
1132
|
+
"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102": "选项“{0}”已删除。请从配置中删除它。",
|
|
1133
|
+
"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101": "选项“{0}”已弃用,并将停止在 TypeScript {1} 中运行。指定 compilerOption“ignoreDeprecations”:“{2}”以使此错误静音。",
|
|
1134
|
+
"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104": "选项“{0}”是冗余选项,不能与选项“{1}”同时指定。",
|
|
1135
|
+
"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096": "只有在设置“noEmit”或“emitDeclarationOnly”时,才能使用选项“allowImportingTsExtensions”。",
|
|
1015
1136
|
"Option_build_must_be_the_first_command_line_argument_6369": "选项 '--build' 必须是第一个命令行参数。",
|
|
1016
1137
|
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "选项 “--incremental” 只能使用 tsconfig 指定,在发出到单个文件时指定,或在指定了选项 “--tsBuildInfoFile” 时指定。",
|
|
1017
1138
|
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "选项 \"isolatedModules\" 只可在提供了选项 \"--module\" 或者选项 \"target\" 是 \"ES2015\" 或更高版本时使用。",
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1139
|
+
"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109": "当选项“module”设置为“{1}”时,选项“moduleResolution”必须设置为“{0}”(或保留为未指定)。",
|
|
1140
|
+
"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110": "当选项“moduleResolution”设置为“{1}”时,选项“module”必须设置为“{0}”。",
|
|
1141
|
+
"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091": "启用“{0}”时,无法禁用选项“preserveConstEnums”。",
|
|
1020
1142
|
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "选项 \"project\" 在命令行上不能与源文件混合使用。",
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1143
|
+
"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "当“moduleResolution”设置为“classic”时,无法指定选项“--resolveJsonModule”。",
|
|
1144
|
+
"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "当“module”设置为“none”、“system”或“umd”时,无法指定选项“--resolveJsonModule”。",
|
|
1145
|
+
"Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "如果未指定选项“incremental”或“composite”或未运行“tsc -b”,则无法指定选项“tsBuildInfoFile”。",
|
|
1146
|
+
"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "当“module”设置为“UMD”、“AMD”或“System”时,不能使用选项“verbatimModuleSyntax”。",
|
|
1023
1147
|
"Options_0_and_1_cannot_be_combined_6370": "选项“{0}”与“{1}”不能组合在一起。",
|
|
1024
1148
|
"Options_Colon_6027": "选项:",
|
|
1025
1149
|
"Output_Formatting_6256": "输出格式设置",
|
|
1026
1150
|
"Output_compiler_performance_information_after_building_6615": "生成后输出编译器性能信息。",
|
|
1027
1151
|
"Output_directory_for_generated_declaration_files_6166": "已生成声明文件的输出目录。",
|
|
1028
|
-
"Output_file_0_from_project_1_does_not_exist_6309": "来自项目“{1}”的输出文件“{0}”不存在",
|
|
1029
1152
|
"Output_file_0_has_not_been_built_from_source_file_1_6305": "未从源文件“{1}”生成输出文件“{0}”。",
|
|
1030
1153
|
"Output_from_referenced_project_0_included_because_1_specified_1411": "由于指定了 \"{1}\",因此包含了引用的项目 \"{0}\" 的输出",
|
|
1031
1154
|
"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412": "由于已将 \"--module\" 指定为 \"none\",因此包含了引用的项目 \"{0}\" 的输出",
|
|
@@ -1068,6 +1191,7 @@
|
|
|
1068
1191
|
"Parameter_declaration_expected_1138": "应为参数声明。",
|
|
1069
1192
|
"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051": "参数具有名称,但不具有类型。你是想使用 \"{0}: {1}\" 吗?",
|
|
1070
1193
|
"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012": "参数修饰符只能在 TypeScript 文件中使用。",
|
|
1194
|
+
"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011": "参数必须具有带有 --isolatedDeclarations 的显式类型注释。",
|
|
1071
1195
|
"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036": "导出类中的公共 setter“{0}”的参数类型具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
|
1072
1196
|
"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037": "导出类中的公共 setter“{0}”的参数类型具有或正在使用专用名称“{1}”。",
|
|
1073
1197
|
"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034": "导出类中的公共静态 setter“{0}”的参数类型具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
|
@@ -1093,21 +1217,23 @@
|
|
|
1093
1217
|
"Print_the_names_of_emitted_files_after_a_compilation_6652": "编译后打印已发出文件的名称。",
|
|
1094
1218
|
"Print_this_message_6017": "打印此消息。",
|
|
1095
1219
|
"Private_accessor_was_defined_without_a_getter_2806": "定义了专用访问器,但没有 Getter。",
|
|
1220
|
+
"Private_field_0_must_be_declared_in_an_enclosing_class_1111": "必须在封闭类中声明私有字段“{0}”。",
|
|
1096
1221
|
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "不允许在变量声明中使用专用标识符。",
|
|
1097
1222
|
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "不允许在类主体之外使用专用标识符。",
|
|
1098
1223
|
"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "专用标识符仅允许在类主体中使用,并且只能用作类成员声明的一部分、属性访问或用在 \"in\" 表达式的左侧",
|
|
1099
1224
|
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "专用标识符仅在面向 ECMAScript 2015 和更高版本时可用。",
|
|
1100
1225
|
"Private_identifiers_cannot_be_used_as_parameters_18009": "不能将专用标识符用作参数。",
|
|
1101
1226
|
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "不能在类型参数上访问专用或受保护的成员 \"{0}\"。",
|
|
1102
|
-
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "无法生成项目“{0}”,因为其依赖项“{1}”有错误",
|
|
1103
|
-
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "无法生成项目 \"{0}\" ,因为未生成其依赖项 \"{1}\"",
|
|
1104
1227
|
"Project_0_is_being_forcibly_rebuilt_6388": "正在强制重新生成项目“{0}”",
|
|
1228
|
+
"Project_0_is_out_of_date_because_1_6420": "由于 {1},项目“{0}”已过期。",
|
|
1229
|
+
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412": "由于 buildinfo 文件“{1}”指示文件“{2}”曾是编译的根文件,但不再是了,因此项目“{0}”已过期。",
|
|
1230
|
+
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419": "由于 buildinfo 文件“{1}”指示程序需要报告错误,因此项目“{0}”已过期。",
|
|
1105
1231
|
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399": "项目“{0}”已过期,因为 buildinfo 文件“{1}”指示某些更改未发出",
|
|
1232
|
+
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406": "由于 buildinfo 文件“{1}”指示 compilerOptions 中存在更改,因此项目“{0}”已过期",
|
|
1106
1233
|
"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353": "项目“{0}”已过期,因为其依赖项“{1}”已过期",
|
|
1107
1234
|
"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350": "项目“{0}”已过期,因为输出“{1}”早于输入“{2}”",
|
|
1108
1235
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "项目“{0}”已过期,因为输出文件“{1}”不存在",
|
|
1109
1236
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "项目 \"{0}\" 已过期,因为其输出是使用与当前版本 \"{2}\" 不同的版本 \"{1}\" 生成的",
|
|
1110
|
-
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "项目 \"{0}\" 已过期,因为其依赖项 \"{1}\" 的输出已更改",
|
|
1111
1237
|
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "项目“{0}”已过期,因为读取文件“{1}”时出错",
|
|
1112
1238
|
"Project_0_is_up_to_date_6361": "“{0}”项目已是最新",
|
|
1113
1239
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "项目“{0}”是最新的,因为最新的输入“{1}”早于输出“{2}”",
|
|
@@ -1149,7 +1275,7 @@
|
|
|
1149
1275
|
"Property_0_is_used_before_its_initialization_2729": "属性 \"{0}\" 在其初始化前已被使用。",
|
|
1150
1276
|
"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "类型“{1}”上不存在属性“{0}”。你是否是指“{2}”?",
|
|
1151
1277
|
"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX 展开特性的“{0}”属性不能分配给目标属性。",
|
|
1152
|
-
"
|
|
1278
|
+
"Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094": "导出匿名类类型的属性“{0}”可能不是私有或受保护的属性。",
|
|
1153
1279
|
"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032": "导出接口的属性“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
|
1154
1280
|
"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033": "导出接口的属性“{0}”具有或正在使用专用名称“{1}”。",
|
|
1155
1281
|
"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411": "类型“{1}”的属性“{0}”不能赋给“{2}”索引类型“{3}”。",
|
|
@@ -1157,9 +1283,10 @@
|
|
|
1157
1283
|
"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612": "属性 \"{0}\" 将覆盖 \"{1}\" 中的基属性。如果是有意的,请添加初始值设定项。否则,请添加 \"declare\" 修饰符或删除多余的声明。",
|
|
1158
1284
|
"Property_assignment_expected_1136": "应为属性分配。",
|
|
1159
1285
|
"Property_destructuring_pattern_expected_1180": "应为属性析构模式。",
|
|
1286
|
+
"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012": "属性必须具有带有 --isolatedDeclarations 的显式类型注释。",
|
|
1160
1287
|
"Property_or_signature_expected_1131": "应为属性或签名。",
|
|
1161
1288
|
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "属性值只能是字符串、数字、\"true\"、\"false\"、\"null\"、对象或数组等类型的字面量。",
|
|
1162
|
-
"
|
|
1289
|
+
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179": "以“ES5”设为目标时,对“for-of”、传播和析构中的可迭代项提供完全支持。",
|
|
1163
1290
|
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "导出类的公共方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。",
|
|
1164
1291
|
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "导出类的公共方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
|
1165
1292
|
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "导出类的公共方法“{0}”具有或正在使用专用名称“{1}”。",
|
|
@@ -1176,14 +1303,16 @@
|
|
|
1176
1303
|
"Raise_an_error_when_a_function_parameter_isn_t_read_6676": "在未读取函数参数时引发错误。",
|
|
1177
1304
|
"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052": "对具有隐式 \"any\" 类型的表达式和声明引发错误。",
|
|
1178
1305
|
"Raise_error_on_this_expressions_with_an_implied_any_type_6115": "在带隐式“any\" 类型的 \"this\" 表达式上引发错误。",
|
|
1179
|
-
"
|
|
1306
|
+
"Range_out_of_order_in_character_class_1517": "字符类中的范围顺序不对。",
|
|
1307
|
+
"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205": "启用“{0}”时重新导出类型需要使用“导出类型”。",
|
|
1308
|
+
"React_components_cannot_include_JSX_namespace_names_2639": "React 组件不能包含 JSX 命名空间名称",
|
|
1180
1309
|
"Redirect_output_structure_to_the_directory_6006": "将输出结构重定向到目录。",
|
|
1181
1310
|
"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617": "减少 TypeScript 自动加载的项目数。",
|
|
1182
1311
|
"Referenced_project_0_may_not_disable_emit_6310": "引用的项目“{0}”可能不会禁用发出。",
|
|
1183
1312
|
"Referenced_project_0_must_have_setting_composite_Colon_true_6306": "引用的项目“{0}”必须拥有设置 \"composite\": true。",
|
|
1184
1313
|
"Referenced_via_0_from_file_1_1400": "通过 \"{0}\" 从文件 \"{1}\" 引用",
|
|
1185
|
-
"
|
|
1186
|
-
"
|
|
1314
|
+
"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834": "当 \"--moduleResolution\" 为 \"node16\" 或 \"nodenext\" 时,相对导入路径需要 ECMAScript 导入中的显式文件扩展名。请考虑将扩展名添加到导入路径中。",
|
|
1315
|
+
"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835": "当“--moduleResolution”为“node16” 或“nodenext”时,相对导入路径需要 ECMAScript 导入中的显式文件扩展名。你是想使用 \"{0}\" 吗?",
|
|
1187
1316
|
"Remove_a_list_of_directories_from_the_watch_process_6628": "从监视进程中删除目录列表。",
|
|
1188
1317
|
"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629": "从监视模式的处理中删除文件列表。",
|
|
1189
1318
|
"Remove_all_unnecessary_override_modifiers_95163": "删除所有不必要的 \"override\" 修饰符",
|
|
@@ -1218,11 +1347,15 @@
|
|
|
1218
1347
|
"Report_errors_in_js_files_8019": ".js 文件中的报表出错。",
|
|
1219
1348
|
"Report_errors_on_unused_locals_6134": "报告未使用的局部变量上的错误。",
|
|
1220
1349
|
"Report_errors_on_unused_parameters_6135": "报告未使用的参数上的错误。",
|
|
1350
|
+
"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719": "导出时需要足够的注释,以便其他工具可以轻松生成声明文件。",
|
|
1221
1351
|
"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717": "要求索引签名中有未声明的属性以使用元素访问。",
|
|
1222
1352
|
"Required_type_parameters_may_not_follow_optional_type_parameters_2706": "所需的类型参数可能不遵循可选类型参数。",
|
|
1223
1353
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "在位置“{1}”的缓存中找到模块“{0}”的解析。",
|
|
1224
1354
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "在位置“{1}”的缓存中找到类型引用指令“{0}”的解析。",
|
|
1355
|
+
"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277": "解析非相对名称失败;正在尝试禁用新式节点解析功能,以查看 npm 库是否需要配置更新。",
|
|
1356
|
+
"Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279": "解析非相对名称失败;正在尝试“--moduleResolution 捆绑程序”,以查看项目是否可能需要配置更新。",
|
|
1225
1357
|
"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只将 \"keyof\" 解析为字符串值的属性名称(不含数字或符号)。",
|
|
1358
|
+
"Resolved_under_condition_0_6414": "已在条件“{0}”下解析。",
|
|
1226
1359
|
"Resolving_in_0_mode_with_conditions_1_6402": "正在 {0} 模式下解析,条件为 {1}。",
|
|
1227
1360
|
"Resolving_module_0_from_1_6086": "======== 正在从“{1}”解析模块“{0}”。========",
|
|
1228
1361
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在相对于基 URL“{1}”-“{2}”解析模块名“{0}”。",
|
|
@@ -1232,6 +1365,7 @@
|
|
|
1232
1365
|
"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123": "======== 正在解析类型引用指令“{0}”,包含文件“{1}”,未设置根目录。========",
|
|
1233
1366
|
"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127": "======== 正在解析类型引用指令“{0}”,未设置包含文件,根目录“{1}”。========",
|
|
1234
1367
|
"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128": "======== 正在解析类型引用指令“{0}”,未设置包含文件,未设置根目录。========",
|
|
1368
|
+
"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265": "正在解析指定自定义 typeRoots 的程序的类型引用指令,跳过在“node_modules”文件夹中查找。",
|
|
1235
1369
|
"Resolving_with_primary_search_path_0_6121": "正在使用主搜索路径“{0}”解析。",
|
|
1236
1370
|
"Rest_parameter_0_implicitly_has_an_any_type_7019": "Rest 参数“{0}”隐式具有 \"any[]\" 类型。",
|
|
1237
1371
|
"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047": "Rest 参数 \"{0}\" 隐式具有 \"any[]\" 类型,但可从用法中推断出更好的类型。",
|
|
@@ -1276,12 +1410,15 @@
|
|
|
1276
1410
|
"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "正在重用旧程序“{1}”中类型引用指令“{0}”的解析,已成功将其解析为包 ID 为“{3}”的“{2}”。",
|
|
1277
1411
|
"Rewrite_all_as_indexed_access_types_95034": "全部重写为索引访问类型",
|
|
1278
1412
|
"Rewrite_as_the_indexed_access_type_0_90026": "重写为索引访问类型“{0}”",
|
|
1413
|
+
"Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "由于左操作数永远不会为空,因此 ?? 的右操作数无法访问。",
|
|
1279
1414
|
"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "无法确定根目录,正在跳过主搜索路径。",
|
|
1280
1415
|
"Root_file_specified_for_compilation_1427": "为编译指定的根文件",
|
|
1281
1416
|
"STRATEGY_6039": "策略",
|
|
1282
1417
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "保存 .tsbuildinfo 文件以允许项目增量编译。",
|
|
1283
1418
|
"Saw_non_matching_condition_0_6405": "看到了不匹配的条件“{0}”。",
|
|
1284
1419
|
"Scoped_package_detected_looking_in_0_6182": "检测到范围包,请在“{0}”中查看",
|
|
1420
|
+
"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418": "正在搜索所有上级 node_modules 目录以查找回退扩展: {0}。",
|
|
1421
|
+
"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417": "正在搜索所有上级 node_modules 目录以查找首选扩展: {0}。",
|
|
1285
1422
|
"Selection_is_not_a_valid_statement_or_statements_95155": "所选内容不是有效的语句",
|
|
1286
1423
|
"Selection_is_not_a_valid_type_node_95133": "所选内容不是有效的类型节点",
|
|
1287
1424
|
"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705": "为发出的 JavaScript 设置 JavaScript 语言版本并包含兼容的库声明。",
|
|
@@ -1295,11 +1432,11 @@
|
|
|
1295
1432
|
"Show_verbose_diagnostic_information_6150": "显示详细的诊断信息。",
|
|
1296
1433
|
"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367": "显示将生成(如果指定有 '--clean',则删除)什么",
|
|
1297
1434
|
"Signature_0_must_be_a_type_predicate_1224": "签名“{0}”必须为类型谓词。",
|
|
1435
|
+
"Signature_declarations_can_only_be_used_in_TypeScript_files_8017": "签名声明只能在 TypeScript 文件中使用。",
|
|
1298
1436
|
"Skip_type_checking_all_d_ts_files_6693": "跳过对所有 .d.ts 文件的类型检查。",
|
|
1299
1437
|
"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692": "跳过 TypeScript 附带的类型检查 .d.ts 文件。",
|
|
1300
1438
|
"Skip_type_checking_of_declaration_files_6012": "跳过声明文件的类型检查。",
|
|
1301
|
-
"
|
|
1302
|
-
"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382": "即将跳过项目 \"{0}\" 的生成,因为未生成其依赖项 \"{1}\"",
|
|
1439
|
+
"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164": "正在跳过看起来像绝对 URI、目标文件类型的模块“{0}”: {1}。",
|
|
1303
1440
|
"Source_from_referenced_project_0_included_because_1_specified_1414": "由于指定了 \"{1}\",因此包含了引用的项目 \"{0}\" 的源",
|
|
1304
1441
|
"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415": "由于已将 \"--module\" 指定为 \"none\",因此包含了引用的项目 \"{0}\" 的源",
|
|
1305
1442
|
"Source_has_0_element_s_but_target_allows_only_1_2619": "源具有 {0} 个元素,但目标仅允许 {1} 个。",
|
|
@@ -1322,7 +1459,6 @@
|
|
|
1322
1459
|
"Specify_how_the_TypeScript_watch_mode_works_6715": "指定 TypeScript 监视模式的工作方式。",
|
|
1323
1460
|
"Specify_library_files_to_be_included_in_the_compilation_6079": "指定要在编译中包括的库文件。",
|
|
1324
1461
|
"Specify_module_code_generation_6016": "指定模块代码生成。",
|
|
1325
|
-
"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069": "指定模块解析策略: \"node\" (Node.js)或 \"classic\" (TypeScript pre-1.6)。",
|
|
1326
1462
|
"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649": "指定使用 “jsx: react-jsx*” 时用于导入 JSX 中心函数的模块说明符。",
|
|
1327
1463
|
"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多个行为类似于 “./node_modules/@types” 的文件夹。",
|
|
1328
1464
|
"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633": "指定对从中继承设置的基本配置文件的一个或多个路径或节点模块引用。",
|
|
@@ -1360,8 +1496,10 @@
|
|
|
1360
1496
|
"Static_members_cannot_reference_class_type_parameters_2302": "静态成员不能引用类类型参数。",
|
|
1361
1497
|
"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "静态属性“{0}”与构造函数“{1}”的内置属性函数“{0}”冲突。",
|
|
1362
1498
|
"String_literal_expected_1141": "应为字符串字面量。",
|
|
1499
|
+
"String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057": "当“--module”标志设置为“es2015”或“es2020”时,不支持字符串文本导入和导出名称。",
|
|
1363
1500
|
"String_literal_with_double_quotes_expected_1327": "应为带双引号的字符串字面量。",
|
|
1364
1501
|
"Stylize_errors_and_messages_using_color_and_context_experimental_6073": "使用颜色和上下文风格化错误和消息(实验)。",
|
|
1502
|
+
"Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504": "当有减号时,子空间标志必须存在。",
|
|
1365
1503
|
"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717": "后续属性声明必须属于同一类型。属性“{0}”的类型必须为“{1}”,但此处却为类型“{2}”。",
|
|
1366
1504
|
"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403": "后续变量声明必须属于同一类型。变量“{0}”必须属于类型“{1}”,但此处却为类型“{2}”。",
|
|
1367
1505
|
"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064": "模式“{1}”的替换“{0}”类型不正确,应为 \"string\",实际为“{2}”。",
|
|
@@ -1380,14 +1518,16 @@
|
|
|
1380
1518
|
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "可选链中不允许使用带有标记的模板表达式。",
|
|
1381
1519
|
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "目标仅允许 {0} 个元素,但源中的元素可能更多。",
|
|
1382
1520
|
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "目标仅允许 {0} 个元素,但源中的元素可能不够。",
|
|
1521
|
+
"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849": "目标签名提供的自变量太少。预期为 {0} 个或更多,但实际为 {1} 个。",
|
|
1383
1522
|
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "\"{0}\" 修饰符只能在 TypeScript 文件中使用。",
|
|
1384
1523
|
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "“{0}”运算符不能应用于类型 \"symbol\"。",
|
|
1385
1524
|
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "“{0}”运算符不允许用于布尔类型。请考虑改用“{1}”。",
|
|
1386
1525
|
"The_0_property_of_an_async_iterator_must_be_a_method_2768": "异步迭代器的 \"{0}\" 属性必须是方法。",
|
|
1387
1526
|
"The_0_property_of_an_iterator_must_be_a_method_2767": "迭代器的 \"{0}\" 属性必须是方法。",
|
|
1388
1527
|
"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696": "\"Object\" 类型可分配给极少数其他类型。是否想要改用“任意”类型?",
|
|
1389
|
-
"
|
|
1390
|
-
"
|
|
1528
|
+
"The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502": "不能同时设置 Unicode (u) 标志和 Unicode Sets (v) 标志。",
|
|
1529
|
+
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496": "无法在 ES5 中的箭头函数中引用 \"arguments\" 对象。请考虑使用标准函数表达式。",
|
|
1530
|
+
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522": "无法在 ES5 中的异步函数或方法中引用 \"arguments\" 对象。请考虑使用标准函数或方法。",
|
|
1391
1531
|
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "\"if\" 语句的正文不能为空语句。",
|
|
1392
1532
|
"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793": "针对此实现的调用已成功,但重载的实现签名在外部不可见。",
|
|
1393
1533
|
"The_character_set_of_the_input_files_6163": "输入文件的字符集。",
|
|
@@ -1414,6 +1554,8 @@
|
|
|
1414
1554
|
"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088": "推断类型“{0}”引用的类型具有无法简单序列化的循环结构。必须具有类型注释。",
|
|
1415
1555
|
"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527": "“{0}”的推断类型引用不可访问的“{1}”类型。需要类型批注。",
|
|
1416
1556
|
"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056": "此节点的推断类型超出编译器将序列化的最大长度。需要显式类型注释。",
|
|
1557
|
+
"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850": "\"using\" 声明的初始值设定项必须是具有 \"[Symbol.dispose]()\" 方法的对象,或为 \"null\" 或 \"undefined\"。",
|
|
1558
|
+
"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851": "\"await using\" 声明的初始值设定项必须是具有 \"[Symbol.asyncDispose]()\" 或 \"[Symbol.dispose]5D;()\" 方法的对象,或者是 \"null\" 或 \"undefined\"。",
|
|
1417
1559
|
"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032": "由于属性“{1}”存在于多个要素中,但在某些要素中是专用属性,因此已将交集“{0}”缩减为“绝不”。",
|
|
1418
1560
|
"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031": "由于属性“{1}”在某些要素中具有存在冲突的类型,因此已将交集“{0}”缩减为“绝不”。",
|
|
1419
1561
|
"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795": "\"intrinsic\" 关键字只能用于声明编译器提供的内部类型。",
|
|
@@ -1421,6 +1563,8 @@
|
|
|
1421
1563
|
"The_last_overload_gave_the_following_error_2770": "最后一个重载给出了以下错误。",
|
|
1422
1564
|
"The_last_overload_is_declared_here_2771": "在此处声明最后一个重载。",
|
|
1423
1565
|
"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491": "\"for...in\" 语句的左侧不能为析构模式。",
|
|
1566
|
+
"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493": "\"for...in\" 语句的左侧不能是 \"using\" 声明。",
|
|
1567
|
+
"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494": "\"for...in\" 语句的左侧不能是 \"await using\" 声明。",
|
|
1424
1568
|
"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404": "\"for...in\" 语句的左侧不能使用类型批注。",
|
|
1425
1569
|
"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780": "\"for…in\" 语句的左侧不能是可选属性访问。",
|
|
1426
1570
|
"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406": "\"for...in\" 语句的左侧必须是变量或属性访问。",
|
|
@@ -1432,6 +1576,7 @@
|
|
|
1432
1576
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "算术运算左侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
1433
1577
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "赋值表达式的左侧不能是可选属性访问。",
|
|
1434
1578
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "赋值表达式的左侧必须是变量或属性访问。",
|
|
1579
|
+
"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860": "\"instanceof\" 表达式的左侧必须可分配给右侧 \"[Symbol.hasInstance]\" 方法的第一个自变量。",
|
|
1435
1580
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "\"instanceof\" 表达式左侧必须是 \"any\" 类型、对象类型或类型参数。",
|
|
1436
1581
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "向用户显示消息时所用的区域设置(例如,\"en-us\")",
|
|
1437
1582
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "用于搜索 node_modules 和加载 JavaScript 文件的最大依赖项深度。",
|
|
@@ -1445,15 +1590,18 @@
|
|
|
1445
1590
|
"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209": "项目根不明确,但需要解析文件“{1}”中的导出映射项“{0}”。提供 `rootDir` 编译器选项以消除歧义。",
|
|
1446
1591
|
"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210": "项目根不明确,但仍需要解析文件“{1}”中的导入映射项“{0}”。提供 `rootDir` 编译器选项以消除歧义。",
|
|
1447
1592
|
"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014": "无法在此类中的类型 \"{1}\" 上访问属性 \"{0}\",因为具有相同拼写的另一个专用标识符隐藏了它。",
|
|
1448
|
-
"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380": "\"Get\" 访问器的返回类型必须可分配给其 \"Set\" 访问器类型",
|
|
1449
1593
|
"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237": "参数修饰器函数的返回类型必须为 \"void\" 或 \"any\"。",
|
|
1450
1594
|
"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236": "属性修饰器函数的返回类型必须为 \"void\" 或 \"any\"。",
|
|
1451
1595
|
"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058": "异步函数的返回类型必须是有效承诺,或不得包含可调用的 \"then\" 成员。 ",
|
|
1596
|
+
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065": "异步函数或方法的返回类型必须为全局 Promise<T> 类型。",
|
|
1452
1597
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "异步函数或方法的返回类型必须为全局 Promise<T> 类型。你是否是指写入 \"Promise<{0}>\"?",
|
|
1453
1598
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "\"for...in\" 语句右侧必须是 \"any\" 类型、对象类型或类型参数,但此处的类型为“{0}”。",
|
|
1454
1599
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "算术运算右侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
1455
|
-
"
|
|
1600
|
+
"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359": "\"instanceof\" 表达式的右侧必须是类型 \"any\"、类、函数或其他可分配给 \"Function\" 接口类型的类型,或者是具有 \"Symbol.hasInstance\" 方法的对象类型。",
|
|
1601
|
+
"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848": "\"instanceof\" 表达式的右侧不能是实例化表达式。",
|
|
1456
1602
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "“{0}”文件的根值必须是一个对象。",
|
|
1603
|
+
"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278": "运行时将使用 {1} 个自变量调用修饰器,但修饰器需要 {0} 个。",
|
|
1604
|
+
"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279": "运行时将使用 {1} 个自变量调用修饰器,但修饰器至少需要 {0} 个。",
|
|
1457
1605
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "在此处定义了“{0}”的阴影声明",
|
|
1458
1606
|
"The_signature_0_of_1_is_deprecated_6387": "“{1}”的签名“{0}”已弃用。",
|
|
1459
1607
|
"The_specified_path_does_not_exist_Colon_0_5058": "指定的路径不存在:“{0}”。",
|
|
@@ -1466,7 +1614,6 @@
|
|
|
1466
1614
|
"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207": "在将 “export type” 用在其导出语句上时,不能在已命名导出上使用 “type” 修饰符。",
|
|
1467
1615
|
"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206": "在将 “import type” 用在其导入语句上时,不能在已命名导入上使用 “type” 修饰符。。",
|
|
1468
1616
|
"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030": "函数声明的类型必须与函数的签名匹配。",
|
|
1469
|
-
"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841": "如果没有“resolution-mode”断言(这是不稳定的功能),则无法命名此表达式的类型。请使用夜间 TypeScript 来消除此错误。请尝试使用“npm install -D typescript@next”进行更新。",
|
|
1470
1617
|
"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118": "无法序列化此节点的类型,因为无法序列化其属性“{0}”。",
|
|
1471
1618
|
"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\" 属性的类型的承诺。",
|
|
1472
1619
|
"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490": "迭代器的 \"{0}()\" 方法返回的类型必须具有 \"value\" 属性。",
|
|
@@ -1476,20 +1623,30 @@
|
|
|
1476
1623
|
"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189": "\"for...in\" 语句的变量声明不能有初始化表达式。",
|
|
1477
1624
|
"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190": "\"for...of\" 语句的变量声明不能有初始化表达式。",
|
|
1478
1625
|
"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "不支持 \"with\" 语句。\"with\" 程序块中的所有符号都将具有类型 \"any\"。",
|
|
1626
|
+
"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280": "“{0}”处有类型,但无法在当前 \"moduleResolution\" 设置下解析此结果。请考虑更新到 \"node16\"、\"nodenext\" 或 \"bundler\"。",
|
|
1627
|
+
"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "“{0}”处有类型,但在遵守 package.json \"exports\" 时无法解析此结果。“{1}”库可能需要更新其 package.json 或键入。",
|
|
1628
|
+
"There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "此正则表达式中没有名为“{0}”的捕获组。",
|
|
1629
|
+
"There_is_nothing_available_for_repetition_1507": "没有可重复的内容。",
|
|
1479
1630
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 标记的 \"{0}\" 属性需要 \"{1}\" 类型的子级,但提供了多个子级。",
|
|
1480
1631
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 标记的 \"{0}\" 属性需要类型 \"{1}\",该类型需要多个子级,但仅提供了一个子级。",
|
|
1632
|
+
"This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "此向后引用指的是一个不存在的组。此正则表达式中没有捕获组。",
|
|
1633
|
+
"This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533": "此向后引用指的是一个不存在的组。此正则表达式中只有 {0} 个捕获组。",
|
|
1634
|
+
"This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870": "此二进制表达式永远不会为 null。是否缺少括号?",
|
|
1635
|
+
"This_character_cannot_be_escaped_in_a_regular_expression_1535": "不能在正则表达式中转义此字符。",
|
|
1481
1636
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比较似乎是无意的,因为类型“{0}”和“{1}”没有重叠。",
|
|
1482
1637
|
"This_condition_will_always_return_0_2845": "此条件将始终返回“{0}”。",
|
|
1483
1638
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此条件将始终返回“{0}”,因为 JavaScript 按引用而不是值比较对象。",
|
|
1484
1639
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "此条件将始终返回 true,因为此“{0}”已始终定义。",
|
|
1485
1640
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "此条件将始终返回 true,因为始终定义了函数。你是想改为调用它吗?",
|
|
1486
1641
|
"This_constructor_function_may_be_converted_to_a_class_declaration_80002": "此构造函数可能会转换为类声明。",
|
|
1642
|
+
"This_expression_is_always_nullish_2871": "此表达式始终为 null。",
|
|
1487
1643
|
"This_expression_is_not_callable_2349": "此表达式不可调用。",
|
|
1488
1644
|
"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "此表达式是 \"get\" 访问器,因此不可调用。你想在不使用 \"()\" 的情况下使用它吗?",
|
|
1489
1645
|
"This_expression_is_not_constructable_2351": "此表达式不可构造。",
|
|
1490
1646
|
"This_file_already_has_a_default_export_95130": "此文件已具有默认导出",
|
|
1491
|
-
"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371": "此导入从不用作值,必须使用 \"import type\" ,因为 \"importsNotUsedAsValues\" 设置为 \"error\"。",
|
|
1492
1647
|
"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "这是正在扩充的声明。请考虑将扩充声明移到同一个文件中。",
|
|
1648
|
+
"This_kind_of_expression_is_always_falsy_2873": "这种表达式的结果始终为 false。",
|
|
1649
|
+
"This_kind_of_expression_is_always_truthy_2872": "这种表达式的结果始终为 true。",
|
|
1493
1650
|
"This_may_be_converted_to_an_async_function_80006": "可将此转换为异步函数。",
|
|
1494
1651
|
"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122": "此成员不能具有带 “@override” 标记的 JSDoc 注释,因为未在基类“{0}”中对其进行声明。",
|
|
1495
1652
|
"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123": "此成员不能具有带 “override” 标记的 JSDoc 注释,因为未在基类“{0}”中对其进行声明。你是否指的是“{1}”?",
|
|
@@ -1502,10 +1659,13 @@
|
|
|
1502
1659
|
"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116": "此成员必须有 \"override\" 修饰符,因为它替代基类 \"{0}\" 中声明的一个抽象方法。",
|
|
1503
1660
|
"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497": "只能通过启用 \"{0}\" 标志并引用其默认导出,使用 ECMAScript 导入/导出来引用此模块。",
|
|
1504
1661
|
"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594": "此模块是使用 “export =” 声明的,只能在使用“{0}”标志时用于默认导入。",
|
|
1662
|
+
"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012": "此重载隐式返回类型“{0}”,因为它缺少返回类型批注。",
|
|
1505
1663
|
"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394": "此重载签名与其实现签名不兼容。",
|
|
1506
1664
|
"This_parameter_is_not_allowed_with_use_strict_directive_1346": "此参数不允许与 \"use strict\" 指令一起使用。",
|
|
1507
1665
|
"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120": "此参数属性必须具有带 “@override” 标记的 JSDoc 注释,因为它将替代基类“{0}”中的成员。",
|
|
1508
1666
|
"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "此参数属性必须具有 “override” 修饰符,因为它会替代基类“{0}”中的成员。",
|
|
1667
|
+
"This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "此正则表达式标志不能在子模式内切换。",
|
|
1668
|
+
"This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "此正则表达式标志仅在面向“{0}”或更高版本时可用。",
|
|
1509
1669
|
"This_spread_always_overwrites_this_property_2785": "此扩张将始终覆盖此属性。",
|
|
1510
1670
|
"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "此语法保留在扩展名为 .mts 或 .cts 的文件中。请添加尾随逗号或显式约束。",
|
|
1511
1671
|
"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "此语法保留在扩展名为 .mts 或 .cts 的文件中。请改用 `as` 表达式。",
|
|
@@ -1518,15 +1678,15 @@
|
|
|
1518
1678
|
"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481": "若要将此文件转换为 ECMAScript 模块,请将其文件扩展名更改为“{0}”,或将字段“\"type\": \"module\"”添加到“{1}”。",
|
|
1519
1679
|
"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480": "若要将此文件转换为 ECMAScript 模块,请将其文件扩展名更改为“{0}”,或者使用“{ \"type\": \"module\" }”创建本地 package.json 文件。",
|
|
1520
1680
|
"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483": "若要将此文件转换为 ECMAScript 模块,请使用“{ \"type\": \"module\" }”创建本地 package.json 文件。",
|
|
1521
|
-
"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378": "
|
|
1681
|
+
"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378": "仅当“module”选项设置为“es2022”、“esnext”、“system”、“node16”、“nodenext”或“preserve”时,且“target”选项设置为“es2017”或更高版本时,才允许使用顶级“await”表达式。",
|
|
1682
|
+
"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854": "仅当“module”选项设置为 \"es2022\"、\"esnext\"、\"system\"、\"node16\"、\"nodenext\" 或 \"preserve\" 且 \"target\" 选项设置为 \"es2017\" 或更高时,才允许使用顶级 \"await using\" 语句。",
|
|
1522
1683
|
"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": ".d.ts 文件中的顶级声明必须以 \"declare\" 或 \"export\" 修饰符开头。",
|
|
1523
|
-
"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432": "
|
|
1684
|
+
"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432": "仅当“module”选项设置为“es2022”、“esnext”、“system”、“node16”、“nodenext”或“preserve”时,且“target”选项设置为“es2017”或更高版本时,才允许使用顶级“for await”循环。",
|
|
1524
1685
|
"Trailing_comma_not_allowed_1009": "不允许使用尾随逗号。",
|
|
1525
1686
|
"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153": "将每个文件转换为单独的模块(类似 \"ts.transpileModule\")。",
|
|
1526
1687
|
"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)文件",
|
|
1527
1688
|
"Trying_other_entries_in_rootDirs_6110": "正在尝试 \"rootDirs\" 中的其他条目。",
|
|
1528
1689
|
"Trying_substitution_0_candidate_module_location_Colon_1_6093": "正在尝试替换“{0}”,候选模块位置:“{1}”。",
|
|
1529
|
-
"Tuple_members_must_all_have_names_or_all_not_have_names_5084": "元组成员必须全部具有或全部不具有名称。",
|
|
1530
1690
|
"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493": "长度为 \"{1}\" 的元组类型 \"{0}\" 在索引 \"{2}\" 处没有元素。",
|
|
1531
1691
|
"Tuple_type_arguments_circularly_reference_themselves_4110": "元组类型参数循环引用自身。",
|
|
1532
1692
|
"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802": "只有在使用 \"--downlevelIteration\" 标志或 \"--target\" 为 \"es2015\" 或更高版本时,才能循环访问类型“{0}”。",
|
|
@@ -1539,10 +1699,11 @@
|
|
|
1539
1699
|
"Type_0_has_no_matching_index_signature_for_type_1_2537": "类型“{0}”没有匹配的类型“{1}”的索引签名。",
|
|
1540
1700
|
"Type_0_has_no_properties_in_common_with_type_1_2559": "类型“{0}”与类型“{1}”不具有相同的属性。",
|
|
1541
1701
|
"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635": "类型“{0}”没有类型参数列表适用的签名。",
|
|
1702
|
+
"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862": "类型“{0}”是泛型的,只能编制索引以供读取。",
|
|
1542
1703
|
"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739": "类型“{0}”缺少类型“{1}”中的以下属性: {2}",
|
|
1543
1704
|
"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740": "类型“{0}”缺少类型“{1}”的以下属性: {2} 及其他 {3} 项。",
|
|
1544
1705
|
"Type_0_is_not_a_constructor_function_type_2507": "类型“{0}”不是构造函数类型。",
|
|
1545
|
-
"
|
|
1706
|
+
"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055": "类型“{0}”不是 ES5 中有效的异步函数返回类型,因为它不引用与 Promise 兼容的构造函数值。",
|
|
1546
1707
|
"Type_0_is_not_an_array_type_2461": "类型“{0}”不是数组类型。",
|
|
1547
1708
|
"Type_0_is_not_an_array_type_or_a_string_type_2495": "类型“{0}”不是数组类型或字符串类型。",
|
|
1548
1709
|
"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]()\" 方法。",
|
|
@@ -1551,6 +1712,7 @@
|
|
|
1551
1712
|
"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820": "类型“{0}”不可分配给类型“{1}”。你的意思是“{2}”?",
|
|
1552
1713
|
"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719": "类型“{0}”无法分配给类型“{1}”。存在具有此名称的两种不同类型,但它们是不相关的。",
|
|
1553
1714
|
"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636": "类型“{0}”不能分配给类型“{1}”,如方差批注所示。",
|
|
1715
|
+
"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033": "根据计算枚举成员值的要求,类型“{0}”不能分配给类型“{1}”。",
|
|
1554
1716
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标属性的类型。",
|
|
1555
1717
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标类型。。",
|
|
1556
1718
|
"Type_0_is_not_comparable_to_type_1_2678": "类型“{0}”不可与类型“{1}”进行比较。",
|
|
@@ -1570,14 +1732,15 @@
|
|
|
1570
1732
|
"Type_argument_expected_1140": "应为类型参数。",
|
|
1571
1733
|
"Type_argument_list_cannot_be_empty_1099": "类型参数列表不能为空。",
|
|
1572
1734
|
"Type_arguments_can_only_be_used_in_TypeScript_files_8011": "类型参数只能在 TypeScript 文件中使用。",
|
|
1573
|
-
"Type_arguments_cannot_be_used_here_1342": "无法在此处使用类型参数。",
|
|
1574
1735
|
"Type_arguments_for_0_circularly_reference_themselves_4109": "\"{0}\" 的类型参数循环引用自身。",
|
|
1575
1736
|
"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016": "类型断言表达式只能在 TypeScript 文件中使用。",
|
|
1576
1737
|
"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626": "源中位置 {0} 的类型与目标中位置 {1} 的类型不兼容。",
|
|
1577
1738
|
"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627": "源中位置 {0} 到 {1} 的类型与目标中位置 {2} 的类型不兼容。",
|
|
1739
|
+
"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039": "包含专用名称“{0}”的类型不能与 --isolatedDeclarations 一起使用。",
|
|
1578
1740
|
"Type_declaration_files_to_be_included_in_compilation_6124": "要包含在编译中类型声明文件。",
|
|
1579
1741
|
"Type_expected_1110": "应为类型。",
|
|
1580
1742
|
"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "类型导入断言应恰好有一个键 - \"resolution-mode\" - 值为 \"import\" 或 \"require\"。",
|
|
1743
|
+
"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "类型导入属性应只有一个键 \"resolution-mode\",值为 \"import\" 或 \"require\"。",
|
|
1581
1744
|
"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "类型实例化过深,且可能无限。",
|
|
1582
1745
|
"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "类型在其自身的 \"then\" 方法的 fulfillment 回调中被直接或间接引用。",
|
|
1583
1746
|
"Type_library_referenced_via_0_from_file_1_1402": "通过 \"{0}\" 从文件 \"{1}\" 引用了库类型",
|
|
@@ -1623,6 +1786,8 @@
|
|
|
1623
1786
|
"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241": "作为表达式调用时,无法解析方法修饰器的签名。",
|
|
1624
1787
|
"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239": "作为表达式调用时,无法解析参数修饰器的签名。",
|
|
1625
1788
|
"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240": "作为表达式调用时,无法解析属性修饰器的签名。",
|
|
1789
|
+
"Undetermined_character_escape_1513": "不确定的字符转义。",
|
|
1790
|
+
"Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508": "意外的“{0}”。你是否想要使用反斜杠对其进行转义?",
|
|
1626
1791
|
"Unexpected_end_of_text_1126": "文本意外结束。",
|
|
1627
1792
|
"Unexpected_keyword_or_identifier_1434": "意外的关键字或标识符。",
|
|
1628
1793
|
"Unexpected_token_1012": "意外的标记。",
|
|
@@ -1631,12 +1796,19 @@
|
|
|
1631
1796
|
"Unexpected_token_Did_you_mean_or_gt_1382": "意外的标记。你是想使用 `{'>'}` 还是 `>`?",
|
|
1632
1797
|
"Unexpected_token_Did_you_mean_or_rbrace_1381": "意外的标记。你是想使用 `{'}'}` 还是 `}`?",
|
|
1633
1798
|
"Unexpected_token_expected_1179": "意外标记。应为 \"{\"。",
|
|
1799
|
+
"Unicode_escape_sequence_cannot_appear_here_17021": "Unicode 转义序列不能显示在此处。",
|
|
1800
|
+
"Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538": "仅当设置了 Unicode (u) 标志或 Unicode Sets (v) 标志时,Unicode 转义序列才可用。",
|
|
1801
|
+
"Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530": "仅当设置了 Unicode (u) 标志或 Unicode Sets (v) 标志时,Unicode 属性值表达式才可用。",
|
|
1802
|
+
"Unknown_Unicode_property_name_1524": "未知的 Unicode 属性名称。",
|
|
1803
|
+
"Unknown_Unicode_property_name_or_value_1529": "未知的 Unicode 属性名称或值。",
|
|
1804
|
+
"Unknown_Unicode_property_value_1526": "未知的 Unicode 属性值。",
|
|
1634
1805
|
"Unknown_build_option_0_5072": "未知的生成选项 \"{0}\"。",
|
|
1635
1806
|
"Unknown_build_option_0_Did_you_mean_1_5077": "未知的生成选项 \"{0}\"。你是想使用 \"{1}\" 吗?",
|
|
1636
1807
|
"Unknown_compiler_option_0_5023": "未知的编译器选项“{0}”。",
|
|
1637
1808
|
"Unknown_compiler_option_0_Did_you_mean_1_5025": "未知的编译器选项 \"{0}\"。你是想使用 \"{1}\" 吗?",
|
|
1638
1809
|
"Unknown_keyword_or_identifier_Did_you_mean_0_1435": "未知的关键字或标识符。你是不是指“{0}”?",
|
|
1639
1810
|
"Unknown_option_excludes_Did_you_mean_exclude_6114": "未知的 \"excludes\" 选项。你的意思是 \"exclude\"?",
|
|
1811
|
+
"Unknown_regular_expression_flag_1499": "未知的正则表达式标志。",
|
|
1640
1812
|
"Unknown_type_acquisition_option_0_17010": "未知类型获取选项“{0}”。",
|
|
1641
1813
|
"Unknown_type_acquisition_option_0_Did_you_mean_1_17018": "未知的类型获取选项 \"{0}\"。你是想使用 \"{1}\" 吗?",
|
|
1642
1814
|
"Unknown_watch_option_0_5078": "未知观察选项 \"{0}\"。",
|
|
@@ -1651,14 +1823,19 @@
|
|
|
1651
1823
|
"Unused_label_7028": "未使用的标签。",
|
|
1652
1824
|
"Unused_ts_expect_error_directive_2578": "未使用的 \"@ts-expect-error\" 指令。",
|
|
1653
1825
|
"Update_import_from_0_90058": "从“{0}”更新导入",
|
|
1654
|
-
"
|
|
1826
|
+
"Update_modifiers_of_0_90061": "更新“{0}”的修饰符",
|
|
1655
1827
|
"Updating_output_timestamps_of_project_0_6359": "正在更新项目“{0}”的输出时间戳...",
|
|
1656
1828
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新项目 \"{0}\" 未更改的输出时间戳…",
|
|
1657
1829
|
"Use_0_95174": "使用 `{0}`",
|
|
1830
|
+
"Use_0_instead_5106": "请改用“{0}”。",
|
|
1658
1831
|
"Use_Number_isNaN_in_all_conditions_95175": "在所有条件下使用 `Number.isNaN`。",
|
|
1659
1832
|
"Use_element_access_for_0_95145": "对“{0}”使用元素访问",
|
|
1660
1833
|
"Use_element_access_for_all_undeclared_properties_95146": "对所有未声明的属性使用元素访问。",
|
|
1834
|
+
"Use_import_type_95180": "使用 \"import type\"",
|
|
1661
1835
|
"Use_synthetic_default_member_95016": "使用综合的“默认”成员。",
|
|
1836
|
+
"Use_the_package_json_exports_field_when_resolving_package_imports_6408": "解析包导入时,请使用 package.json \"exports\" 字段。",
|
|
1837
|
+
"Use_the_package_json_imports_field_when_resolving_imports_6409": "解析导入时,请使用 package.json \"import\" 字段。",
|
|
1838
|
+
"Use_type_0_95181": "使用 \"type {0}\"",
|
|
1662
1839
|
"Using_0_subpath_1_with_target_2_6404": "将“{0}”子路径“{1}”与目标“{2}”一起使用",
|
|
1663
1840
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "仅 ECMAScript 5 和更高版本支持在 \"for...of\" 语句中使用字符串。",
|
|
1664
1841
|
"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "使用 --build,-b 将使 tsc 的行为更像生成业务流程协调程序,而非编译器。这可用于触发生成复合项目,你可以在 {0} 详细了解这些项目",
|
|
@@ -1674,6 +1851,8 @@
|
|
|
1674
1851
|
"Variable_declaration_expected_1134": "应为变量声明。",
|
|
1675
1852
|
"Variable_declaration_list_cannot_be_empty_1123": "变量声明列表不能为空。",
|
|
1676
1853
|
"Variable_declaration_not_allowed_at_this_location_1440": "此位置不允许使用变量声明。",
|
|
1854
|
+
"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010": "变量必须具有带有 --isolatedDeclarations 的显式类型注释。",
|
|
1855
|
+
"Variables_with_multiple_declarations_cannot_be_inlined_95186": "具有多个声明的变量不能内联。",
|
|
1677
1856
|
"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "源中位置 {0} 的可变元素与目标中位置 {1} 的元素不匹配。",
|
|
1678
1857
|
"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "仅对象、函数、构造函数、映射类型的类型别名支持方差注释。",
|
|
1679
1858
|
"Version_0_6029": "版本 {0}",
|
|
@@ -1687,9 +1866,11 @@
|
|
|
1687
1866
|
"When_type_checking_take_into_account_null_and_undefined_6699": "进行类型检查时,请考虑 “null” 和 “undefined”。",
|
|
1688
1867
|
"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191": "是否在监视模式下保留过时的控制台输出,而不是清除屏幕。",
|
|
1689
1868
|
"Wrap_all_invalid_characters_in_an_expression_container_95109": "包装表达式容器中的所有无效字符",
|
|
1869
|
+
"Wrap_all_invalid_decorator_expressions_in_parentheses_95195": "将所有无效的修饰器表达式括在括号中",
|
|
1690
1870
|
"Wrap_all_object_literal_with_parentheses_95116": "用括号括起所有对象字面量",
|
|
1691
1871
|
"Wrap_all_unparented_JSX_in_JSX_fragment_95121": "将所有没有父级的 JSX 包装在 JSX 片段中",
|
|
1692
1872
|
"Wrap_in_JSX_fragment_95120": "包装在 JSX 片段中",
|
|
1873
|
+
"Wrap_in_parentheses_95194": "用括号括起来",
|
|
1693
1874
|
"Wrap_invalid_character_in_an_expression_container_95108": "包装表达式容器中的无效字符",
|
|
1694
1875
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "用括号括起以下应为对象字面量的内容",
|
|
1695
1876
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "你可以在 {0} 了解编译器选项的所有内容",
|
|
@@ -1702,20 +1883,25 @@
|
|
|
1702
1883
|
"_0_and_1_index_signatures_are_incompatible_2330": "“{0}”和“{1}”索引签名不兼容。",
|
|
1703
1884
|
"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076": "不能在不使用括号的情况下混用 \"{0}\" 和 \"{1}\" 操作。",
|
|
1704
1885
|
"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710": "“{0}”被指定了两次。将覆盖名为“{0}”的特性。",
|
|
1886
|
+
"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019": "类型末尾的“{0}”不是有效的 TypeScript 语法。是否要写入“{1}”?",
|
|
1887
|
+
"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020": "类型开头的“{0}”不是有效的 TypeScript 语法。是否要写入“{1}”?",
|
|
1705
1888
|
"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596": "只能通过启用 \"esModuleInterop\" 标志并使用默认导入来导入“{0}”。",
|
|
1706
1889
|
"_0_can_only_be_imported_by_using_a_default_import_2595": "仅可使用默认导入来导入“{0}”。",
|
|
1707
1890
|
"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598": "只能通过使用 \"require\" 调用或启用 \"esModuleInterop\" 标志并使用默认导入来导入“{0}”。",
|
|
1708
1891
|
"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597": "只能使用 \"require\" 调用或使用默认导入来导入“{0}”。",
|
|
1709
1892
|
"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616": "仅可使用 \"import {1} = require({2})\" 或默认导入来导入“{0}”。",
|
|
1710
1893
|
"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617": "仅可使用 \"import {1} = require({2})\" 或通过启用 \"esModuleInterop\" 标志并使用默认导入来导入“{0}”。",
|
|
1711
|
-
"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208": "无法在 \"--isolatedModules\" 下编译“{0}”,因为它被视为全局脚本文件。请添加导入、导出或空的 \"export {}\" 语句来使它成为模块。",
|
|
1712
1894
|
"_0_cannot_be_used_as_a_JSX_component_2786": "“{0}”不能用作 JSX 组件。",
|
|
1713
1895
|
"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362": "\"{0}\" 是使用 \"export type\" 导出的,因此不能用作值。",
|
|
1714
1896
|
"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361": "\"{0}\" 是使用 \"import type\" 导入的,因此不能用作值。",
|
|
1715
1897
|
"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747": "\"{0}\" 组件不接受文本作为子元素。JSX 中的文本类型为 \"string\",但 \"{1}\" 的预期类型为 \"{2}\"。",
|
|
1716
1898
|
"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082": "“{0}”可以使用与“{1}”无关的任意类型进行实例化。",
|
|
1899
|
+
"_0_declarations_can_only_be_declared_inside_a_block_1156": "“{0}”声明只能在块的内部声明。",
|
|
1717
1900
|
"_0_declarations_can_only_be_used_in_TypeScript_files_8006": "\"{0}\" 声明只能在 TypeScript 文件中使用。",
|
|
1901
|
+
"_0_declarations_may_not_have_binding_patterns_1492": "“{0}”声明可能没有绑定模式。",
|
|
1902
|
+
"_0_declarations_must_be_initialized_1155": "必须初始化“{0}”声明。",
|
|
1718
1903
|
"_0_expected_1005": "应为“{0}”。",
|
|
1904
|
+
"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055": "“{0}”具有字符串类型,但在启用 \"isolatedModules\" 时必须具有语法上可识别的字符串语法。",
|
|
1719
1905
|
"_0_has_no_exported_member_named_1_Did_you_mean_2_2724": "“{0}”没有导出的成员“{1}”。你是否指的是“{2}”?",
|
|
1720
1906
|
"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050": "\"{0}\" 隐式具有 \"{1}\" 返回类型,但可以从用法中推断出更好的类型。",
|
|
1721
1907
|
"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023": "由于“{0}'”不具有返回类型批注并且在它的一个返回表达式中得到直接或间接引用,因此它隐式具有返回类型 \"any\"。",
|
|
@@ -1724,7 +1910,7 @@
|
|
|
1724
1910
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "“{0}”索引类型“{1}”不能分配给“{2}”索引类型“{3}”。",
|
|
1725
1911
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "“{0}”是基元,但“{1}”是包装器对象。如可能首选使用“{0}”。",
|
|
1726
1912
|
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "“{0}”是一种类型,无法在 JavaScript 文件中导入。请在 JSDoc 类型批注中使用“{1}”。",
|
|
1727
|
-
"
|
|
1913
|
+
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484": "“{0}”是一种类型,必须在启用 \"verbatimModuleSyntax\" 时使用仅类型导入进行导入。",
|
|
1728
1914
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "“{0}”是“{1}”的未使用重命名。是否打算将其用作类型批注?",
|
|
1729
1915
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "\"{0}\" 可赋给 \"{1}\" 类型的约束,但可以使用约束 \"{2}\" 的其他子类型实例化 \"{1}\"。",
|
|
1730
1916
|
"_0_is_automatically_exported_here_18044": "“{0}”自动导出到此处。",
|
|
@@ -1747,11 +1933,14 @@
|
|
|
1747
1933
|
"_0_list_cannot_be_empty_1097": "“{0}”列表不能为空。",
|
|
1748
1934
|
"_0_modifier_already_seen_1030": "已看到“{0}”修饰符。",
|
|
1749
1935
|
"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274": "“{0}”修饰符只能出现在类、接口或类型别名的类型参数上",
|
|
1936
|
+
"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277": "“{0}”修饰符只能出现在函数、方法或类的类型参数上",
|
|
1750
1937
|
"_0_modifier_cannot_appear_on_a_constructor_declaration_1089": "“{0}”修饰符不能出现在构造函数声明中。",
|
|
1751
1938
|
"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044": "“{0}”修饰符不可出现在模块或命名空间元素上。",
|
|
1752
1939
|
"_0_modifier_cannot_appear_on_a_parameter_1090": "“{0}”修饰符不能出现在参数中。",
|
|
1753
1940
|
"_0_modifier_cannot_appear_on_a_type_member_1070": "“{0}”修饰符不可出现在类型成员上。",
|
|
1754
1941
|
"_0_modifier_cannot_appear_on_a_type_parameter_1273": "“{0}”修饰符不能出现在类型参数上",
|
|
1942
|
+
"_0_modifier_cannot_appear_on_a_using_declaration_1491": "“{0}”修饰符不能出现在 \"using\" 声明中。",
|
|
1943
|
+
"_0_modifier_cannot_appear_on_an_await_using_declaration_1495": "“{0}”修饰符不能出现在 \"await using\" 声明中。",
|
|
1755
1944
|
"_0_modifier_cannot_appear_on_an_index_signature_1071": "“{0}”修饰符不可出现在索引签名上。",
|
|
1756
1945
|
"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031": "“{0}”修饰符不能出现在此类型的类元素上。",
|
|
1757
1946
|
"_0_modifier_cannot_be_used_here_1042": "“{0}”修饰符不能在此处使用。",
|
|
@@ -1759,6 +1948,7 @@
|
|
|
1759
1948
|
"_0_modifier_cannot_be_used_with_1_modifier_1243": "“{0}”修饰符不能与“{1}”修饰符一起使用。",
|
|
1760
1949
|
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "“{0}”修饰符不能与专用标识符一起使用。",
|
|
1761
1950
|
"_0_modifier_must_precede_1_modifier_1029": "“{0}”修饰符必须位于“{1}”修饰符之前。",
|
|
1951
|
+
"_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531": "“\\{0}”后面必须是括在大括号中的 Unicode 属性值表达式。",
|
|
1762
1952
|
"_0_needs_an_explicit_type_annotation_2782": "\"{0}\" 需要显式类型注释。",
|
|
1763
1953
|
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "“{0}”仅指类型,但在此用作命名空间。",
|
|
1764
1954
|
"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693": "“{0}”仅表示类型,但在此处却作为值使用。",
|
|
@@ -1766,8 +1956,12 @@
|
|
|
1766
1956
|
"_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 或更高版本。",
|
|
1767
1957
|
"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686": "“{0}”指 UMD 全局,但当前文件是模块。请考虑改为添加导入。",
|
|
1768
1958
|
"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749": "“{0}”表示值,但在此处用作类型。是否指“类型 {0}”?",
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1959
|
+
"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291": "“{0}”解析为一个类型,并且在启用“{1}”后重新导出之前,必须在此文件中标记为仅类型。请考虑使用导入“{0}”的 \"import type\"。",
|
|
1960
|
+
"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292": "“{0}”解析为一个类型,并且在启用“{1}”后重新导出之前,必须在此文件中标记为仅类型。请考虑使用 \"export type { {0} as default }\"。",
|
|
1961
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485": "“{0}”解析为仅类型声明,并且必须在启用 \"verbatimModuleSyntax\" 时使用仅类型导入进行导入。",
|
|
1962
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289": "“{0}”解析为仅类型声明,并且在启用“{1}”后重新导出之前,必须在此文件中标记为仅类型。请考虑使用导入“{0}”的 \"import type\"。",
|
|
1963
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290": "“{0}”解析为仅类型声明,并且在启用“{1}”后重新导出之前,必须在此文件中标记为仅类型。请考虑使用 \"export type { {0} as default }\"。",
|
|
1964
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448": "“{0}”解析为仅类型声明,并且在启用“{1}”时必须使用仅类型重新导出进行重新导出。",
|
|
1771
1965
|
"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258": "应在 config json 文件的 “compilerOptions” 对象中设置 “{0}”",
|
|
1772
1966
|
"_0_tag_already_specified_1223": "已指定“{0}”标记。",
|
|
1773
1967
|
"_0_was_also_declared_here_6203": "此处也声明了 \"{0}\"。",
|
|
@@ -1780,19 +1974,22 @@
|
|
|
1780
1974
|
"and_here_6204": "并在这里。",
|
|
1781
1975
|
"arguments_cannot_be_referenced_in_property_initializers_2815": "无法在属性初始化表达式中引用 \"arguments\"。",
|
|
1782
1976
|
"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+)的文件视为模块。",
|
|
1977
|
+
"await_expression_cannot_be_used_inside_a_class_static_block_18037": "\"await\" 表达式不能在类静态块内使用。",
|
|
1783
1978
|
"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375": "仅当文件是模块时,才允许在该文件的顶层使用 \"await\" 表达式,但此文件没有导入或导出。请考虑添加空的 \"export {}\" 以将此文件变为模块。",
|
|
1784
1979
|
"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "仅允许在异步函数和模块顶级使用 \"await\" 表达式。",
|
|
1785
1980
|
"await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "不能在参数初始化表达式中使用 \"await\" 表达式。",
|
|
1786
1981
|
"await_has_no_effect_on_the_type_of_this_expression_80007": "\"await\" 对此表达式的类型没有影响。",
|
|
1982
|
+
"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 {}\" 将此文件变为模块。",
|
|
1983
|
+
"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "\"await using\" 语句仅允许在异步函数和顶级模块中使用。",
|
|
1984
|
+
"await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "\"await using\" 语句不能在类静态块内使用。",
|
|
1787
1985
|
"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "\"baseUrl\" 选项设置为“{0}”,可使用此值解析非相关模块名称“{1}”。",
|
|
1986
|
+
"c_must_be_followed_by_an_ASCII_letter_1512": "\"\\c\" 后面必须有一个 ASCII 字母。",
|
|
1788
1987
|
"can_only_be_used_at_the_start_of_a_file_18026": "\"#!\" 只能用在文件的开头。",
|
|
1789
1988
|
"case_or_default_expected_1130": "应为 \"case\" 或 \"default\"。",
|
|
1790
1989
|
"catch_or_finally_expected_1472": "应为 “catch” 或 “finally”。",
|
|
1791
|
-
"const_declarations_can_only_be_declared_inside_a_block_1156": "\"const\" 声明只能在块的内部声明。",
|
|
1792
|
-
"const_declarations_must_be_initialized_1155": "必须初始化 \"const\" 声明。",
|
|
1793
1990
|
"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "\"const\" 枚举成员初始化表达式的求值结果为非有限值。",
|
|
1794
1991
|
"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478": "\"const\" 枚举成员初始化表达式的求值结果为不允许使用的值 \"NaN\"。",
|
|
1795
|
-
"
|
|
1992
|
+
"const_enum_member_initializers_must_be_constant_expressions_2474": "const 枚举成员初始值设定项必须是常量表达式。",
|
|
1796
1993
|
"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475": "\"const\" 枚举仅可在属性、索引访问表达式、导入声明的右侧、导出分配或类型查询中使用。",
|
|
1797
1994
|
"constructor_cannot_be_used_as_a_parameter_property_name_2398": "“构造函数”不能用作参数属性名称。",
|
|
1798
1995
|
"constructor_is_a_reserved_word_18012": "\"#constructor\" 是保留字。",
|
|
@@ -1811,13 +2008,14 @@
|
|
|
1811
2008
|
"file_6025": "文件",
|
|
1812
2009
|
"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 {}”将此文件变为模块。",
|
|
1813
2010
|
"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103": "仅允许在异步函数和模块顶层使用“for await”循环。",
|
|
2011
|
+
"for_await_loops_cannot_be_used_inside_a_class_static_block_18038": "\"for await\" 循环不能在类静态块内使用。",
|
|
1814
2012
|
"get_and_set_accessors_cannot_declare_this_parameters_2784": "\"get\" 和 \"set\" 访问器无法声明 \"this\" 参数。",
|
|
1815
2013
|
"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908": "如果指定了 \"files\",则为 \"[]\",否则为\"[\"**/*\"]5D;\"",
|
|
1816
2014
|
"implements_clause_already_seen_1175": "已看到 \"implements\" 子句。",
|
|
1817
2015
|
"implements_clauses_can_only_be_used_in_TypeScript_files_8005": "\"implements\" 子句只能在 TypeScript 文件中使用。",
|
|
1818
2016
|
"import_can_only_be_used_in_TypeScript_files_8002": "\"import ... =\" 只能在 TypeScript 文件中使用。",
|
|
1819
2017
|
"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "仅条件类型的 \"extends\" 子句中才允许 \"infer\" 声明。",
|
|
1820
|
-
"
|
|
2018
|
+
"k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "\"\\k\" 后面必须有一个括在尖括号中的捕获组名称。",
|
|
1821
2019
|
"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "\"let\" 不能用作 \"let\" 或 \"const\" 声明中的名称。",
|
|
1822
2020
|
"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "module === 'AMD' 或 'UMD' 或 'System' 或 'ES6',然后 'Classic', 否则为 'Node'",
|
|
1823
2021
|
"module_system_or_esModuleInterop_6904": "module === \"system\" 或 esModuleInterop",
|
|
@@ -1832,6 +2030,7 @@
|
|
|
1832
2030
|
"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207": "\"package. json\" 没有与版本 \"{0}\" 匹配的 \"typesVersions\" 项。",
|
|
1833
2031
|
"package_json_had_a_falsy_0_field_6220": "\"package. json\" 具有错误的 \"{0}\" 字段。",
|
|
1834
2032
|
"package_json_has_0_field_1_that_references_2_6101": "\"package.json\" 具有引用“{2}”的“{0}”字段“{1}”。",
|
|
2033
|
+
"package_json_has_a_peerDependencies_field_6281": "\"package.json\" 具有 \"peerDependencies\" 字段。",
|
|
1835
2034
|
"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209": "\"package. json\" 具有 \"typesVersions\" 项 \"{0}\",它不是有效的 semver 范围。",
|
|
1836
2035
|
"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}\" 匹配的模式。",
|
|
1837
2036
|
"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206": "\"package. json\" 具有 \"typesVersions\" 字段,它具有特定于版本的路径映射。",
|
|
@@ -1839,13 +2038,14 @@
|
|
|
1839
2038
|
"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275": "package.json 作用域 '{0}' 的说明符 '{1}' 的目标类型无效",
|
|
1840
2039
|
"package_json_scope_0_has_no_imports_defined_6273": "package.json 作用域 '{0}' 未定义导入。",
|
|
1841
2040
|
"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091": "指定了 \"paths“ 选项,正在查找模式以匹配模块名“{0}”。",
|
|
2041
|
+
"q_is_only_available_inside_character_class_1511": "\"\\q\" 仅在字符类内可用。",
|
|
2042
|
+
"q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521": "\"\\q\" 后面必须是括在大括号中的字符串替代项。",
|
|
1842
2043
|
"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "\"readonly\" 修饰符仅可出现在属性声明或索引签名中。",
|
|
1843
2044
|
"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "仅允许对数组和元组字面量类型使用 \"readonly\" 类型修饰符。",
|
|
1844
2045
|
"require_call_may_be_converted_to_an_import_80005": "可将 \"require\" 调用转换为 import 语句。",
|
|
1845
|
-
"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452": "仅当“moduleResolution”为“node16”或“nodenext”时才支持“resolution-mode”断言。",
|
|
1846
|
-
"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125": "“resolution-mode”断言不稳定。请使用夜间 TypeScript 消除此错误。请尝试使用“npm install -D typescript@next”进行更新。",
|
|
1847
2046
|
"resolution_mode_can_only_be_set_for_type_only_imports_1454": "只能为仅类型导入设置 \"resolution-mode\"。",
|
|
1848
2047
|
"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455": "\"resolution-mode\" 是类型导入断言的唯一有效密钥。",
|
|
2048
|
+
"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463": "\"resolution-mode\" 是类型导入属性的唯一有效键。",
|
|
1849
2049
|
"resolution_mode_should_be_either_require_or_import_1453": "“resolution-mode”应为“require”或“import”。",
|
|
1850
2050
|
"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107": "设置了 \"rootDirs\" 选项,可将其用于解析相对模块名称“{0}”。",
|
|
1851
2051
|
"super_can_only_be_referenced_in_a_derived_class_2335": "只能在派生类中引用 \"super\"。",
|
|
@@ -1861,11 +2061,11 @@
|
|
|
1861
2061
|
"this_cannot_be_referenced_in_a_computed_property_name_2465": "不能在计算属性名中引用 \"this\"。",
|
|
1862
2062
|
"this_cannot_be_referenced_in_a_module_or_namespace_body_2331": "不能在模块或命名空间体中引用 \"this\"。",
|
|
1863
2063
|
"this_cannot_be_referenced_in_a_static_property_initializer_2334": "不能在静态属性初始化表达式中引用 \"this\"。",
|
|
1864
|
-
"this_cannot_be_referenced_in_constructor_arguments_2333": "不能在构造函数参数中引用 \"this\"。",
|
|
1865
2064
|
"this_cannot_be_referenced_in_current_location_2332": "不能在当前位置引用 \"this\"。",
|
|
1866
2065
|
"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683": "\"this\" 隐式具有类型 \"any\",因为它没有类型注释。",
|
|
1867
2066
|
"true_for_ES2022_and_above_including_ESNext_6930": "对于 ES2022 及更高版本为 `true`,包括 ESNext。",
|
|
1868
2067
|
"true_if_composite_false_otherwise_6909": "如果为 \"composite\",则为 \"true\",否则为 \"false\"",
|
|
2068
|
+
"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "当 \"moduleResolution\" 为 \"node16\"、\"nodenext \"或 \"bundler\" 时为 `true`;否则为 `false`。",
|
|
1869
2069
|
"tsc_Colon_The_TypeScript_Compiler_6922": "tsc: TypeScript 编译器",
|
|
1870
2070
|
"type_Colon_6902": "类型:",
|
|
1871
2071
|
"unique_symbol_types_are_not_allowed_here_1335": "此处不允许使用 \"unique symbol\" 类型。",
|