typescript 4.6.3 → 4.7.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/lib/cs/diagnosticMessages.generated.json +59 -41
  2. package/lib/de/diagnosticMessages.generated.json +59 -41
  3. package/lib/es/diagnosticMessages.generated.json +52 -34
  4. package/lib/fr/diagnosticMessages.generated.json +41 -23
  5. package/lib/it/diagnosticMessages.generated.json +61 -43
  6. package/lib/ja/diagnosticMessages.generated.json +40 -22
  7. package/lib/ko/diagnosticMessages.generated.json +60 -42
  8. package/lib/lib.dom.d.ts +404 -31
  9. package/lib/lib.dom.iterable.d.ts +16 -3
  10. package/lib/lib.es2015.core.d.ts +3 -3
  11. package/lib/lib.es2015.reflect.d.ts +1 -1
  12. package/lib/lib.es2020.bigint.d.ts +3 -1
  13. package/lib/lib.es2020.d.ts +2 -0
  14. package/lib/lib.es2020.date.d.ts +44 -0
  15. package/lib/lib.es2020.intl.d.ts +43 -8
  16. package/lib/lib.es2020.number.d.ts +30 -0
  17. package/lib/lib.es2021.intl.d.ts +106 -4
  18. package/lib/lib.es5.d.ts +10 -2
  19. package/lib/lib.esnext.intl.d.ts +4 -1
  20. package/lib/lib.webworker.d.ts +110 -25
  21. package/lib/lib.webworker.iterable.d.ts +3 -3
  22. package/lib/pl/diagnosticMessages.generated.json +44 -26
  23. package/lib/protocol.d.ts +42 -2
  24. package/lib/pt-br/diagnosticMessages.generated.json +50 -32
  25. package/lib/ru/diagnosticMessages.generated.json +48 -30
  26. package/lib/tr/diagnosticMessages.generated.json +61 -43
  27. package/lib/tsc.js +7045 -5816
  28. package/lib/tsserver.js +22377 -20198
  29. package/lib/tsserverlibrary.d.ts +428 -293
  30. package/lib/tsserverlibrary.js +22364 -20186
  31. package/lib/typescript.d.ts +385 -290
  32. package/lib/typescript.js +22050 -19980
  33. package/lib/typescriptServices.d.ts +385 -290
  34. package/lib/typescriptServices.js +22050 -19980
  35. package/lib/typingsInstaller.js +16680 -15206
  36. package/lib/zh-cn/diagnosticMessages.generated.json +49 -31
  37. package/lib/zh-tw/diagnosticMessages.generated.json +61 -43
  38. package/package.json +1 -10
@@ -54,8 +54,7 @@
54
54
  "A_module_cannot_have_multiple_default_exports_2528": "一个模块不能具有多个默认导出。",
55
55
  "A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433": "命名空间声明必须位于与之合并的类或函数所在的相同文件内。",
56
56
  "A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434": "命名空间声明不能位于与之合并的类或函数前",
57
- "A_namespace_declaration_is_only_allowed_in_a_namespace_or_module_1235": "只允许在命名空间或模块中使用命名空间声明。",
58
- "A_new_expression_with_type_arguments_must_always_be_followed_by_a_parenthesized_argument_list_1384": "具有类型参数的 \"new\" 表达式的后面必须始终是带括号的参数列表。",
57
+ "A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "命名空间声明只允许位于命名空间或模块的顶层。",
59
58
  "A_non_dry_build_would_build_project_0_6357": "非 -dry 生成将生成项目“{0}”",
60
59
  "A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "非 -dry 生成将删除以下文件: {0}",
61
60
  "A_non_dry_build_would_update_output_of_project_0_6375": "非干燥生成将更新项目 \"{0}\" 的输出",
@@ -102,6 +101,7 @@
102
101
  "A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230": "类型谓词无法在绑定模式中引用元素“{0}”。",
103
102
  "A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228": "只允许在函数和方法的返回类型位置使用类型谓词。",
104
103
  "A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677": "类型谓词的类型不可赋给其参数的类型。",
104
+ "A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272": "启用 “isolatedModules” 和 “emitDecoratorMetadata” 时,必须使用 “import type” 或命名空间导入来导入修饰签名中引用的类型。",
105
105
  "A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332": "类型为 \"unique symbol\" 的变量必须为 \"const\"。",
106
106
  "A_yield_expression_is_only_allowed_in_a_generator_body_1163": "只允许在生成器正文中使用 \"yield\" 表达式。",
107
107
  "Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513": "无法通过 super 表达式访问“{1}”类中的“{0}”抽象方法。",
@@ -199,7 +199,8 @@
199
199
  "An_export_assignment_cannot_be_used_in_a_namespace_1063": "不能在命名空间中使用导出分配。",
200
200
  "An_export_assignment_cannot_have_modifiers_1120": "导出分配不能具有修饰符。",
201
201
  "An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231": "导出分配必须位于文件或模块声明的顶层。",
202
- "An_export_declaration_can_only_be_used_in_a_module_1233": "导出声明只能在模块中使用。",
202
+ "An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474": "导出声明只能在模块的顶层使用。",
203
+ "An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233": "导出声明只能在命名空间或模块的顶层使用。",
203
204
  "An_export_declaration_cannot_have_modifiers_1193": "导出声明不能有修饰符。",
204
205
  "An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "无法测试 \"void\" 类型的表达式的真实性。",
205
206
  "An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "扩展的 Unicode 转义值必须介于(含) 0x0 和 0x10FFFF 之间。",
@@ -208,7 +209,8 @@
208
209
  "An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379": "导入别名不能引用使用 \"export type\" 导出的声明。",
209
210
  "An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380": "导入别名不能引用使用 \"import type\" 导入的声明。",
210
211
  "An_import_alias_cannot_use_import_type_1392": "导入别名不能使用“导入类型”",
211
- "An_import_declaration_can_only_be_used_in_a_namespace_or_module_1232": "导入声明只能在命名空间或模块中使用。",
212
+ "An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473": "导入声明只能在模块的顶层使用。",
213
+ "An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232": "导入声明只能在命名空间或模块的顶层使用。",
212
214
  "An_import_declaration_cannot_have_modifiers_1191": "导入声明不能有修饰符。",
213
215
  "An_import_path_cannot_end_with_a_0_extension_Consider_importing_1_instead_2691": "导入路径不能以“{0}”扩展名结束。考虑改为导入“{1}”。",
214
216
  "An_index_signature_cannot_have_a_rest_parameter_1017": "索引签名不能包含 rest 参数。",
@@ -264,7 +266,7 @@
264
266
  "Binding_element_0_implicitly_has_an_1_type_7031": "绑定元素“{0}”隐式具有“{1}”类型。",
265
267
  "Block_scoped_variable_0_used_before_its_declaration_2448": "声明之前已使用的块范围变量“{0}”。",
266
268
  "Build_a_composite_project_in_the_working_directory_6925": "在工作目录中生成复合项目。",
267
- "Build_all_projects_including_those_that_appear_to_be_up_to_date_6636": "生成所有项目,包括那些似乎已是最新的项目",
269
+ "Build_all_projects_including_those_that_appear_to_be_up_to_date_6636": "生成所有项目,包括那些似乎是最新的项目。",
268
270
  "Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364": "生成一个或多个项目及其依赖项(如果已过期)",
269
271
  "Build_option_0_requires_a_value_of_type_1_5073": "生成选项 \"{0}\" 需要类型 {1} 的值。",
270
272
  "Building_project_0_6358": "正在生成项目“{0}”...",
@@ -345,6 +347,7 @@
345
347
  "Cannot_start_a_function_call_in_a_type_annotation_1441": "无法在类型注释中启动函数调用。",
346
348
  "Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376": "无法更新项目 \"{0}\" 的输出,因为读取文件 \"{1}\" 时出错",
347
349
  "Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004": "无法使用 JSX,除非提供了 \"--jsx\" 标志。",
350
+ "Cannot_use_export_import_on_a_type_or_type_only_namespace_when_the_isolatedModules_flag_is_provided_1269": "在提供 “--isolatedModules” 标志时,无法在类型或仅类型命名空间上使用“导出导入”。",
348
351
  "Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148": "当 \"--module\" 为 \"none\" 时无法使用导入、导出或模块扩大。",
349
352
  "Cannot_use_namespace_0_as_a_type_2709": "不能将命名空间“{0}”用作类型。",
350
353
  "Cannot_use_namespace_0_as_a_value_2708": "不能将命名空间“{0}”用作值。",
@@ -415,6 +418,7 @@
415
418
  "Constructors_for_derived_classes_must_contain_a_super_call_2377": "派生类的构造函数必须包含 \"super\" 调用。",
416
419
  "Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "未指定包含文件,并且无法确定根目录,正在跳过在 \"node_modules\" 文件夹中查找。",
417
420
  "Containing_function_is_not_an_arrow_function_95128": "包含函数不是箭头函数",
421
+ "Control_what_method_is_used_to_detect_module_format_JS_files_1475": "控制用于检测模块格式 JS 文件的方法。",
418
422
  "Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "类型 \"{0}\" 到类型 \"{1}\" 的转换可能是错误的,因为两种类型不能充分重叠。如果这是有意的,请先将表达式转换为 \"unknown\"。",
419
423
  "Convert_0_to_1_in_0_95003": "将“{0}”转换为 {0} 中的 {1}",
420
424
  "Convert_0_to_mapped_object_type_95055": "将“{0}”转换为映射对象类型",
@@ -488,17 +492,22 @@
488
492
  "Declare_property_0_90016": "声明属性“{0}”",
489
493
  "Declare_static_method_0_90024": "声明静态方法“{0}”",
490
494
  "Declare_static_property_0_90027": "声明静态属性“{0}”",
495
+ "Decorator_function_return_type_0_is_not_assignable_to_type_1_1270": "装饰器函数返回类型“{0}”不可分配到类型“{1}”。",
496
+ "Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271": "装饰器函数返回类型为“{0}”,但预期为“void”或“any”。",
491
497
  "Decorators_are_not_valid_here_1206": "修饰器在此处无效。",
492
498
  "Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207": "不能向多个同名的 get/set 访问器应用修饰器。",
493
499
  "Decorators_may_not_be_applied_to_this_parameters_1433": "修饰器不能应用于 “this” 参数。",
494
500
  "Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436": "修饰器必须位于属性声明的名称和所有关键字之前。",
501
+ "Default_catch_clause_variables_as_unknown_instead_of_any_6803": "将 catch 子句变量默认为 “unknown” 而不是 “any”。",
495
502
  "Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模块的默认导出具有或正在使用专用名称“{0}”。",
496
503
  "Default_library_1424": "默认库",
497
504
  "Default_library_for_target_0_1425": "目标 \"{0}\" 的默认库",
498
505
  "Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200": "以下标识符的定义与另一个文件中的定义冲突: {0}",
499
506
  "Delete_all_unused_declarations_95024": "删除未使用的所有声明",
500
507
  "Delete_all_unused_imports_95147": "删除所有未使用的导入",
501
- "Delete_the_outputs_of_all_projects_6365": "删除所有项目的输出",
508
+ "Delete_all_unused_param_tags_95172": "删除所有未使用的 “@param” 标记",
509
+ "Delete_the_outputs_of_all_projects_6365": "删除所有项目的输出。",
510
+ "Delete_unused_param_tag_0_95171": "删除未使用的 “@param” 标记“{0}”",
502
511
  "Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084": "[已弃用] 请改用 \"--jsxFactory\"。已 \"react\" JSX 发出设为目标时,请指定要为 createElement 调用的对象",
503
512
  "Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170": "[已弃用] 请改用 \"--outFile\"。连接并发出到单个文件的输出",
504
513
  "Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160": "[已弃用] 请改用 \"--skipLibCheck\"。请跳过默认库声明文件的类型检查。",
@@ -516,7 +525,7 @@
516
525
  "Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669": "禁止在发出的 JavaScript 文件中添加 “use strict” 指令。",
517
526
  "Disable_checking_for_this_file_90018": "禁用检查此文件",
518
527
  "Disable_emitting_comments_6688": "禁用发出注释。",
519
- "Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701": "禁用在其 JSDoc 注释中包含 “@internal” 的声明。",
528
+ "Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701": "禁用在其 JSDoc 注释中包含 “@internal” 的发出声明。",
520
529
  "Disable_emitting_files_from_a_compilation_6660": "禁用从编译发出文件。",
521
530
  "Disable_emitting_files_if_any_type_checking_errors_are_reported_6662": "禁用在报告了任何类型检查错误时发出文件。",
522
531
  "Disable_erasing_const_enum_declarations_in_generated_code_6682": "在生成的代码中禁用擦除 “const enum” 声明。",
@@ -525,7 +534,7 @@
525
534
  "Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661": "在已编译输出中禁用生成自定义帮助程序函数(如 “__extends”)。",
526
535
  "Disable_including_any_library_files_including_the_default_lib_d_ts_6670": "禁用包括任何库文件(包括默认的 lib.d.ts)。",
527
536
  "Disable_loading_referenced_projects_6235": "禁止加载引用的项目。",
528
- "Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620": "在引用复合项目时禁用首选源文件而不是声明文件",
537
+ "Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620": "在引用复合项目时禁用首选源文件而不是声明文件。",
529
538
  "Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702": "禁用在创建对象文字期间报告多余属性错误。",
530
539
  "Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683": "禁用将符号链接解析为其实际路径。这会关联到节点中的同一标志。",
531
540
  "Disable_size_limitations_on_JavaScript_projects_6162": "禁用对 JavaScript 项目的大小限制。",
@@ -534,9 +543,9 @@
534
543
  "Disable_the_type_acquisition_for_JavaScript_projects_6625": "禁用针对 JavaScript 项目的类型获取",
535
544
  "Disable_truncating_types_in_error_messages_6663": "在错误消息中禁用截断类型。",
536
545
  "Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221": "禁止使用源文件而不是引用项目中的声明文件。",
537
- "Disable_wiping_the_console_in_watch_mode_6684": "禁用在监视模式下擦除控制台",
546
+ "Disable_wiping_the_console_in_watch_mode_6684": "禁用在监视模式下擦除控制台。",
538
547
  "Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616": "禁用通过查看项目中的文件名进行类型获取推理。",
539
- "Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672": "禁止 “import”、“require” 或 “<引用>” 扩展 TypeScript 应添加到项目的文件数。",
548
+ "Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672": "禁止 “import”、“require” 或 “<reference>” 扩展 TypeScript 应添加到项目的文件数。",
540
549
  "Disallow_inconsistently_cased_references_to_the_same_file_6078": "不允许对同一文件采用大小不一致的引用。",
541
550
  "Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159": "请勿将三斜杠引用或导入的模块添加到已编译文件列表中。",
542
551
  "Do_not_emit_comments_to_output_6009": "请勿将注释发出到输出。",
@@ -581,23 +590,22 @@
581
590
  "Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622": "在输出文件的开头发出一个 UTF-8 字节顺序标记(BOM)。",
582
591
  "Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151": "发出包含源映射而非包含单独文件的单个文件。",
583
592
  "Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638": "发出用于调试的编译器运行的 v8 CPU 配置文件。",
584
- "Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626": "发出其他 JavaScript 以便支持导入 CommonJS 模块。这将启用 “allowSyntheticDefaultImports” 以实现类型兼容性。",
593
+ "Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626": "发出其他 JavaScript 以轻松支持导入 CommonJS 模块。这将启用 “allowSyntheticDefaultImports” 以实现类型兼容性。",
585
594
  "Emit_class_fields_with_Define_instead_of_Set_6222": "使用 Define 而不是 Set 发出类字段。",
586
595
  "Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624": "为源文件中的修饰声明发出设计类型元数据。",
587
596
  "Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621": "发出更合规但更详细且性能较低的 JavaScript 进行迭代。",
588
597
  "Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152": "在单个文件内发出源以及源映射;需要设置 \"--inlineSourceMap\" 或 \"--sourceMap\"。",
589
598
  "Enable_all_strict_type_checking_options_6180": "启用所有严格类型检查选项。",
590
- "Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685": "在 TypeScript 输出中启用颜色和格式设置,使编译器错误更易于阅读",
599
+ "Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685": "在 TypeScript 输出中启用颜色和格式设置,以使编译器错误更易于阅读。",
591
600
  "Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611": "启用允许将 TypeScript 项目与项目引用一起使用的约束。",
592
601
  "Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667": "为未在函数中显式返回的代码路径启用错误报告。",
593
602
  "Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665": "对具有隐式 “any” 类型的表达式和声明启用错误报告。",
594
603
  "Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664": "为 switch 语句中的故障案例启用错误报告。",
595
604
  "Enable_error_reporting_in_type_checked_JavaScript_files_6609": "在已检查类型的 JavaScript 文件中启用错误报告。",
596
- "Enable_error_reporting_when_a_local_variables_aren_t_read_6675": "启用在未读取局部变量时报告错误。",
597
- "Enable_error_reporting_when_this_is_given_the_type_any_6668": "启用在 “this” 为 “any” 类型时进行错误报告。",
605
+ "Enable_error_reporting_when_local_variables_aren_t_read_6675": "在未读取局部变量时启用错误报告。",
606
+ "Enable_error_reporting_when_this_is_given_the_type_any_6668": "在 “this” 的类型为 “any” 时启用错误报告。",
598
607
  "Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630": "为 TC39 暂存 2 草稿修饰器启用实验性支持。",
599
- "Enable_importing_json_files_6689": "启用导入 .json 文件",
600
- "Enable_incremental_compilation_6378": "启用增量编译",
608
+ "Enable_importing_json_files_6689": "启用导入 .json 文件。",
601
609
  "Enable_project_compilation_6302": "启用项目编译",
602
610
  "Enable_strict_bind_call_and_apply_methods_on_functions_6214": "对函数启用严格的 \"bind\"、\"call\" 和 \"apply\" 方法。",
603
611
  "Enable_strict_checking_of_function_types_6186": "对函数类型启用严格检查。",
@@ -606,11 +614,11 @@
606
614
  "Enable_the_experimentalDecorators_option_in_your_configuration_file_95074": "在配置文件中启用 \"experimentalDecorators\" 选项",
607
615
  "Enable_the_jsx_flag_in_your_configuration_file_95088": "在配置文件中启用 \"--jsx\" 标志",
608
616
  "Enable_tracing_of_the_name_resolution_process_6085": "启用名称解析过程的跟踪。",
609
- "Enable_verbose_logging_6713": "启用详细日志记录",
617
+ "Enable_verbose_logging_6713": "启用详细日志记录。",
610
618
  "Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037": "通过为所有导入创建命名空间对象来启用 CommonJS 和 ES 模块之间的发出互操作性。表示 \"allowSyntheticDefaultImports\"。",
611
619
  "Enables_experimental_support_for_ES7_decorators_6065": "对 ES7 修饰器启用实验支持。",
612
620
  "Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066": "对发出修饰器的类型元数据启用实验支持。",
613
- "Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671": "对使用索引类型声明的键强制使用索引访问器",
621
+ "Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671": "对使用索引类型声明的键强制使用索引访问器。",
614
622
  "Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666": "确保使用替代修饰符标记派生类中的替代成员。",
615
623
  "Ensure_that_casing_is_correct_in_imports_6637": "确保导入中的大小写正确。",
616
624
  "Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645": "确保可以安全地转译每个文件,而无需依赖其他导入。",
@@ -751,7 +759,7 @@
751
759
  "Global_type_0_must_be_a_class_or_interface_type_2316": "全局类型“{0}”必须为类或接口类型。",
752
760
  "Global_type_0_must_have_1_type_parameter_s_2317": "全局类型“{0}”必须具有 {1} 个类型参数。",
753
761
  "Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384": "在 \"--incremental\" 和 \"--watch\" 中有重新编译,假定文件中的更改只会影响直接依赖它的文件。",
754
- "Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606": "在使用 “incremental” 和 “watch” 模式的项目中重新编译假定文件中的更改将直接影响影响依赖于它的文件。",
762
+ "Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606": "在使用 “incremental” 和 “watch” 模式的项目中具有重新编译会假定文件中的更改将仅直接影响依赖于它的文件。",
755
763
  "Hexadecimal_digit_expected_1125": "应为十六进制数字。",
756
764
  "Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262": "应为标识符。“{0}”是模块顶层的预留字。",
757
765
  "Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212": "应为标识符。“{0}”在严格模式下是保留字。",
@@ -797,7 +805,6 @@
797
805
  "Include_modules_imported_with_json_extension_6197": "包括通过 \".json\" 扩展导入的模块",
798
806
  "Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "在发出的 JavaScript 内的源映射中包含源代码。",
799
807
  "Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "在发出的 JavaScript 中包括源映射文件。",
800
- "Include_undefined_in_index_signature_results_6716": "在索引签名结果中包含“未定义”",
801
808
  "Includes_imports_of_types_referenced_by_0_90054": "包含由“{0}”引用的类型的导入",
802
809
  "Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "包括 --watch,-w 将开始监视当前项目的文件更改。设置后,可以使用以下内容配置监视模式:",
803
810
  "Index_signature_for_type_0_is_missing_in_type_1_2329": "类型“{1}”中缺少类型“{0}”的索引签名。",
@@ -872,8 +879,8 @@
872
879
  "Library_referenced_via_0_from_file_1_1405": "通过 \"{0}\" 从文件 \"{1}\" 引用了库",
873
880
  "Line_break_not_permitted_here_1142": "不允许在此处换行。",
874
881
  "Line_terminator_not_permitted_before_arrow_1200": "箭头前不允许有行终止符。",
882
+ "List_of_file_name_suffixes_to_search_when_resolving_a_module_6931": "解析模块时要搜索的文件名后缀列表。",
875
883
  "List_of_folders_to_include_type_definitions_from_6161": "包含类型定义来源的文件夹列表。",
876
- "List_of_language_service_plugins_6181": "语言服务插件列表。",
877
884
  "List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168": "根文件夹列表,其组合内容表示在运行时的项目结构。",
878
885
  "Loading_0_from_the_root_dir_1_candidate_location_2_6109": "正在从根目录“{1}”加载“{0}”,候选位置“{2}”。",
879
886
  "Loading_module_0_from_node_modules_folder_target_file_type_1_6098": "正在从 \"node_modules\" 文件夹加载模块“{0}”,目标文件类型“{1}”。",
@@ -1143,7 +1150,7 @@
1143
1150
  "Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027": "导出类的公共静态属性“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”。",
1144
1151
  "Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028": "导出类的公共静态属性“{0}”具有或正在使用专用名称“{1}”。",
1145
1152
  "Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032": "不允许使用限定名 \"{0}\",因为没有前导 \"@param {object} {1}\"。",
1146
- "Raise_an_error_when_a_function_parameter_isn_t_read_6676": "在未读取函数参数时引发错误",
1153
+ "Raise_an_error_when_a_function_parameter_isn_t_read_6676": "在未读取函数参数时引发错误。",
1147
1154
  "Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052": "对具有隐式 \"any\" 类型的表达式和声明引发错误。",
1148
1155
  "Raise_error_on_this_expressions_with_an_implied_any_type_6115": "在带隐式“any\" 类型的 \"this\" 表达式上引发错误。",
1149
1156
  "Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205": "提供 \"--isolatedModules\" 标志时,需要使用 \"export type\" 才能重新导出类型。",
@@ -1178,6 +1185,7 @@
1178
1185
  "Remove_unused_destructuring_declaration_90039": "删除未使用的解构声明",
1179
1186
  "Remove_unused_label_95053": "删除未使用的标签",
1180
1187
  "Remove_variable_statement_90010": "删除变量语句",
1188
+ "Rename_param_tag_name_0_to_1_95173": "将 “@param” 标记名称“{0}”重命名为“{1}”",
1181
1189
  "Replace_0_with_Promise_1_90036": "将 \"{0}\" 替换为 \"Promise<{1}>\"",
1182
1190
  "Replace_all_unused_infer_with_unknown_90031": "将所有未使用的 \"infer\" 替换为 \"unknown\"",
1183
1191
  "Replace_import_with_0_95015": "用“{0}”替换导入。",
@@ -1191,6 +1199,7 @@
1191
1199
  "Required_type_parameters_may_not_follow_optional_type_parameters_2706": "所需的类型参数可能不遵循可选类型参数。",
1192
1200
  "Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "在位置“{1}”的缓存中找到模块“{0}”的解析。",
1193
1201
  "Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "在位置“{1}”的缓存中找到类型引用指令“{0}”的解析。",
1202
+ "Resolution_modes_are_only_supported_when_moduleResolution_is_node12_or_nodenext_1452": "仅当“moduleResolution”为“node12”或“nodenext”时才支持解析模式。",
1194
1203
  "Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只将 \"keyof\" 解析为字符串值的属性名称(不含数字或符号)。",
1195
1204
  "Resolving_module_0_from_1_6086": "======== 正在从“{1}”解析模块“{0}”。========",
1196
1205
  "Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在相对于基 URL“{1}”-“{2}”解析模块名“{0}”。",
@@ -1282,7 +1291,7 @@
1282
1291
  "Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680": "指定一组将导入重新映射到其他查找位置的条目。",
1283
1292
  "Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687": "指定为项目指定路径的对象数组。在项目引用中使用。",
1284
1293
  "Specify_an_output_folder_for_all_emitted_files_6678": "为所有已发出的文件指定输出文件夹。",
1285
- "Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718": "指定仅用于类型的导入的发出/检查行为",
1294
+ "Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718": "指定仅用于类型的导入的发出/检查行为。",
1286
1295
  "Specify_file_to_store_incremental_compilation_information_6380": "指定用于存储增量编译信息的文件",
1287
1296
  "Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658": "指定 TypeScript 如何从给定的模块说明符查找文件。",
1288
1297
  "Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714": "指定在缺少递归文件监视功能的系统上监视目录的方式。",
@@ -1291,7 +1300,7 @@
1291
1300
  "Specify_module_code_generation_6016": "指定模块代码生成。",
1292
1301
  "Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069": "指定模块解析策略: \"node\" (Node.js)或 \"classic\" (TypeScript pre-1.6)。",
1293
1302
  "Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649": "指定使用 “jsx: react-jsx*” 时用于导入 JSX 中心函数的模块说明符。",
1294
- "Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多个行为类似 “./node_modules/@types” 的文件夹。",
1303
+ "Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多个行为类似于 “./node_modules/@types” 的文件夹。",
1295
1304
  "Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633": "指定对从中继承设置的基本配置文件的一个或多个路径或节点模块引用。",
1296
1305
  "Specify_options_for_automatic_acquisition_of_declaration_files_6709": "指定用于自动获取声明文件的选项。",
1297
1306
  "Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227": "指定在使用文件系统事件创建轮询监视失败时创建轮询监视的策略: \"FixedInterval\" (默认)、\"PriorityInterval\"、\"DynamicPriority\"、\"FixedChunkSize\"。",
@@ -1299,17 +1308,17 @@
1299
1308
  "Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225": "指定监视文件的策略: \"FixedPollingInterval\" (默认)、\"PriorityPollingInterval\"、\"DynamicPriorityPolling\"、\"FixedChunkSizePolling\"、\"UseFsEvents\"、\"UseFsEventsOnParentDirectory\"。",
1300
1309
  "Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648": "指定在将 React JSX 发出设定为目标时用于片段的 JSX 片段引用,例如 “React.Fragment” 或 “Fragment”。",
1301
1310
  "Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146": "指定在设定 \"react\" JSX 发出目标时要使用的 JSX 工厂函数,例如 \"react.createElement\" 或 \"h\"。",
1302
- "Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647": "指定在将 React JSX 发出设定为目标时要使用的 JSX 中心函数,例如 “react.createElement” 或 “h”",
1311
+ "Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647": "指定在将 React JSX 发出设定为目标时要使用的 JSX 中心函数,例如 “react.createElement” 或 “h”。",
1303
1312
  "Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034": "当指定使用 \"jsxFactory\" 编译器选项面向 \"react\" JSX 发出时,指定要使用的 JSX 片段工厂函数,例如 \"Fragment\"。",
1304
1313
  "Specify_the_base_directory_to_resolve_non_relative_module_names_6607": "指定基目录以解析非相关模块名称。",
1305
1314
  "Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "指定发出文件时要使用的行序列结尾: \"CRLF\" (dos)或 \"LF\" (unix)。",
1306
- "Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707": "指定 .tsbuildinfo 增量编译文件的文件夹。",
1307
1315
  "Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "指定调试调试程序应将 TypeScript 文件放置到的位置而不是源位置。",
1308
1316
  "Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655": "指定调试程序应将映射文件放置到的位置而不是生成的位置。",
1309
1317
  "Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656": "指定用于从 “node_modules” 检查 JavaScript 文件的最大文件夹深度。仅适用于 “allowJs”。",
1310
1318
  "Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "指定要用于从 eg,react 中导入 “jsx” 和 “jsxs” 工厂函数的模块说明符",
1311
- "Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686": "指定为 “createElement” 调用的对象。这仅在将 “react” JSX 发出设定为目标时使用。",
1319
+ "Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686": "指定为 “createElement” 调用的对象。这仅适用于将 “react” JSX 发出设定为目标的情况。",
1312
1320
  "Specify_the_output_directory_for_generated_declaration_files_6613": "指定已生成声明文件的输出目录。",
1321
+ "Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707": "指定 .tsbuildinfo 增量编译文件的路径。",
1313
1322
  "Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "指定输入文件的根目录。与 --outDir 一起用于控制输出目录结构。",
1314
1323
  "Specify_the_root_folder_within_your_source_files_6690": "指定源文件中的根文件夹。",
1315
1324
  "Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695": "指定调试程序的根路径以查找引用源代码。",
@@ -1339,7 +1348,7 @@
1339
1348
  "Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337": "不允许在构造函数外部或在构造函数内的嵌套函数中进行 Super 调用。",
1340
1349
  "Suppress_excess_property_checks_for_object_literals_6072": "取消对象文字的多余属性检查。",
1341
1350
  "Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055": "抑制缺少索引签名的索引对象的 noImplicitAny 错误。",
1342
- "Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "在对缺少索引签名的对象编制索引时,禁止显示 “noImplicitAny” 错误。",
1351
+ "Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "在对缺少索引签名的对象编制索引时,抑制 “noImplicitAny” 错误。",
1343
1352
  "Switch_each_misused_0_to_1_95138": "将每个误用的“{0}”切换到“{1}”",
1344
1353
  "Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704": "在不支持本机递归监视的平台上同步调用回调并更新目录观察程序的状态。",
1345
1354
  "Syntax_Colon_0_6023": "语法: {0}",
@@ -1407,7 +1416,7 @@
1407
1416
  "The_operand_of_a_delete_operator_must_be_optional_2790": "\"delete\" 运算符的操作数必须是可选的。",
1408
1417
  "The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777": "增量或减量运算符的操作数不能是可选属性访问。",
1409
1418
  "The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357": "递增或递减运算符的操作数必须是变量或属性访问。",
1410
- "The_parser_expected_to_find_a_to_match_the_token_here_1007": "分析器预期在这里找到与 \"{\" 标记匹配的 \"}\"。",
1419
+ "The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007": "分析器预期在此处找到与“{0}”标记匹配的“{1}”。",
1411
1420
  "The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014": "无法在此类中的类型 \"{1}\" 上访问属性 \"{0}\",因为具有相同拼写的另一个专用标识符隐藏了它。",
1412
1421
  "The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380": "\"Get\" 访问器的返回类型必须可分配给其 \"Set\" 访问器类型",
1413
1422
  "The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237": "参数修饰器函数的返回类型必须为 \"void\" 或 \"any\"。",
@@ -1473,6 +1482,7 @@
1473
1482
  "This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354": "此语法需要一个导入的帮助程序,但找不到模块“{0}”。",
1474
1483
  "This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343": "此语法需要名为 \"{1}\" 的导入帮助器,\"{0}\" 中不存在该帮助器。请考虑升级 \"{0}\" 的版本。",
1475
1484
  "This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807": "此语法需要一个名为 \"{1}\" 且包含 {2} 参数的导入帮助程序,该帮助程序与 \"{0}\" 中的相应帮助程序不兼容。请考虑升级 \"{0}\" 的版本。",
1485
+ "This_type_parameter_probably_needs_an_extends_object_constraint_2208": "此类型参数可能需要 \"extends object\" 约束。",
1476
1486
  "Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_o_1378": "仅当 'module' 选项设置为 'es2022'、'esnext'、'system' 或 'nodenext',且 'target' 选项设置为 'es2017' 或更高版本时,才允许顶级 'await' 表达式。",
1477
1487
  "Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": ".d.ts 文件中的顶级声明必须以 \"declare\" 或 \"export\" 修饰符开头。",
1478
1488
  "Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_or__1432": "仅当 'module' 选项设置为 'es2022'、'esnext'、'system' 或 'nodenext',且 'target' 选项设置为 'es2017' 或更高版本时,才允许顶级 'for await' 循环。",
@@ -1492,6 +1502,7 @@
1492
1502
  "Type_0_has_no_construct_signatures_2761": "类型 \"{0}\" 没有构造签名。",
1493
1503
  "Type_0_has_no_matching_index_signature_for_type_1_2537": "类型“{0}”没有匹配的类型“{1}”的索引签名。",
1494
1504
  "Type_0_has_no_properties_in_common_with_type_1_2559": "类型“{0}”与类型“{1}”不具有相同的属性。",
1505
+ "Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635": "类型“{0}”没有类型参数列表适用的签名。",
1495
1506
  "Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739": "类型“{0}”缺少类型“{1}”中的以下属性: {2}",
1496
1507
  "Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740": "类型“{0}”缺少类型“{1}”的以下属性: {2} 及其他 {3} 项。",
1497
1508
  "Type_0_is_not_a_constructor_function_type_2507": "类型“{0}”不是构造函数类型。",
@@ -1504,6 +1515,7 @@
1504
1515
  "Type_0_is_not_assignable_to_type_1_2322": "不能将类型“{0}”分配给类型“{1}”。",
1505
1516
  "Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820": "类型“{0}”不可分配给类型“{1}”。你的意思是“{2}”?",
1506
1517
  "Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719": "类型“{0}”无法分配给类型“{1}”。存在具有此名称的两种不同类型,但它们是不相关的。",
1518
+ "Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636": "类型“{0}”不能分配给类型“{1}”,如方差批注所示。",
1507
1519
  "Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标属性的类型。",
1508
1520
  "Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "类型 “{0}” 不能分配给“exactOptionalPropertyTypes: true”的类型 “{1}”。请考虑将 “undefined” 添加到目标类型。。",
1509
1521
  "Type_0_is_not_comparable_to_type_1_2678": "类型“{0}”不可与类型“{1}”进行比较。",
@@ -1527,9 +1539,9 @@
1527
1539
  "Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016": "类型断言表达式只能在 TypeScript 文件中使用。",
1528
1540
  "Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626": "源中位置 {0} 的类型与目标中位置 {1} 的类型不兼容。",
1529
1541
  "Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627": "源中位置 {0} 到 {1} 的类型与目标中位置 {2} 的类型不兼容。",
1530
- "Type_catch_clause_variables_as_unknown_instead_of_any_6803": "将 catch 子句变量键入为 “unknown” 而不是 “any”。",
1531
1542
  "Type_declaration_files_to_be_included_in_compilation_6124": "要包含在编译中类型声明文件。",
1532
1543
  "Type_expected_1110": "应为类型。",
1544
+ "Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "类型导入断言应恰好有一个键 - \"resolution-mode\" - 值为 \"import\" 或 \"require\"。",
1533
1545
  "Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "类型实例化过深,且可能无限。",
1534
1546
  "Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "类型在其自身的 \"then\" 方法的 fulfillment 回调中被直接或间接引用。",
1535
1547
  "Type_library_referenced_via_0_from_file_1_1402": "通过 \"{0}\" 从文件 \"{1}\" 引用了库类型",
@@ -1622,7 +1634,7 @@
1622
1634
  "Variable_declaration_not_allowed_at_this_location_1440": "此位置不允许使用变量声明。",
1623
1635
  "Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "源中位置 {0} 的可变元素与目标中位置 {1} 的元素不匹配。",
1624
1636
  "Version_0_6029": "版本 {0}",
1625
- "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_json_to_read_more_about_this_file_95110": "请访问 https://aka.ms/tsconfig.json,了解有关此文件的详细信息",
1637
+ "Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110": "请访问 https://aka.ms/tsconfig,了解有关此文件的详细信息",
1626
1638
  "WATCH_OPTIONS_6918": "监视选项",
1627
1639
  "Watch_and_Build_Modes_6250": "观看和生成模式",
1628
1640
  "Watch_input_files_6005": "监视输入文件。",
@@ -1681,10 +1693,12 @@
1681
1693
  "_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783": "多次指定了 \"{0}\",因此将重写此用法。",
1682
1694
  "_0_list_cannot_be_empty_1097": "“{0}”列表不能为空。",
1683
1695
  "_0_modifier_already_seen_1030": "已看到“{0}”修饰符。",
1696
+ "_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274": "“{0}”修饰符只能出现在类、接口或类型别名的类型参数上",
1684
1697
  "_0_modifier_cannot_appear_on_a_constructor_declaration_1089": "“{0}”修饰符不能出现在构造函数声明中。",
1685
1698
  "_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044": "“{0}”修饰符不可出现在模块或命名空间元素上。",
1686
1699
  "_0_modifier_cannot_appear_on_a_parameter_1090": "“{0}”修饰符不能出现在参数中。",
1687
1700
  "_0_modifier_cannot_appear_on_a_type_member_1070": "“{0}”修饰符不可出现在类型成员上。",
1701
+ "_0_modifier_cannot_appear_on_a_type_parameter_1273": "“{0}”修饰符不能出现在类型参数上",
1688
1702
  "_0_modifier_cannot_appear_on_an_index_signature_1071": "“{0}”修饰符不可出现在索引签名上。",
1689
1703
  "_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031": "“{0}”修饰符不能出现在此类型的类元素上。",
1690
1704
  "_0_modifier_cannot_be_used_here_1042": "“{0}”修饰符不能在此处使用。",
@@ -1711,6 +1725,7 @@
1711
1725
  "abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "\"abstract\" 修饰符仅可出现在类、方法或属性声明中。",
1712
1726
  "and_here_6204": "并在这里。",
1713
1727
  "arguments_cannot_be_referenced_in_property_initializers_2815": "无法在属性初始化表达式中引用 \"arguments\"。",
1728
+ "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 格式(带模块: node12+)的文件视为模块。",
1714
1729
  "await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375": "仅当文件是模块时,才允许在该文件的顶层使用 \"await\" 表达式,但此文件没有导入或导出。请考虑添加空的 \"export {}\" 以将此文件变为模块。",
1715
1730
  "await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "仅允许在异步函数和模块顶级使用 \"await\" 表达式。",
1716
1731
  "await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "不能在参数初始化表达式中使用 \"await\" 表达式。",
@@ -1772,6 +1787,9 @@
1772
1787
  "readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "\"readonly\" 修饰符仅可出现在属性声明或索引签名中。",
1773
1788
  "readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "仅允许对数组和元组文本类型使用 \"readonly\" 类型修饰符。",
1774
1789
  "require_call_may_be_converted_to_an_import_80005": "可将“要求”调用转换为导入。",
1790
+ "resolution_mode_can_only_be_set_for_type_only_imports_1454": "只能为仅类型导入设置 \"resolution-mode\"。",
1791
+ "resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455": "\"resolution-mode\" 是类型导入断言的唯一有效密钥。",
1792
+ "resolution_mode_should_be_either_require_or_import_1453": "“resolution-mode”应为“require”或“import”。",
1775
1793
  "rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107": "设置了 \"rootDirs\" 选项,可将其用于解析相对模块名称“{0}”。",
1776
1794
  "super_can_only_be_referenced_in_a_derived_class_2335": "只能在派生类中引用 \"super\"。",
1777
1795
  "super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660": "仅可在派生类或对象文字表达式的成员中引用 \"super\"。",