typescript 4.8.4 → 4.9.3
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/README.md +0 -53
- package/lib/cs/diagnosticMessages.generated.json +31 -6
- package/lib/de/diagnosticMessages.generated.json +31 -6
- package/lib/es/diagnosticMessages.generated.json +31 -6
- package/lib/fr/diagnosticMessages.generated.json +31 -6
- package/lib/it/diagnosticMessages.generated.json +31 -6
- package/lib/ja/diagnosticMessages.generated.json +31 -6
- package/lib/ko/diagnosticMessages.generated.json +31 -6
- package/lib/lib.dom.d.ts +308 -70
- package/lib/lib.dom.iterable.d.ts +6 -2
- package/lib/lib.es2015.promise.d.ts +9 -4
- package/lib/lib.es2015.proxy.d.ts +1 -1
- package/lib/lib.es2015.reflect.d.ts +25 -2
- package/lib/lib.es2015.symbol.wellknown.d.ts +3 -3
- package/lib/lib.es2019.d.ts +1 -0
- package/{CopyrightNotice.txt → lib/lib.es2019.intl.d.ts} +10 -0
- package/lib/lib.es2020.intl.d.ts +1 -1
- package/lib/lib.es5.d.ts +26 -13
- package/lib/lib.webworker.d.ts +266 -30
- package/lib/lib.webworker.iterable.d.ts +10 -2
- package/lib/pl/diagnosticMessages.generated.json +31 -6
- package/lib/protocol.d.ts +20 -5
- package/lib/pt-br/diagnosticMessages.generated.json +31 -6
- package/lib/ru/diagnosticMessages.generated.json +31 -6
- package/lib/tr/diagnosticMessages.generated.json +31 -6
- package/lib/tsc.js +7997 -6668
- package/lib/tsserver.js +11511 -9679
- package/lib/tsserverlibrary.d.ts +312 -266
- package/lib/tsserverlibrary.js +11508 -9860
- package/lib/typescript.d.ts +294 -260
- package/lib/typescript.js +11433 -9805
- package/lib/typescriptServices.d.ts +294 -260
- package/lib/typescriptServices.js +11433 -9805
- package/lib/typingsInstaller.js +8705 -7320
- package/lib/zh-cn/diagnosticMessages.generated.json +77 -52
- package/lib/zh-tw/diagnosticMessages.generated.json +31 -6
- package/package.json +29 -29
- package/AUTHORS.md +0 -481
- package/CODE_OF_CONDUCT.md +0 -1
- package/loc/lcl/CHS/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/CHS/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/CHS/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/CHS/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/CHS/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/CHS/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/CHT/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/CHT/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/CHT/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/CHT/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/CHT/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/CHT/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/CSY/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/CSY/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/CSY/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/CSY/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/CSY/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/CSY/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/DEU/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/DEU/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/DEU/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/DEU/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/DEU/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/DEU/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/ESN/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/ESN/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/ESN/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/ESN/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/ESN/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/ESN/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/FRA/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/FRA/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/FRA/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/FRA/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/FRA/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/FRA/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/ITA/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/ITA/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/ITA/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/ITA/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/ITA/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/ITA/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/JPN/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/JPN/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/JPN/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/JPN/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/JPN/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/JPN/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/KOR/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/KOR/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/KOR/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/KOR/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/KOR/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/KOR/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/PLK/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/PLK/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/PLK/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/PLK/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/PLK/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/PLK/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/PTB/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/PTB/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/PTB/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/PTB/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/PTB/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/PTB/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
- package/loc/lcl/RUS/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/RUS/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/RUS/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/RUS/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -126
- package/loc/lcl/RUS/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -867
- package/loc/lcl/RUS/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -180
- package/loc/lcl/TRK/Targets/ProjectItemsSchema.xaml.lcl +0 -33
- package/loc/lcl/TRK/Targets/TypeScriptCompile.xaml.lcl +0 -195
- package/loc/lcl/TRK/Targets/TypeScriptProjectProperties.xaml.lcl +0 -492
- package/loc/lcl/TRK/TypeScriptDebugEngine/TypeScriptDebugEngine.dll.lcl +0 -123
- package/loc/lcl/TRK/TypeScriptLanguageService/Microsoft.CodeAnalysis.TypeScript.EditorFeatures.dll.lcl +0 -864
- package/loc/lcl/TRK/TypeScriptTasks/TypeScript.Tasks.dll.lcl +0 -177
|
@@ -3,8 +3,8 @@
|
|
|
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
5
|
"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033": "JSDoc \"@typedef\" 注释不能包含多个 \"@type\" 标记。",
|
|
6
|
-
"A_bigint_literal_cannot_use_exponential_notation_1352": "
|
|
7
|
-
"A_bigint_literal_must_be_an_integer_1353": "
|
|
6
|
+
"A_bigint_literal_cannot_use_exponential_notation_1352": "BigInt 字面量中不能使用指数符号。",
|
|
7
|
+
"A_bigint_literal_must_be_an_integer_1353": "BigInt 字面量必须是整数。",
|
|
8
8
|
"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463": "绑定模式参数在实现签名中不能为可选参数。",
|
|
9
9
|
"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105": "\"break\" 语句只能在封闭迭代或 switch 语句内使用。",
|
|
10
10
|
"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116": "\"break\" 语句只能跳转到封闭语句的标签。",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165": "环境上下文中的计算属性名称必须引用类型为文本类型或 \"unique symbol\" 类型的表达式。",
|
|
21
21
|
"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169": "接口中的计算属性名称必须引用必须引用类型为文本类型或 \"unique symbol\" 的表达式。",
|
|
22
22
|
"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464": "计算属性名的类型必须为 \"string\"、\"number\"、\"symbol\" 或 \"any\"。",
|
|
23
|
-
"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "
|
|
23
|
+
"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355": "'const' 断言只能作用于枚举成员、字符串、数字、布尔值、数组或对象字面量。",
|
|
24
24
|
"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476": "只有使用字符串文本才能访问常数枚举成员。",
|
|
25
25
|
"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254": "环境上下文中的 \"const\" 初始化表达式必须为字符串、数字文本或文本枚举引用。",
|
|
26
26
|
"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005": "当构造函数的类扩展 \"null\" 时,它不能包含 \"super\" 调用。",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711": "动态导入调用返回 “Promise”。请确保具有对 “Promise” 的声明或在 “--lib” 选项中包含了 “ES2015”。",
|
|
39
39
|
"A_file_cannot_have_a_reference_to_itself_1006": "文件不能引用自身。",
|
|
40
40
|
"A_function_returning_never_cannot_have_a_reachable_end_point_2534": "返回“从不”的函数不能具有可访问的终结点。",
|
|
41
|
-
"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679": "使用
|
|
41
|
+
"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679": "使用 'new' 关键字调用的函数的 'this' 类型不能为 'void'。",
|
|
42
42
|
"A_function_whose_declared_type_is_neither_void_nor_any_must_return_a_value_2355": "其声明类型不为 \"void\" 或 \"any\" 的函数必须返回值。",
|
|
43
43
|
"A_generator_cannot_have_a_void_type_annotation_2505": "生成器不能具有 \"void\" 类型批注。",
|
|
44
44
|
"A_get_accessor_cannot_have_parameters_1054": "\"get\" 访问器不能具有参数。",
|
|
@@ -57,13 +57,13 @@
|
|
|
57
57
|
"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "命名空间声明只允许位于命名空间或模块的顶层。",
|
|
58
58
|
"A_non_dry_build_would_build_project_0_6357": "非 -dry 生成将生成项目“{0}”",
|
|
59
59
|
"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": "
|
|
61
|
-
"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "
|
|
60
|
+
"A_non_dry_build_would_update_output_of_project_0_6375": "非 dry 生成将更新项目 '{0}' 的输出",
|
|
61
|
+
"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "非 dry 生成将更新项目 '{0}' 的输出的时间戳",
|
|
62
62
|
"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371": "只允许在函数或构造函数实现中使用参数初始化表达式。",
|
|
63
63
|
"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317": "不能使用 rest 参数声明参数属性。",
|
|
64
64
|
"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369": "只允许在构造函数实现中使用参数属性。",
|
|
65
65
|
"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187": "不能使用绑定模式声明参数属性。",
|
|
66
|
-
"A_promise_must_have_a_then_method_1059": "
|
|
66
|
+
"A_promise_must_have_a_then_method_1059": "'Promise' 必须具有 'then' 方法。",
|
|
67
67
|
"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331": "类型为 \"unique symbol\" 的类的属性必须同时为 \"static\" 和 \"readonly\"。",
|
|
68
68
|
"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330": "类型为 \"unique symbol\" 的接口或类型文本的属性必须为 \"readonly\"。",
|
|
69
69
|
"A_required_element_cannot_follow_an_optional_element_1257": "必选元素不能位于可选元素后。",
|
|
@@ -116,13 +116,13 @@
|
|
|
116
116
|
"Add_all_missing_async_modifiers_95041": "添加所有缺失的 \"async\" 修饰符",
|
|
117
117
|
"Add_all_missing_attributes_95168": "添加所有缺少的属性",
|
|
118
118
|
"Add_all_missing_call_parentheses_95068": "添加所有缺失的调用括号",
|
|
119
|
-
"Add_all_missing_function_declarations_95157": "
|
|
119
|
+
"Add_all_missing_function_declarations_95157": "添加所有缺少的函数声明",
|
|
120
120
|
"Add_all_missing_imports_95064": "添加所有缺少的导入",
|
|
121
121
|
"Add_all_missing_members_95022": "添加所有缺少的成员",
|
|
122
122
|
"Add_all_missing_override_modifiers_95162": "添加所有缺失的 \"override\" 修饰符",
|
|
123
123
|
"Add_all_missing_properties_95166": "添加所有缺少的属性",
|
|
124
124
|
"Add_all_missing_return_statement_95114": "添加所有缺少的 return 语句",
|
|
125
|
-
"Add_all_missing_super_calls_95039": "
|
|
125
|
+
"Add_all_missing_super_calls_95039": "添加所有缺失的 super() 调用",
|
|
126
126
|
"Add_async_modifier_to_containing_function_90029": "将异步修饰符添加到包含函数",
|
|
127
127
|
"Add_await_95083": "添加 \"await\"",
|
|
128
128
|
"Add_await_to_initializer_for_0_95084": "将 \"await\" 添加到 \"{0}\" 的初始值设定项",
|
|
@@ -158,18 +158,18 @@
|
|
|
158
158
|
"Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引访问时,将 “undefined” 添加到类型。",
|
|
159
159
|
"Add_undefined_to_optional_property_type_95169": "将 “undefined” 添加到可选属性类型",
|
|
160
160
|
"Add_undefined_type_to_all_uninitialized_properties_95029": "将未定义的类型添加到未初始化的所有属性",
|
|
161
|
-
"Add_undefined_type_to_property_0_95018": "向属性“{0}
|
|
161
|
+
"Add_undefined_type_to_property_0_95018": "向属性“{0}”添加 \"undefined\" 类型",
|
|
162
162
|
"Add_unknown_conversion_for_non_overlapping_types_95069": "为非重叠类型添加 \"unknown\" 转换",
|
|
163
163
|
"Add_unknown_to_all_conversions_of_non_overlapping_types_95070": "将 \"unknown\" 添加到非重叠类型的所有转换",
|
|
164
|
-
"Add_void_to_Promise_resolved_without_a_value_95143": "将 \"void\"
|
|
165
|
-
"Add_void_to_all_Promises_resolved_without_a_value_95144": "将 \"void\"
|
|
164
|
+
"Add_void_to_Promise_resolved_without_a_value_95143": "将 \"void\" 添加到已解析但没有值的 Promise",
|
|
165
|
+
"Add_void_to_all_Promises_resolved_without_a_value_95144": "将 \"void\" 添加到所有已解析但没有值的 Promise",
|
|
166
166
|
"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068": "添加 tsconfig.json 文件有助于组织包含 TypeScript 和 JavaScript 文件的项目。有关详细信息,请访问 https://aka.ms/tsconfig。",
|
|
167
167
|
"All_declarations_of_0_must_have_identical_constraints_2838": "\"{0}\" 的所有声明必须具有相同的限制。",
|
|
168
168
|
"All_declarations_of_0_must_have_identical_modifiers_2687": "“{0}”的所有声明必须具有相同的修饰符。",
|
|
169
169
|
"All_declarations_of_0_must_have_identical_type_parameters_2428": "“{0}”的所有声明都必须具有相同的类型参数。",
|
|
170
170
|
"All_declarations_of_an_abstract_method_must_be_consecutive_2516": "抽象方法的所有声明必须是连续的。",
|
|
171
|
-
"All_destructured_elements_are_unused_6198": "
|
|
172
|
-
"All_imports_in_import_declaration_are_unused_6192": "
|
|
171
|
+
"All_destructured_elements_are_unused_6198": "所有解构出的成员都未使用。",
|
|
172
|
+
"All_imports_in_import_declaration_are_unused_6192": "导入声明中的所有导入都未使用。",
|
|
173
173
|
"All_type_parameters_are_unused_6205": "未使用任何类型参数。",
|
|
174
174
|
"All_variables_are_unused_6199": "所有变量均未使用。",
|
|
175
175
|
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600": "允许 JavaScript 文件成为程序的一部分。使用 “checkJS” 选项从这些文件中获取错误。",
|
|
@@ -186,6 +186,7 @@
|
|
|
186
186
|
"An_abstract_accessor_cannot_have_an_implementation_1318": "抽象访问器不能有实现。",
|
|
187
187
|
"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010": "可访问性修饰符不能与专用标识符一起使用。",
|
|
188
188
|
"An_accessor_cannot_have_type_parameters_1094": "访问器不能具有类型参数。",
|
|
189
|
+
"An_accessor_property_cannot_be_declared_optional_1276": "\"accessor\" 属性不能声明为可选。",
|
|
189
190
|
"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234": "只允许在文件的顶层中使用环境模块声明。",
|
|
190
191
|
"An_argument_for_0_was_not_provided_6210": "未提供 \"{0}\" 的自变量。",
|
|
191
192
|
"An_argument_matching_this_binding_pattern_was_not_provided_6211": "未提供与此绑定模式匹配的自变量。",
|
|
@@ -208,7 +209,7 @@
|
|
|
208
209
|
"An_export_declaration_cannot_have_modifiers_1193": "导出声明不能有修饰符。",
|
|
209
210
|
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "无法测试 \"void\" 类型的表达式的真实性。",
|
|
210
211
|
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "扩展的 Unicode 转义值必须介于(含) 0x0 和 0x10FFFF 之间。",
|
|
211
|
-
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "
|
|
212
|
+
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "标识符或关键字不能紧跟在数字字面量之后。",
|
|
212
213
|
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "不能在环境上下文中声明实现。",
|
|
213
214
|
"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379": "导入别名不能引用使用 \"export type\" 导出的声明。",
|
|
214
215
|
"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380": "导入别名不能引用使用 \"import type\" 导入的声明。",
|
|
@@ -260,14 +261,14 @@
|
|
|
260
261
|
"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "全局范围的扩大仅可直接嵌套在外部模块中或环境模块声明中。",
|
|
261
262
|
"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "全局范围的扩大应具有 \"declare\" 修饰符,除非它们显示在已有的环境上下文中。",
|
|
262
263
|
"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "项目“{0}”中启用了键入内容的自动发现。使用缓存位置“{2}”运行模块“{1}”的额外解决传递。",
|
|
263
|
-
"Await_expression_cannot_be_used_inside_a_class_static_block_18037": "无法在类静态块内使用
|
|
264
|
+
"Await_expression_cannot_be_used_inside_a_class_static_block_18037": "无法在类静态块内使用 await 表达式。",
|
|
264
265
|
"BUILD_OPTIONS_6919": "生成选项",
|
|
265
|
-
"Backwards_Compatibility_6253": "
|
|
266
|
+
"Backwards_Compatibility_6253": "向后兼容性",
|
|
266
267
|
"Base_class_expressions_cannot_reference_class_type_parameters_2562": "基类表达式无法引用类类型参数。",
|
|
267
268
|
"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509": "基构造函数返回类型 \"{0}\" 不是具有静态已知成员的对象类型或对象类型的交集。",
|
|
268
269
|
"Base_constructors_must_all_have_the_same_return_type_2510": "所有的基构造函数必须具有相同的返回类型。",
|
|
269
270
|
"Base_directory_to_resolve_non_absolute_module_names_6083": "用于解析非绝对模块名的基目录。",
|
|
270
|
-
"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737": "目标低于 ES2020 时,
|
|
271
|
+
"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737": "目标低于 ES2020 时,BigInt 字面量不可用。",
|
|
271
272
|
"Binary_digit_expected_1177": "需要二进制数字。",
|
|
272
273
|
"Binding_element_0_implicitly_has_an_1_type_7031": "绑定元素“{0}”隐式具有“{1}”类型。",
|
|
273
274
|
"Block_scoped_variable_0_used_before_its_declaration_2448": "声明之前已使用的块范围变量“{0}”。",
|
|
@@ -296,11 +297,11 @@
|
|
|
296
297
|
"Cannot_assign_to_0_because_it_is_a_constant_2588": "无法分配到 \"{0}\" ,因为它是常数。",
|
|
297
298
|
"Cannot_assign_to_0_because_it_is_a_function_2630": "无法为“{0}”赋值,因为它是函数。",
|
|
298
299
|
"Cannot_assign_to_0_because_it_is_a_namespace_2631": "无法为“{0}”赋值,因为它是命名空间。",
|
|
299
|
-
"Cannot_assign_to_0_because_it_is_a_read_only_property_2540": "
|
|
300
|
+
"Cannot_assign_to_0_because_it_is_a_read_only_property_2540": "无法为“{0}”赋值,因为它是只读属性。",
|
|
300
301
|
"Cannot_assign_to_0_because_it_is_an_enum_2628": "无法为“{0}”赋值,因为它是枚举。",
|
|
301
302
|
"Cannot_assign_to_0_because_it_is_an_import_2632": "无法为“{0}”赋值,因为它是导入。",
|
|
302
|
-
"Cannot_assign_to_0_because_it_is_not_a_variable_2539": "
|
|
303
|
-
"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803": "
|
|
303
|
+
"Cannot_assign_to_0_because_it_is_not_a_variable_2539": "无法为“{0}”赋值,因为它不是变量。",
|
|
304
|
+
"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803": "无法赋值给私有方法“{0}”。私有方法不可写。",
|
|
304
305
|
"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671": "无法扩大模块“{0}”,因为它解析为非模块实体。",
|
|
305
306
|
"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649": "无法扩充具有值导出的模块“{0}”,因为它解析为一个非模块的实体。",
|
|
306
307
|
"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131": "无法使用选项“{0}”来编译模块,除非 \"--module\" 标记为 \"amd\" 或 \"system\"。",
|
|
@@ -308,7 +309,7 @@
|
|
|
308
309
|
"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766": "无法将迭代委托到值,因为其迭代器的 \"next\" 方法需要类型 \"{1}\",但包含它的生成器将始终发送 \"{0}\"。",
|
|
309
310
|
"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661": "无法导出“{0}”。仅可从模块中导出本地声明。",
|
|
310
311
|
"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675": "无法扩展类“{0}”。类构造函数标记为私有。",
|
|
311
|
-
"Cannot_extend_an_interface_0_Did_you_mean_implements_2689": "
|
|
312
|
+
"Cannot_extend_an_interface_0_Did_you_mean_implements_2689": "无法扩展接口“{0}”。您是否想使用 \"implements\"?",
|
|
312
313
|
"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081": "无法在当前目录找到 tsconfig.json 文件: {0}。",
|
|
313
314
|
"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057": "无法在指定目录找到 tsconfig.json 文件:“{0}”。",
|
|
314
315
|
"Cannot_find_global_type_0_2318": "找不到全局类型“{0}”。",
|
|
@@ -329,8 +330,8 @@
|
|
|
329
330
|
"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 中的类型字段。。",
|
|
330
331
|
"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`。",
|
|
331
332
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592": "找不到名称“{0}”。是否需要安装 jQuery 的类型定义? 请尝试使用 `npm i --save-dev @types/jquery`,然后将 “jquery” 添加到 teconfig 中的类型字段。",
|
|
332
|
-
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580": "
|
|
333
|
-
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591": "找不到名称“{0}
|
|
333
|
+
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580": "找不到名称“{0}”。是否需要安装 Node.js 的类型定义? 请尝试运行 `npm i --save-dev @types/node`。",
|
|
334
|
+
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591": "找不到名称“{0}”。是否需要安装 Node.js 的类型定义? 请尝试运行 `npm i --save-dev @types/node`,然后将 \"node\" 添加到 tsconfig 的 types 字段。",
|
|
334
335
|
"Cannot_find_namespace_0_2503": "找不到命名空间“{0}”。",
|
|
335
336
|
"Cannot_find_namespace_0_Did_you_mean_1_2833": "找不到命名空间“{0}”。你是否指的是“{1}”?",
|
|
336
337
|
"Cannot_find_parameter_0_1225": "找不到参数“{0}”。",
|
|
@@ -365,8 +366,8 @@
|
|
|
365
366
|
"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196": "Catch 子句变量类型注释必须为 \"any\" 或 \"unknown\" (若已指定)。",
|
|
366
367
|
"Change_0_to_1_90014": "将“{0}”更改为“{1}”",
|
|
367
368
|
"Change_all_extended_interfaces_to_implements_95038": "将所有扩展接口都更改为 \"implements\"",
|
|
368
|
-
"Change_all_jsdoc_style_types_to_TypeScript_95030": "将所有
|
|
369
|
-
"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031": "将所有
|
|
369
|
+
"Change_all_jsdoc_style_types_to_TypeScript_95030": "将所有 JSDoc 样式类型都更改为 TypeScript",
|
|
370
|
+
"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031": "将所有 JSDoc 样式类型都更改为 TypeScript (并将 \"| undefined\" 添加到可以为 null 的类型)",
|
|
370
371
|
"Change_extends_to_implements_90003": "将 \"extends\" 改为 \"implements\"",
|
|
371
372
|
"Change_spelling_to_0_90022": "将拼写更改为“{0}”",
|
|
372
373
|
"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700": "检查是否有已声明但未在构造函数中设置的类属性。",
|
|
@@ -382,7 +383,7 @@
|
|
|
382
383
|
"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720": "类“{0}”错误实现类“{1}”。你是想扩展“{1}”并将其成员作为子类继承吗?",
|
|
383
384
|
"Class_0_incorrectly_implements_interface_1_2420": "类“{0}”错误实现接口“{1}”。",
|
|
384
385
|
"Class_0_used_before_its_declaration_2449": "类“{0}”用于其声明前。",
|
|
385
|
-
"
|
|
386
|
+
"Class_constructor_may_not_be_a_generator_1368": "类构造函数可能不是生成器。",
|
|
386
387
|
"Class_constructor_may_not_be_an_accessor_1341": "类构造函数可能不是访问器。",
|
|
387
388
|
"Class_declaration_cannot_implement_overload_list_for_0_2813": "类声明无法实现“{0}”的重载列表。",
|
|
388
389
|
"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025": "类声明不能有多个 “@augments” 或 “@extends” 标记。",
|
|
@@ -430,13 +431,14 @@
|
|
|
430
431
|
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "类型 \"{0}\" 到类型 \"{1}\" 的转换可能是错误的,因为两种类型不能充分重叠。如果这是有意的,请先将表达式转换为 \"unknown\"。",
|
|
431
432
|
"Convert_0_to_1_in_0_95003": "将“{0}”转换为 {0} 中的 {1}",
|
|
432
433
|
"Convert_0_to_mapped_object_type_95055": "将“{0}”转换为映射对象类型",
|
|
434
|
+
"Convert_all_const_to_let_95102": "将所有 'const' 转换为 'let'",
|
|
433
435
|
"Convert_all_constructor_functions_to_classes_95045": "将所有构造函数都转换为类",
|
|
434
436
|
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "将不用作值的所有导入转换为仅类型导入",
|
|
435
437
|
"Convert_all_invalid_characters_to_HTML_entity_code_95101": "将所有无效字符转换为 HTML 实体代码",
|
|
436
438
|
"Convert_all_re_exported_types_to_type_only_exports_1365": "将所有重新导出的类型转换为仅类型导出",
|
|
437
439
|
"Convert_all_require_to_import_95048": "将所有 \"require\" 转换为 \"import\"",
|
|
438
440
|
"Convert_all_to_async_functions_95066": "全部转换为异步函数",
|
|
439
|
-
"Convert_all_to_bigint_numeric_literals_95092": "全部转换为
|
|
441
|
+
"Convert_all_to_bigint_numeric_literals_95092": "全部转换为 BigInt 数字字面量",
|
|
440
442
|
"Convert_all_to_default_imports_95035": "全部转换为默认导入",
|
|
441
443
|
"Convert_all_type_literals_to_mapped_type_95021": "将所有类型文本转换为映射类型",
|
|
442
444
|
"Convert_arrow_function_or_function_expression_95122": "转换箭头函数或函数表达式",
|
|
@@ -454,7 +456,7 @@
|
|
|
454
456
|
"Convert_parameters_to_destructured_object_95075": "将参数转换为析构对象",
|
|
455
457
|
"Convert_require_to_import_95047": "将 \"require\" 转换为 \"import\"",
|
|
456
458
|
"Convert_to_ES_module_95017": "转换为 ES 模块",
|
|
457
|
-
"Convert_to_a_bigint_numeric_literal_95091": "转换为
|
|
459
|
+
"Convert_to_a_bigint_numeric_literal_95091": "转换为 BigInt 数字字面量",
|
|
458
460
|
"Convert_to_anonymous_function_95123": "转换为异步函数",
|
|
459
461
|
"Convert_to_arrow_function_95125": "转换为箭头函数",
|
|
460
462
|
"Convert_to_async_function_95065": "转换为异步函数",
|
|
@@ -658,6 +660,8 @@
|
|
|
658
660
|
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "对修饰器的实验支持功能在将来的版本中可能更改。在 \"tsconfig\" 或 \"jsconfig\" 中设置 \"experimentalDecorators\" 选项以删除此警告。",
|
|
659
661
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "显示指定了模块解析类型:“{0}”。",
|
|
660
662
|
"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "除非 \"target\" 选项设置为 \"es2016\" 或更高版本,否则不能对 \"bigint\" 值执行求幂运算。",
|
|
663
|
+
"Export_0_from_module_1_90059": "从模块“{1}”导出“{0}”",
|
|
664
|
+
"Export_all_referenced_locals_90060": "导出所有引用的局部变量",
|
|
661
665
|
"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203": "面向 ECMAScript 模块时,不能使用导出分配。请考虑改用 \"export default\" 或另一种模块格式。",
|
|
662
666
|
"Export_assignment_is_not_supported_when_module_flag_is_system_1218": "当 \"--module\" 标志是 \"system\" 时不支持导出分配。",
|
|
663
667
|
"Export_declaration_conflicts_with_exported_declaration_of_0_2484": "导出声明与“{0}”的导出声明冲突。",
|
|
@@ -729,7 +733,7 @@
|
|
|
729
733
|
"Fix_all_expressions_possibly_missing_await_95085": "修复可能缺少 \"await\" 的所有表达式",
|
|
730
734
|
"Fix_all_implicit_this_errors_95107": "修复所有 implicit-'this' 错误",
|
|
731
735
|
"Fix_all_incorrect_return_type_of_an_async_functions_90037": "修复所有错误的异步函数返回类型",
|
|
732
|
-
"For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "无法在类静态块内使用
|
|
736
|
+
"For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "无法在类静态块内使用 for...await 循环。",
|
|
733
737
|
"Found_0_errors_6217": "找到 {0} 个错误。",
|
|
734
738
|
"Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 个错误。注意文件更改。",
|
|
735
739
|
"Found_0_errors_in_1_files_6261": "在 {1} 个文件中找到 {0} 个错误。",
|
|
@@ -906,6 +910,7 @@
|
|
|
906
910
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "使 keyof 仅返回字符串,而不是字符串、数字或符号。旧版选项。",
|
|
907
911
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "在构造函数中,使 \"super()\" 调用第一个语句",
|
|
908
912
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "映射的对象类型隐式地含有 \"any\" 模板类型。",
|
|
913
|
+
"Matched_0_condition_1_6403": "匹配的“{0}”条件“{1}”。",
|
|
909
914
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "默认情况下匹配包括模式 “**/*”",
|
|
910
915
|
"Matched_by_include_pattern_0_in_1_1407": "通过在 \"{1}\" 中的包含模式 \"{0}\" 匹配",
|
|
911
916
|
"Member_0_implicitly_has_an_1_type_7008": "成员“{0}”隐式包含类型“{1}”。",
|
|
@@ -919,7 +924,7 @@
|
|
|
919
924
|
"Method_not_implemented_95158": "方法未实现。",
|
|
920
925
|
"Modifiers_cannot_appear_here_1184": "修饰符不能出现在此处。",
|
|
921
926
|
"Module_0_can_only_be_default_imported_using_the_1_flag_1259": "模块 \"{0}\" 只能在使用 \"{1}\" 标志时进行默认导入",
|
|
922
|
-
"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471": "
|
|
927
|
+
"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471": "无法使用此构造导入模块“{0}”。说明符仅解析为 ES 模块,后者不能使用“require”进行导入。请改用 ECMAScript 导入。",
|
|
923
928
|
"Module_0_declares_1_locally_but_it_is_exported_as_2_2460": "模块 \"{0}\" 在本地声明 \"{1}\",但它被导出为 \"{2}\"。",
|
|
924
929
|
"Module_0_declares_1_locally_but_it_is_not_exported_2459": "模块 \"{0}\" 在本地声明 \"{1}\",但未导出它。",
|
|
925
930
|
"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340": "模块 \"{0}\" 不引用类型,但在此处用作类型。你是想使用 \"typeof import('{0}')\" 吗?",
|
|
@@ -978,9 +983,9 @@
|
|
|
978
983
|
"Object_is_possibly_null_2531": "对象可能为 \"null\"。",
|
|
979
984
|
"Object_is_possibly_null_or_undefined_2533": "对象可能为 \"null\" 或“未定义”。",
|
|
980
985
|
"Object_is_possibly_undefined_2532": "对象可能为“未定义”。",
|
|
981
|
-
"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353": "
|
|
982
|
-
"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561": "
|
|
983
|
-
"Object_literal_s_property_0_implicitly_has_an_1_type_7018": "
|
|
986
|
+
"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353": "对象字面量只能指定已知属性,并且“{0}”不在类型“{1}”中。",
|
|
987
|
+
"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
|
+
"Object_literal_s_property_0_implicitly_has_an_1_type_7018": "对象字面量的属性“{0}”隐式含有“{1}”类型。",
|
|
984
989
|
"Octal_digit_expected_1178": "需要八进制数字。",
|
|
985
990
|
"Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017": "八进制文本类型必须使用 ES2015 语法。请使用语法“{0}”。",
|
|
986
991
|
"Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018": "枚举成员初始值设定项中不允许有八进制文本。请使用语法“{0}”。",
|
|
@@ -1103,6 +1108,7 @@
|
|
|
1103
1108
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "项目“{0}”已过期,因为输出文件“{1}”不存在",
|
|
1104
1109
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "项目 \"{0}\" 已过期,因为其输出是使用与当前版本 \"{2}\" 不同的版本 \"{1}\" 生成的",
|
|
1105
1110
|
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "项目 \"{0}\" 已过期,因为其依赖项 \"{1}\" 的输出已更改",
|
|
1111
|
+
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "项目“{0}”已过期,因为读取文件“{1}”时出错",
|
|
1106
1112
|
"Project_0_is_up_to_date_6361": "“{0}”项目已是最新",
|
|
1107
1113
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "项目“{0}”是最新的,因为最新的输入“{1}”早于输出“{2}”",
|
|
1108
1114
|
"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400": "项目“{0}”是最新的,但需要更新早于输入文件的输出文件的时间戳",
|
|
@@ -1110,6 +1116,7 @@
|
|
|
1110
1116
|
"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202": "项目引用不能形成环形图。检测到循环: {0}",
|
|
1111
1117
|
"Projects_6255": "项目",
|
|
1112
1118
|
"Projects_in_this_build_Colon_0_6355": "此生成中的项目: {0}",
|
|
1119
|
+
"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045": "只有在面向 ECMAScript 2015 及更高版本时,才可使用带有 \"accessor\" 修饰符的属性。",
|
|
1113
1120
|
"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267": "属性“{0}”不能具有初始化表杰式,因为它标记为摘要。",
|
|
1114
1121
|
"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111": "属性“{0}”来自索引签名,因此必须使用[“{0}”]访问它。",
|
|
1115
1122
|
"Property_0_does_not_exist_on_type_1_2339": "类型“{1}”上不存在属性“{0}”。",
|
|
@@ -1151,7 +1158,7 @@
|
|
|
1151
1158
|
"Property_assignment_expected_1136": "应为属性分配。",
|
|
1152
1159
|
"Property_destructuring_pattern_expected_1180": "应为属性析构模式。",
|
|
1153
1160
|
"Property_or_signature_expected_1131": "应为属性或签名。",
|
|
1154
|
-
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "
|
|
1161
|
+
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "属性值只能是字符串、数字、\"true\"、\"false\"、\"null\"、对象或数组等类型的字面量。",
|
|
1155
1162
|
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "以 \"ES5\" 或 \"ES3\" 设为目标时,对 \"for-of\"、传播和析构中的可迭代项提供完全支持。",
|
|
1156
1163
|
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "导出类的公共方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。",
|
|
1157
1164
|
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "导出类的公共方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
|
|
@@ -1216,6 +1223,7 @@
|
|
|
1216
1223
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "在位置“{1}”的缓存中找到模块“{0}”的解析。",
|
|
1217
1224
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "在位置“{1}”的缓存中找到类型引用指令“{0}”的解析。",
|
|
1218
1225
|
"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只将 \"keyof\" 解析为字符串值的属性名称(不含数字或符号)。",
|
|
1226
|
+
"Resolving_in_0_mode_with_conditions_1_6402": "正在 {0} 模式下解析,条件为 {1}。",
|
|
1219
1227
|
"Resolving_module_0_from_1_6086": "======== 正在从“{1}”解析模块“{0}”。========",
|
|
1220
1228
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在相对于基 URL“{1}”-“{2}”解析模块名“{0}”。",
|
|
1221
1229
|
"Resolving_real_path_for_0_result_1_6130": "正在解析“{0}”的真实路径,结果为“{1}”。",
|
|
@@ -1272,6 +1280,7 @@
|
|
|
1272
1280
|
"Root_file_specified_for_compilation_1427": "为编译指定的根文件",
|
|
1273
1281
|
"STRATEGY_6039": "策略",
|
|
1274
1282
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "保存 .tsbuildinfo 文件以允许项目增量编译。",
|
|
1283
|
+
"Saw_non_matching_condition_0_6405": "看到了不匹配的条件“{0}”。",
|
|
1275
1284
|
"Scoped_package_detected_looking_in_0_6182": "检测到范围包,请在“{0}”中查看",
|
|
1276
1285
|
"Selection_is_not_a_valid_statement_or_statements_95155": "所选内容不是有效的语句",
|
|
1277
1286
|
"Selection_is_not_a_valid_type_node_95133": "所选内容不是有效的类型节点",
|
|
@@ -1350,8 +1359,8 @@
|
|
|
1350
1359
|
"Statements_are_not_allowed_in_ambient_contexts_1036": "不允许在环境上下文中使用语句。",
|
|
1351
1360
|
"Static_members_cannot_reference_class_type_parameters_2302": "静态成员不能引用类类型参数。",
|
|
1352
1361
|
"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "静态属性“{0}”与构造函数“{1}”的内置属性函数“{0}”冲突。",
|
|
1353
|
-
"String_literal_expected_1141": "
|
|
1354
|
-
"String_literal_with_double_quotes_expected_1327": "
|
|
1362
|
+
"String_literal_expected_1141": "应为字符串字面量。",
|
|
1363
|
+
"String_literal_with_double_quotes_expected_1327": "应为带双引号的字符串字面量。",
|
|
1355
1364
|
"Stylize_errors_and_messages_using_color_and_context_experimental_6073": "使用颜色和上下文风格化错误和消息(实验)。",
|
|
1356
1365
|
"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717": "后续属性声明必须属于同一类型。属性“{0}”的类型必须为“{1}”,但此处却为类型“{2}”。",
|
|
1357
1366
|
"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403": "后续变量声明必须属于同一类型。变量“{0}”必须属于类型“{1}”,但此处却为类型“{2}”。",
|
|
@@ -1361,7 +1370,7 @@
|
|
|
1361
1370
|
"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066": "模式“{0}”的替换模式不应为空数组。",
|
|
1362
1371
|
"Successfully_created_a_tsconfig_json_file_6071": "已成功创建 tsconfig.json 文件。",
|
|
1363
1372
|
"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337": "不允许在构造函数外部或在构造函数内的嵌套函数中进行 Super 调用。",
|
|
1364
|
-
"Suppress_excess_property_checks_for_object_literals_6072": "
|
|
1373
|
+
"Suppress_excess_property_checks_for_object_literals_6072": "取消对对象字面量的多余属性检查。",
|
|
1365
1374
|
"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055": "抑制缺少索引签名的索引对象的 noImplicitAny 错误。",
|
|
1366
1375
|
"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "在对缺少索引签名的对象编制索引时,抑制 “noImplicitAny” 错误。",
|
|
1367
1376
|
"Switch_each_misused_0_to_1_95138": "将每个误用的“{0}”切换到“{1}”",
|
|
@@ -1385,6 +1394,7 @@
|
|
|
1385
1394
|
"The_containing_arrow_function_captures_the_global_value_of_this_7041": "包含箭头函数捕获 \"this\" 的全局值。",
|
|
1386
1395
|
"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563": "包含函数或模块体对于控制流分析而言太大。",
|
|
1387
1396
|
"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309": "当前文件是 CommonJS 模块,因此不能在顶级使用 “await”。",
|
|
1397
|
+
"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479": "当前文件是 CommonJS 模块,其导入将生成“require”调用;但是,引用的文件是 ECMAScript 模块,它不能使用“require”进行导入。请考虑改为编写动态“import(\"{0}\")”调用。",
|
|
1388
1398
|
"The_current_host_does_not_support_the_0_option_5001": "当前主机不支持“{0}”选项。",
|
|
1389
1399
|
"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018": "你可能打算使用的 \"{0}\" 的声明在此处定义",
|
|
1390
1400
|
"The_declaration_was_marked_as_deprecated_here_2798": "该声明曾在此处标记为已弃用。",
|
|
@@ -1422,7 +1432,6 @@
|
|
|
1422
1432
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "算术运算左侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
1423
1433
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "赋值表达式的左侧不能是可选属性访问。",
|
|
1424
1434
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "赋值表达式的左侧必须是变量或属性访问。",
|
|
1425
|
-
"The_left_hand_side_of_an_in_expression_must_be_a_private_identifier_or_of_type_any_string_number_or__2360": "\"in\" 表达式的左侧必须是专用标识符或其类型必须为 \"any\"、\"string\"、\"number\" 或 \"symbol\"。",
|
|
1426
1435
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "\"instanceof\" 表达式左侧必须是 \"any\" 类型、对象类型或类型参数。",
|
|
1427
1436
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "向用户显示消息时所用的区域设置(例如,\"en-us\")",
|
|
1428
1437
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "用于搜索 node_modules 和加载 JavaScript 文件的最大依赖项深度。",
|
|
@@ -1443,7 +1452,6 @@
|
|
|
1443
1452
|
"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}>\"?",
|
|
1444
1453
|
"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}”。",
|
|
1445
1454
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "算术运算右侧必须是 \"any\"、\"number\"、\"bigint\" 或枚举类型。",
|
|
1446
|
-
"The_right_hand_side_of_an_in_expression_must_not_be_a_primitive_2361": "\"in\" 表达式的右侧不得是基元。",
|
|
1447
1455
|
"The_right_hand_side_of_an_instanceof_expression_must_be_of_type_any_or_of_a_type_assignable_to_the_F_2359": "\"instanceof\" 表达式的右侧必须属于类型 \"any\",或属于可分配给 \"Function\" 接口类型的类型。",
|
|
1448
1456
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "“{0}”文件的根值必须是一个对象。",
|
|
1449
1457
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "在此处定义了“{0}”的阴影声明",
|
|
@@ -1464,13 +1472,15 @@
|
|
|
1464
1472
|
"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490": "迭代器的 \"{0}()\" 方法返回的类型必须具有 \"value\" 属性。",
|
|
1465
1473
|
"The_types_of_0_are_incompatible_between_these_types_2200": "在这些类型中,\"{0}\" 的类型不兼容。",
|
|
1466
1474
|
"The_types_returned_by_0_are_incompatible_between_these_types_2201": "在这些类型中,\"{0}\" 返回的类型不兼容。",
|
|
1475
|
+
"The_value_0_cannot_be_used_here_18050": "此处不能使用值“{0}”。",
|
|
1467
1476
|
"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189": "\"for...in\" 语句的变量声明不能有初始化表达式。",
|
|
1468
1477
|
"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190": "\"for...of\" 语句的变量声明不能有初始化表达式。",
|
|
1469
1478
|
"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "不支持 \"with\" 语句。\"with\" 程序块中的所有符号都将具有类型 \"any\"。",
|
|
1470
1479
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 标记的 \"{0}\" 属性需要 \"{1}\" 类型的子级,但提供了多个子级。",
|
|
1471
1480
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 标记的 \"{0}\" 属性需要类型 \"{1}\",该类型需要多个子级,但仅提供了一个子级。",
|
|
1481
|
+
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比较似乎是无意的,因为类型“{0}”和“{1}”没有重叠。",
|
|
1482
|
+
"This_condition_will_always_return_0_2845": "此条件将始终返回“{0}”。",
|
|
1472
1483
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此条件将始终返回“{0}”,因为 JavaScript 按引用而不是值比较对象。",
|
|
1473
|
-
"This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367": "此条件将始终返回 \"{0}\",因为类型 \"{1}\" 和 \"{2}\" 没有重叠。",
|
|
1474
1484
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "此条件将始终返回 true,因为此“{0}”已始终定义。",
|
|
1475
1485
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "此条件将始终返回 true,因为始终定义了函数。你是想改为调用它吗?",
|
|
1476
1486
|
"This_constructor_function_may_be_converted_to_a_class_declaration_80002": "此构造函数可能会转换为类声明。",
|
|
@@ -1491,7 +1501,7 @@
|
|
|
1491
1501
|
"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114": "此成员必须有 \"override\" 修饰符,因为它替代基类 \"{0}\" 中的一个成员。",
|
|
1492
1502
|
"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116": "此成员必须有 \"override\" 修饰符,因为它替代基类 \"{0}\" 中声明的一个抽象方法。",
|
|
1493
1503
|
"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497": "只能通过启用 \"{0}\" 标志并引用其默认导出,使用 ECMAScript 导入/导出来引用此模块。",
|
|
1494
|
-
"
|
|
1504
|
+
"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594": "此模块是使用 “export =” 声明的,只能在使用“{0}”标志时用于默认导入。",
|
|
1495
1505
|
"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394": "此重载签名与其实现签名不兼容。",
|
|
1496
1506
|
"This_parameter_is_not_allowed_with_use_strict_directive_1346": "此参数不允许与 \"use strict\" 指令一起使用。",
|
|
1497
1507
|
"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120": "此参数属性必须具有带 “@override” 标记的 JSDoc 注释,因为它将替代基类“{0}”中的成员。",
|
|
@@ -1504,6 +1514,10 @@
|
|
|
1504
1514
|
"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807": "此语法需要一个名为 \"{1}\" 且包含 {2} 参数的导入帮助程序,该帮助程序与 \"{0}\" 中的相应帮助程序不兼容。请考虑升级 \"{0}\" 的版本。",
|
|
1505
1515
|
"This_type_parameter_might_need_an_extends_0_constraint_2208": "此类型参数可能需要 `extends {0}` 约束。",
|
|
1506
1516
|
"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326": "“import” 的这种用法无效。可以写入 “import()” 调用,但它们必须具有括号,并且不能带有类型参数。",
|
|
1517
|
+
"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482": "若要将此文件转换为 ECMAScript 模块,请将字段“\"type\": \"module\"”添加到“{0}”。",
|
|
1518
|
+
"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
|
+
"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
|
+
"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483": "若要将此文件转换为 ECMAScript 模块,请使用“{ \"type\": \"module\" }”创建本地 package.json 文件。",
|
|
1507
1521
|
"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”,且 “target” 选项设置为 “es2017” 或更高版本时,才允许使用顶级 “await” 表达式。",
|
|
1508
1522
|
"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": ".d.ts 文件中的顶级声明必须以 \"declare\" 或 \"export\" 修饰符开头。",
|
|
1509
1523
|
"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”,且 “target” 选项设置为 “es2017” 或更高版本时,才允许使用顶级 “for await” 循环。",
|
|
@@ -1519,6 +1533,7 @@
|
|
|
1519
1533
|
"Type_0_cannot_be_used_as_an_index_type_2538": "类型“{0}”不能作为索引类型使用。",
|
|
1520
1534
|
"Type_0_cannot_be_used_to_index_type_1_2536": "类型“{0}”无法用于索引类型“{1}”。",
|
|
1521
1535
|
"Type_0_does_not_satisfy_the_constraint_1_2344": "类型“{0}”不满足约束“{1}”。",
|
|
1536
|
+
"Type_0_does_not_satisfy_the_expected_type_1_1360": "类型“{0}”不满足预期类型“{1}”。",
|
|
1522
1537
|
"Type_0_has_no_call_signatures_2757": "类型 \"{0}\" 没有调用签名。",
|
|
1523
1538
|
"Type_0_has_no_construct_signatures_2761": "类型 \"{0}\" 没有构造签名。",
|
|
1524
1539
|
"Type_0_has_no_matching_index_signature_for_type_1_2537": "类型“{0}”没有匹配的类型“{1}”的索引签名。",
|
|
@@ -1540,6 +1555,7 @@
|
|
|
1540
1555
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标类型。。",
|
|
1541
1556
|
"Type_0_is_not_comparable_to_type_1_2678": "类型“{0}”不可与类型“{1}”进行比较。",
|
|
1542
1557
|
"Type_0_is_not_generic_2315": "类型“{0}”不是泛型类型。",
|
|
1558
|
+
"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638": "类型 \"{0}\" 可以表示基元值,该值不允许作为“in”运算符的右操作数。",
|
|
1543
1559
|
"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504": "类型“{0}”必须具有返回异步迭代器的 \"[Symbol.asyncIterator]()\" 方法。",
|
|
1544
1560
|
"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488": "类型“{0}”必须具有返回迭代器的 \"[Symbol.iterator]()\" 方法。",
|
|
1545
1561
|
"Type_0_provides_no_match_for_the_signature_1_2658": "类型“{0}”提供的内容与签名“{1}”不匹配。",
|
|
@@ -1596,6 +1612,7 @@
|
|
|
1596
1612
|
"Type_reference_directive_0_was_not_resolved_6120": "======== 未解析类型引用指令“{0}”。========",
|
|
1597
1613
|
"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119": "======== 类型引用指令“{0}”已成功解析为“{1}”,主要: {2}。========",
|
|
1598
1614
|
"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219": "======== 类型引用指令 \"{0}\" 已成功解析为 \"{1}\" ,包 ID 为 \"{2}\",主要: {3}。========",
|
|
1615
|
+
"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037": "类型满意度表达式只能在 TypeScript 文件中使用。",
|
|
1599
1616
|
"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043": "类型不能出现在 JavaScript 文件的导出声明中。",
|
|
1600
1617
|
"Types_have_separate_declarations_of_a_private_property_0_2442": "类型具有私有属性“{0}”的单独声明。",
|
|
1601
1618
|
"Types_of_construct_signatures_are_incompatible_2419": "构造签名的类型不兼容。",
|
|
@@ -1627,9 +1644,9 @@
|
|
|
1627
1644
|
"Unreachable_code_detected_7027": "检测到无法访问的代码。",
|
|
1628
1645
|
"Unterminated_Unicode_escape_sequence_1199": "未终止的 Unicode 转义序列。",
|
|
1629
1646
|
"Unterminated_quoted_string_in_response_file_0_6045": "响应文件“{0}”中引号不配对。",
|
|
1630
|
-
"Unterminated_regular_expression_literal_1161": "
|
|
1631
|
-
"Unterminated_string_literal_1002": "
|
|
1632
|
-
"Unterminated_template_literal_1160": "
|
|
1647
|
+
"Unterminated_regular_expression_literal_1161": "未终止的正则表达式字面量。",
|
|
1648
|
+
"Unterminated_string_literal_1002": "未终止的字符串字面量。",
|
|
1649
|
+
"Unterminated_template_literal_1160": "未终止的模板字面量。",
|
|
1633
1650
|
"Untyped_function_calls_may_not_accept_type_arguments_2347": "非类型化函数调用不能接受类型参数。",
|
|
1634
1651
|
"Unused_label_7028": "未使用的标签。",
|
|
1635
1652
|
"Unused_ts_expect_error_directive_2578": "未使用的 \"@ts-expect-error\" 指令。",
|
|
@@ -1637,9 +1654,12 @@
|
|
|
1637
1654
|
"Updating_output_of_project_0_6373": "正在更新项目 \"{0}\" 的输出…",
|
|
1638
1655
|
"Updating_output_timestamps_of_project_0_6359": "正在更新项目“{0}”的输出时间戳...",
|
|
1639
1656
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新项目 \"{0}\" 未更改的输出时间戳…",
|
|
1657
|
+
"Use_0_95174": "使用 `{0}`",
|
|
1658
|
+
"Use_Number_isNaN_in_all_conditions_95175": "在所有条件下使用 `Number.isNaN`。",
|
|
1640
1659
|
"Use_element_access_for_0_95145": "对“{0}”使用元素访问",
|
|
1641
1660
|
"Use_element_access_for_all_undeclared_properties_95146": "对所有未声明的属性使用元素访问。",
|
|
1642
1661
|
"Use_synthetic_default_member_95016": "使用综合的“默认”成员。",
|
|
1662
|
+
"Using_0_subpath_1_with_target_2_6404": "将“{0}”子路径“{1}”与目标“{2}”一起使用",
|
|
1643
1663
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "仅 ECMAScript 5 和更高版本支持在 \"for...of\" 语句中使用字符串。",
|
|
1644
1664
|
"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} 详细了解这些项目",
|
|
1645
1665
|
"Using_compiler_options_of_project_reference_redirect_0_6215": "使用项目引用重定向“{0}”的编译器选项。",
|
|
@@ -1667,11 +1687,11 @@
|
|
|
1667
1687
|
"When_type_checking_take_into_account_null_and_undefined_6699": "进行类型检查时,请考虑 “null” 和 “undefined”。",
|
|
1668
1688
|
"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191": "是否在监视模式下保留过时的控制台输出,而不是清除屏幕。",
|
|
1669
1689
|
"Wrap_all_invalid_characters_in_an_expression_container_95109": "包装表达式容器中的所有无效字符",
|
|
1670
|
-
"Wrap_all_object_literal_with_parentheses_95116": "
|
|
1690
|
+
"Wrap_all_object_literal_with_parentheses_95116": "用括号括起所有对象字面量",
|
|
1671
1691
|
"Wrap_all_unparented_JSX_in_JSX_fragment_95121": "将所有没有父级的 JSX 包装在 JSX 片段中",
|
|
1672
1692
|
"Wrap_in_JSX_fragment_95120": "包装在 JSX 片段中",
|
|
1673
1693
|
"Wrap_invalid_character_in_an_expression_container_95108": "包装表达式容器中的无效字符",
|
|
1674
|
-
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "
|
|
1694
|
+
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "用括号括起以下应为对象字面量的内容",
|
|
1675
1695
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "你可以在 {0} 了解编译器选项的所有内容",
|
|
1676
1696
|
"You_cannot_rename_a_module_via_a_global_import_8031": "不能通过全局导入对模块进行重命名。",
|
|
1677
1697
|
"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "不能重命名已在 “node_modules” 文件夹中定义的元素。",
|
|
@@ -1717,6 +1737,10 @@
|
|
|
1717
1737
|
"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012": "“{0}”不是关键字“{1}”的有效元属性。是否是指“{2}”?",
|
|
1718
1738
|
"_0_is_not_allowed_as_a_parameter_name_1390": "不允许将 '{0}' 作为参数名。",
|
|
1719
1739
|
"_0_is_not_allowed_as_a_variable_declaration_name_1389": "“{0}”不得用作变量声明名称。",
|
|
1740
|
+
"_0_is_of_type_unknown_18046": "“{0}”的类型为“未知”。",
|
|
1741
|
+
"_0_is_possibly_null_18047": "“{0}”可能为 “null”。",
|
|
1742
|
+
"_0_is_possibly_null_or_undefined_18049": "{0}可能为 “null” 或“未定义”。",
|
|
1743
|
+
"_0_is_possibly_undefined_18048": "“{0}”可能为“未定义”。",
|
|
1720
1744
|
"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506": "“{0}”在其自身的基表达式中得到直接或间接引用。",
|
|
1721
1745
|
"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502": "“{0}”在其自身的类型批注中得到直接或间接引用。",
|
|
1722
1746
|
"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783": "多次指定了 \"{0}\",因此将重写此用法。",
|
|
@@ -1752,6 +1776,7 @@
|
|
|
1752
1776
|
"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010": "缺少返回类型批注的“{0}”隐式具有“{1}”返回类型。",
|
|
1753
1777
|
"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055": "缺少返回类型批注的 \"{0}\" 隐式具有 \"{1}\" 产出类型。",
|
|
1754
1778
|
"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "\"abstract\" 修饰符仅可出现在类、方法或属性声明中。",
|
|
1779
|
+
"accessor_modifier_can_only_appear_on_a_property_declaration_1275": "\"accessor\" 修饰符只能出现在属性声明中。",
|
|
1755
1780
|
"and_here_6204": "并在这里。",
|
|
1756
1781
|
"arguments_cannot_be_referenced_in_property_initializers_2815": "无法在属性初始化表达式中引用 \"arguments\"。",
|
|
1757
1782
|
"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+)的文件视为模块。",
|
|
@@ -1767,7 +1792,7 @@
|
|
|
1767
1792
|
"const_declarations_must_be_initialized_1155": "必须初始化 \"const\" 声明。",
|
|
1768
1793
|
"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "\"const\" 枚举成员初始化表达式的求值结果为非有限值。",
|
|
1769
1794
|
"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478": "\"const\" 枚举成员初始化表达式的求值结果为不允许使用的值 \"NaN\"。",
|
|
1770
|
-
"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474": "
|
|
1795
|
+
"const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474": "常量枚举成员初始值设定项只能包含字面量值和其他计算的枚举值。",
|
|
1771
1796
|
"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475": "\"const\" 枚举仅可在属性、索引访问表达式、导入声明的右侧、导出分配或类型查询中使用。",
|
|
1772
1797
|
"constructor_cannot_be_used_as_a_parameter_property_name_2398": "“构造函数”不能用作参数属性名称。",
|
|
1773
1798
|
"constructor_is_a_reserved_word_18012": "\"#constructor\" 是保留字。",
|
|
@@ -1815,8 +1840,8 @@
|
|
|
1815
1840
|
"package_json_scope_0_has_no_imports_defined_6273": "package.json 作用域 '{0}' 未定义导入。",
|
|
1816
1841
|
"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091": "指定了 \"paths“ 选项,正在查找模式以匹配模块名“{0}”。",
|
|
1817
1842
|
"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "\"readonly\" 修饰符仅可出现在属性声明或索引签名中。",
|
|
1818
|
-
"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "
|
|
1819
|
-
"require_call_may_be_converted_to_an_import_80005": "
|
|
1843
|
+
"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "仅允许对数组和元组字面量类型使用 \"readonly\" 类型修饰符。",
|
|
1844
|
+
"require_call_may_be_converted_to_an_import_80005": "可将 \"require\" 调用转换为 import 语句。",
|
|
1820
1845
|
"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452": "仅当“moduleResolution”为“node16”或“nodenext”时才支持“resolution-mode”断言。",
|
|
1821
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”进行更新。",
|
|
1822
1847
|
"resolution_mode_can_only_be_set_for_type_only_imports_1454": "只能为仅类型导入设置 \"resolution-mode\"。",
|
|
@@ -1824,10 +1849,10 @@
|
|
|
1824
1849
|
"resolution_mode_should_be_either_require_or_import_1453": "“resolution-mode”应为“require”或“import”。",
|
|
1825
1850
|
"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107": "设置了 \"rootDirs\" 选项,可将其用于解析相对模块名称“{0}”。",
|
|
1826
1851
|
"super_can_only_be_referenced_in_a_derived_class_2335": "只能在派生类中引用 \"super\"。",
|
|
1827
|
-
"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660": "
|
|
1852
|
+
"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660": "仅可在派生类或对象字面量表达式的成员中引用 \"super\"。",
|
|
1828
1853
|
"super_cannot_be_referenced_in_a_computed_property_name_2466": "不能在计算属性名中引用 \"super\"。",
|
|
1829
1854
|
"super_cannot_be_referenced_in_constructor_arguments_2336": "不能在构造函数参数中引用 \"super\"。",
|
|
1830
|
-
"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659": "\"target\" 选项为 \"ES2015\"
|
|
1855
|
+
"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659": "\"target\" 选项为 \"ES2015\" 或更高版本时,仅对象字面量表达式的成员中允许 \"super\"。",
|
|
1831
1856
|
"super_may_not_use_type_arguments_2754": "\"super\" 不能使用类型参数。",
|
|
1832
1857
|
"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011": "访问派生类构造函数中的 \"super\" 属性前,必须调用 \"super\"。",
|
|
1833
1858
|
"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009": "访问派生类的构造函数中的 \"this\" 前,必须调用 \"super\"。",
|