typescript 4.9.0-dev.20220820 → 4.9.0-dev.20220823

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.
@@ -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” 选项从这些文件中获取错误。",
@@ -208,7 +208,7 @@
208
208
  "An_export_declaration_cannot_have_modifiers_1193": "导出声明不能有修饰符。",
209
209
  "An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "无法测试 \"void\" 类型的表达式的真实性。",
210
210
  "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": "标识符或关键字不能紧跟在数字文本之后。",
211
+ "An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "标识符或关键字不能紧跟在数字字面量之后。",
212
212
  "An_implementation_cannot_be_declared_in_ambient_contexts_1183": "不能在环境上下文中声明实现。",
213
213
  "An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379": "导入别名不能引用使用 \"export type\" 导出的声明。",
214
214
  "An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380": "导入别名不能引用使用 \"import type\" 导入的声明。",
@@ -260,14 +260,14 @@
260
260
  "Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "全局范围的扩大仅可直接嵌套在外部模块中或环境模块声明中。",
261
261
  "Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "全局范围的扩大应具有 \"declare\" 修饰符,除非它们显示在已有的环境上下文中。",
262
262
  "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": "无法在类静态块内使用 Await 表达式。",
263
+ "Await_expression_cannot_be_used_inside_a_class_static_block_18037": "无法在类静态块内使用 await 表达式。",
264
264
  "BUILD_OPTIONS_6919": "生成选项",
265
- "Backwards_Compatibility_6253": "后向兼容性",
265
+ "Backwards_Compatibility_6253": "向后兼容性",
266
266
  "Base_class_expressions_cannot_reference_class_type_parameters_2562": "基类表达式无法引用类类型参数。",
267
267
  "Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509": "基构造函数返回类型 \"{0}\" 不是具有静态已知成员的对象类型或对象类型的交集。",
268
268
  "Base_constructors_must_all_have_the_same_return_type_2510": "所有的基构造函数必须具有相同的返回类型。",
269
269
  "Base_directory_to_resolve_non_absolute_module_names_6083": "用于解析非绝对模块名的基目录。",
270
- "BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737": "目标低于 ES2020 时,bigInt 文本不可用。",
270
+ "BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737": "目标低于 ES2020 时,BigInt 字面量不可用。",
271
271
  "Binary_digit_expected_1177": "需要二进制数字。",
272
272
  "Binding_element_0_implicitly_has_an_1_type_7031": "绑定元素“{0}”隐式具有“{1}”类型。",
273
273
  "Block_scoped_variable_0_used_before_its_declaration_2448": "声明之前已使用的块范围变量“{0}”。",
@@ -296,11 +296,11 @@
296
296
  "Cannot_assign_to_0_because_it_is_a_constant_2588": "无法分配到 \"{0}\" ,因为它是常数。",
297
297
  "Cannot_assign_to_0_because_it_is_a_function_2630": "无法为“{0}”赋值,因为它是函数。",
298
298
  "Cannot_assign_to_0_because_it_is_a_namespace_2631": "无法为“{0}”赋值,因为它是命名空间。",
299
- "Cannot_assign_to_0_because_it_is_a_read_only_property_2540": "无法分配到 \"{0}\" ,因为它是只读属性。",
299
+ "Cannot_assign_to_0_because_it_is_a_read_only_property_2540": "无法为“{0}”赋值,因为它是只读属性。",
300
300
  "Cannot_assign_to_0_because_it_is_an_enum_2628": "无法为“{0}”赋值,因为它是枚举。",
301
301
  "Cannot_assign_to_0_because_it_is_an_import_2632": "无法为“{0}”赋值,因为它是导入。",
302
- "Cannot_assign_to_0_because_it_is_not_a_variable_2539": "无法分配到“{0}”,因为它不是变量。",
303
- "Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803": "无法分配给专用方法 \"{0}\"。专用方法不可写。",
302
+ "Cannot_assign_to_0_because_it_is_not_a_variable_2539": "无法为“{0}”赋值,因为它不是变量。",
303
+ "Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803": "无法赋值给私有方法“{0}”。私有方法不可写。",
304
304
  "Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671": "无法扩大模块“{0}”,因为它解析为非模块实体。",
305
305
  "Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649": "无法扩充具有值导出的模块“{0}”,因为它解析为一个非模块的实体。",
306
306
  "Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131": "无法使用选项“{0}”来编译模块,除非 \"--module\" 标记为 \"amd\" 或 \"system\"。",
@@ -308,7 +308,7 @@
308
308
  "Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766": "无法将迭代委托到值,因为其迭代器的 \"next\" 方法需要类型 \"{1}\",但包含它的生成器将始终发送 \"{0}\"。",
309
309
  "Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661": "无法导出“{0}”。仅可从模块中导出本地声明。",
310
310
  "Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675": "无法扩展类“{0}”。类构造函数标记为私有。",
311
- "Cannot_extend_an_interface_0_Did_you_mean_implements_2689": "无法扩展接口‘{0}’。您的意思是‘实施’吗?",
311
+ "Cannot_extend_an_interface_0_Did_you_mean_implements_2689": "无法扩展接口“{0}”。您是否想使用 \"implements\"?",
312
312
  "Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081": "无法在当前目录找到 tsconfig.json 文件: {0}。",
313
313
  "Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057": "无法在指定目录找到 tsconfig.json 文件:“{0}”。",
314
314
  "Cannot_find_global_type_0_2318": "找不到全局类型“{0}”。",
@@ -329,8 +329,8 @@
329
329
  "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
330
  "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
331
  "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": "找不到名称 \"{0}\"。是否需要为节点安装类型定义? 请尝试使用 `npm i --save-dev @types/node`。",
333
- "Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591": "找不到名称“{0}”。是否需要为节点安装类型定义? 请尝试使用 `npm i --save-dev @types/node`,然后将 “node” 添加到类型字段。",
332
+ "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`。",
333
+ "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
334
  "Cannot_find_namespace_0_2503": "找不到命名空间“{0}”。",
335
335
  "Cannot_find_namespace_0_Did_you_mean_1_2833": "找不到命名空间“{0}”。你是否指的是“{1}”?",
336
336
  "Cannot_find_parameter_0_1225": "找不到参数“{0}”。",
@@ -365,8 +365,8 @@
365
365
  "Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196": "Catch 子句变量类型注释必须为 \"any\" 或 \"unknown\" (若已指定)。",
366
366
  "Change_0_to_1_90014": "将“{0}”更改为“{1}”",
367
367
  "Change_all_extended_interfaces_to_implements_95038": "将所有扩展接口都更改为 \"implements\"",
368
- "Change_all_jsdoc_style_types_to_TypeScript_95030": "将所有 jsdoc 样式类型都更改为 TypeScript",
369
- "Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031": "将所有 jsdoc 样式类型都更改为 TypeScript (并将 \"| undefined\" 添加到可以为 null 的类型)",
368
+ "Change_all_jsdoc_style_types_to_TypeScript_95030": "将所有 JSDoc 样式类型都更改为 TypeScript",
369
+ "Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031": "将所有 JSDoc 样式类型都更改为 TypeScript (并将 \"| undefined\" 添加到可以为 null 的类型)",
370
370
  "Change_extends_to_implements_90003": "将 \"extends\" 改为 \"implements\"",
371
371
  "Change_spelling_to_0_90022": "将拼写更改为“{0}”",
372
372
  "Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700": "检查是否有已声明但未在构造函数中设置的类属性。",
@@ -436,7 +436,7 @@
436
436
  "Convert_all_re_exported_types_to_type_only_exports_1365": "将所有重新导出的类型转换为仅类型导出",
437
437
  "Convert_all_require_to_import_95048": "将所有 \"require\" 转换为 \"import\"",
438
438
  "Convert_all_to_async_functions_95066": "全部转换为异步函数",
439
- "Convert_all_to_bigint_numeric_literals_95092": "全部转换为 bigint 数字文本",
439
+ "Convert_all_to_bigint_numeric_literals_95092": "全部转换为 BigInt 数字字面量",
440
440
  "Convert_all_to_default_imports_95035": "全部转换为默认导入",
441
441
  "Convert_all_type_literals_to_mapped_type_95021": "将所有类型文本转换为映射类型",
442
442
  "Convert_arrow_function_or_function_expression_95122": "转换箭头函数或函数表达式",
@@ -454,7 +454,7 @@
454
454
  "Convert_parameters_to_destructured_object_95075": "将参数转换为析构对象",
455
455
  "Convert_require_to_import_95047": "将 \"require\" 转换为 \"import\"",
456
456
  "Convert_to_ES_module_95017": "转换为 ES 模块",
457
- "Convert_to_a_bigint_numeric_literal_95091": "转换为 bigint 数字文本",
457
+ "Convert_to_a_bigint_numeric_literal_95091": "转换为 BigInt 数字字面量",
458
458
  "Convert_to_anonymous_function_95123": "转换为异步函数",
459
459
  "Convert_to_arrow_function_95125": "转换为箭头函数",
460
460
  "Convert_to_async_function_95065": "转换为异步函数",
@@ -729,7 +729,7 @@
729
729
  "Fix_all_expressions_possibly_missing_await_95085": "修复可能缺少 \"await\" 的所有表达式",
730
730
  "Fix_all_implicit_this_errors_95107": "修复所有 implicit-'this' 错误",
731
731
  "Fix_all_incorrect_return_type_of_an_async_functions_90037": "修复所有错误的异步函数返回类型",
732
- "For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "无法在类静态块内使用 “For await 循环。",
732
+ "For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "无法在类静态块内使用 for...await 循环。",
733
733
  "Found_0_errors_6217": "找到 {0} 个错误。",
734
734
  "Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 个错误。注意文件更改。",
735
735
  "Found_0_errors_in_1_files_6261": "在 {1} 个文件中找到 {0} 个错误。",
@@ -978,9 +978,9 @@
978
978
  "Object_is_possibly_null_2531": "对象可能为 \"null\"。",
979
979
  "Object_is_possibly_null_or_undefined_2533": "对象可能为 \"null\" 或“未定义”。",
980
980
  "Object_is_possibly_undefined_2532": "对象可能为“未定义”。",
981
- "Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353": "对象文字可以只指定已知属性,并且“{0}”不在类型“{1}”中。",
982
- "Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561": "对象文字只能指定已知的属性,但“{0}”中不存在类型“{1}”。是否要写入 {2}?",
983
- "Object_literal_s_property_0_implicitly_has_an_1_type_7018": "对象文字的属性“{0}”隐式含有“{1}”类型。",
981
+ "Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353": "对象字面量只能指定已知属性,并且“{0}”不在类型“{1}”中。",
982
+ "Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561": "对象字面量只能指定已知的属性,但“{0}”中不存在类型“{1}”。是否要写入 {2}?",
983
+ "Object_literal_s_property_0_implicitly_has_an_1_type_7018": "对象字面量的属性“{0}”隐式含有“{1}”类型。",
984
984
  "Octal_digit_expected_1178": "需要八进制数字。",
985
985
  "Octal_literal_types_must_use_ES2015_syntax_Use_the_syntax_0_8017": "八进制文本类型必须使用 ES2015 语法。请使用语法“{0}”。",
986
986
  "Octal_literals_are_not_allowed_in_enums_members_initializer_Use_the_syntax_0_8018": "枚举成员初始值设定项中不允许有八进制文本。请使用语法“{0}”。",
@@ -1152,7 +1152,7 @@
1152
1152
  "Property_assignment_expected_1136": "应为属性分配。",
1153
1153
  "Property_destructuring_pattern_expected_1180": "应为属性析构模式。",
1154
1154
  "Property_or_signature_expected_1131": "应为属性或签名。",
1155
- "Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "属性值只能是字符串文本、数字文本、\"true\"、\"false\"、\"null\"、对象文字或数组文本。",
1155
+ "Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "属性值只能是字符串、数字、\"true\"、\"false\"、\"null\"、对象或数组等类型的字面量。",
1156
1156
  "Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179": "以 \"ES5\" 或 \"ES3\" 设为目标时,对 \"for-of\"、传播和析构中的可迭代项提供完全支持。",
1157
1157
  "Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "导出类的公共方法“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”,但不能为其命名。",
1158
1158
  "Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "导出类的公共方法“{0}”具有或正在使用私有模块“{2}”中的名称“{1}”。",
@@ -1351,8 +1351,8 @@
1351
1351
  "Statements_are_not_allowed_in_ambient_contexts_1036": "不允许在环境上下文中使用语句。",
1352
1352
  "Static_members_cannot_reference_class_type_parameters_2302": "静态成员不能引用类类型参数。",
1353
1353
  "Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "静态属性“{0}”与构造函数“{1}”的内置属性函数“{0}”冲突。",
1354
- "String_literal_expected_1141": "应为字符串文本。",
1355
- "String_literal_with_double_quotes_expected_1327": "应为带双引号的字符串文字。",
1354
+ "String_literal_expected_1141": "应为字符串字面量。",
1355
+ "String_literal_with_double_quotes_expected_1327": "应为带双引号的字符串字面量。",
1356
1356
  "Stylize_errors_and_messages_using_color_and_context_experimental_6073": "使用颜色和上下文风格化错误和消息(实验)。",
1357
1357
  "Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717": "后续属性声明必须属于同一类型。属性“{0}”的类型必须为“{1}”,但此处却为类型“{2}”。",
1358
1358
  "Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403": "后续变量声明必须属于同一类型。变量“{0}”必须属于类型“{1}”,但此处却为类型“{2}”。",
@@ -1362,7 +1362,7 @@
1362
1362
  "Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066": "模式“{0}”的替换模式不应为空数组。",
1363
1363
  "Successfully_created_a_tsconfig_json_file_6071": "已成功创建 tsconfig.json 文件。",
1364
1364
  "Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337": "不允许在构造函数外部或在构造函数内的嵌套函数中进行 Super 调用。",
1365
- "Suppress_excess_property_checks_for_object_literals_6072": "取消对象文字的多余属性检查。",
1365
+ "Suppress_excess_property_checks_for_object_literals_6072": "取消对对象字面量的多余属性检查。",
1366
1366
  "Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055": "抑制缺少索引签名的索引对象的 noImplicitAny 错误。",
1367
1367
  "Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "在对缺少索引签名的对象编制索引时,抑制 “noImplicitAny” 错误。",
1368
1368
  "Switch_each_misused_0_to_1_95138": "将每个误用的“{0}”切换到“{1}”",
@@ -1633,9 +1633,9 @@
1633
1633
  "Unreachable_code_detected_7027": "检测到无法访问的代码。",
1634
1634
  "Unterminated_Unicode_escape_sequence_1199": "未终止的 Unicode 转义序列。",
1635
1635
  "Unterminated_quoted_string_in_response_file_0_6045": "响应文件“{0}”中引号不配对。",
1636
- "Unterminated_regular_expression_literal_1161": "未终止的正则表达式文本。",
1637
- "Unterminated_string_literal_1002": "未终止的字符串文本。",
1638
- "Unterminated_template_literal_1160": "未终止的模板文本。",
1636
+ "Unterminated_regular_expression_literal_1161": "未终止的正则表达式字面量。",
1637
+ "Unterminated_string_literal_1002": "未终止的字符串字面量。",
1638
+ "Unterminated_template_literal_1160": "未终止的模板字面量。",
1639
1639
  "Untyped_function_calls_may_not_accept_type_arguments_2347": "非类型化函数调用不能接受类型参数。",
1640
1640
  "Unused_label_7028": "未使用的标签。",
1641
1641
  "Unused_ts_expect_error_directive_2578": "未使用的 \"@ts-expect-error\" 指令。",
@@ -1673,11 +1673,11 @@
1673
1673
  "When_type_checking_take_into_account_null_and_undefined_6699": "进行类型检查时,请考虑 “null” 和 “undefined”。",
1674
1674
  "Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191": "是否在监视模式下保留过时的控制台输出,而不是清除屏幕。",
1675
1675
  "Wrap_all_invalid_characters_in_an_expression_container_95109": "包装表达式容器中的所有无效字符",
1676
- "Wrap_all_object_literal_with_parentheses_95116": "用括号将所有对象文字括起来",
1676
+ "Wrap_all_object_literal_with_parentheses_95116": "用括号括起所有对象字面量",
1677
1677
  "Wrap_all_unparented_JSX_in_JSX_fragment_95121": "将所有没有父级的 JSX 包装在 JSX 片段中",
1678
1678
  "Wrap_in_JSX_fragment_95120": "包装在 JSX 片段中",
1679
1679
  "Wrap_invalid_character_in_an_expression_container_95108": "包装表达式容器中的无效字符",
1680
- "Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "用括号将以下应为对象文字的正文括起来",
1680
+ "Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "用括号括起以下应为对象字面量的内容",
1681
1681
  "You_can_learn_about_all_of_the_compiler_options_at_0_6913": "你可以在 {0} 了解编译器选项的所有内容",
1682
1682
  "You_cannot_rename_a_module_via_a_global_import_8031": "不能通过全局导入对模块进行重命名。",
1683
1683
  "You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035": "不能重命名已在 “node_modules” 文件夹中定义的元素。",
@@ -1773,7 +1773,7 @@
1773
1773
  "const_declarations_must_be_initialized_1155": "必须初始化 \"const\" 声明。",
1774
1774
  "const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "\"const\" 枚举成员初始化表达式的求值结果为非有限值。",
1775
1775
  "const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478": "\"const\" 枚举成员初始化表达式的求值结果为不允许使用的值 \"NaN\"。",
1776
- "const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474": "常量枚举成员初始值设定项只能包含文字值和其他计算的枚举值。",
1776
+ "const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474": "常量枚举成员初始值设定项只能包含字面量值和其他计算的枚举值。",
1777
1777
  "const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475": "\"const\" 枚举仅可在属性、索引访问表达式、导入声明的右侧、导出分配或类型查询中使用。",
1778
1778
  "constructor_cannot_be_used_as_a_parameter_property_name_2398": "“构造函数”不能用作参数属性名称。",
1779
1779
  "constructor_is_a_reserved_word_18012": "\"#constructor\" 是保留字。",
@@ -1821,8 +1821,8 @@
1821
1821
  "package_json_scope_0_has_no_imports_defined_6273": "package.json 作用域 '{0}' 未定义导入。",
1822
1822
  "paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091": "指定了 \"paths“ 选项,正在查找模式以匹配模块名“{0}”。",
1823
1823
  "readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "\"readonly\" 修饰符仅可出现在属性声明或索引签名中。",
1824
- "readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "仅允许对数组和元组文本类型使用 \"readonly\" 类型修饰符。",
1825
- "require_call_may_be_converted_to_an_import_80005": "可将“要求”调用转换为导入。",
1824
+ "readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "仅允许对数组和元组字面量类型使用 \"readonly\" 类型修饰符。",
1825
+ "require_call_may_be_converted_to_an_import_80005": "可将 \"require\" 调用转换为 import 语句。",
1826
1826
  "resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452": "仅当“moduleResolution”为“node16”或“nodenext”时才支持“resolution-mode”断言。",
1827
1827
  "resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125": "“resolution-mode”断言不稳定。请使用夜间 TypeScript 消除此错误。请尝试使用“npm install -D typescript@next”进行更新。",
1828
1828
  "resolution_mode_can_only_be_set_for_type_only_imports_1454": "只能为仅类型导入设置 \"resolution-mode\"。",
@@ -1830,10 +1830,10 @@
1830
1830
  "resolution_mode_should_be_either_require_or_import_1453": "“resolution-mode”应为“require”或“import”。",
1831
1831
  "rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107": "设置了 \"rootDirs\" 选项,可将其用于解析相对模块名称“{0}”。",
1832
1832
  "super_can_only_be_referenced_in_a_derived_class_2335": "只能在派生类中引用 \"super\"。",
1833
- "super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660": "仅可在派生类或对象文字表达式的成员中引用 \"super\"。",
1833
+ "super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660": "仅可在派生类或对象字面量表达式的成员中引用 \"super\"。",
1834
1834
  "super_cannot_be_referenced_in_a_computed_property_name_2466": "不能在计算属性名中引用 \"super\"。",
1835
1835
  "super_cannot_be_referenced_in_constructor_arguments_2336": "不能在构造函数参数中引用 \"super\"。",
1836
- "super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659": "\"target\" 选项为 \"ES2015\" 或更高版本时,仅对象文字表达式的成员中允许 \"super\"。",
1836
+ "super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659": "\"target\" 选项为 \"ES2015\" 或更高版本时,仅对象字面量表达式的成员中允许 \"super\"。",
1837
1837
  "super_may_not_use_type_arguments_2754": "\"super\" 不能使用类型参数。",
1838
1838
  "super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011": "访问派生类构造函数中的 \"super\" 属性前,必须调用 \"super\"。",
1839
1839
  "super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009": "访问派生类的构造函数中的 \"this\" 前,必须调用 \"super\"。",
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "typescript",
3
3
  "author": "Microsoft Corp.",
4
4
  "homepage": "https://www.typescriptlang.org/",
5
- "version": "4.9.0-dev.20220820",
5
+ "version": "4.9.0-dev.20220823",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -62,6 +62,7 @@
62
62
  "eslint-formatter-autolinkable-stylish": "^1.2.0",
63
63
  "eslint-plugin-import": "^2.26.0",
64
64
  "eslint-plugin-jsdoc": "^39.3.6",
65
+ "eslint-plugin-local": "^1.0.0",
65
66
  "eslint-plugin-no-null": "^1.0.2",
66
67
  "fancy-log": "latest",
67
68
  "fs-extra": "^9.1.0",
@@ -90,7 +91,6 @@
90
91
  "es5-ext": "0.10.53"
91
92
  },
92
93
  "scripts": {
93
- "prepare": "gulp build-eslint-rules",
94
94
  "pretest": "gulp tests",
95
95
  "test": "gulp runtests-parallel --light=false",
96
96
  "test:eslint-rules": "gulp run-eslint-rules-tests",