typescript 4.7.0-dev.20220320 → 4.7.0-dev.20220323
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cs/diagnosticMessages.generated.json +35 -35
- package/lib/de/diagnosticMessages.generated.json +35 -35
- package/lib/es/diagnosticMessages.generated.json +28 -28
- package/lib/fr/diagnosticMessages.generated.json +17 -17
- package/lib/it/diagnosticMessages.generated.json +37 -37
- package/lib/ja/diagnosticMessages.generated.json +16 -16
- package/lib/ko/diagnosticMessages.generated.json +36 -36
- package/lib/lib.es2020.intl.d.ts +27 -5
- package/lib/pl/diagnosticMessages.generated.json +20 -20
- package/lib/pt-br/diagnosticMessages.generated.json +26 -26
- package/lib/ru/diagnosticMessages.generated.json +24 -24
- package/lib/tr/diagnosticMessages.generated.json +37 -37
- package/lib/tsc.js +4531 -4420
- package/lib/tsserver.js +7265 -7139
- package/lib/tsserverlibrary.d.ts +251 -237
- package/lib/tsserverlibrary.js +7265 -7139
- package/lib/typescript.d.ts +251 -237
- package/lib/typescript.js +7215 -7102
- package/lib/typescriptServices.d.ts +251 -237
- package/lib/typescriptServices.js +7215 -7102
- package/lib/typingsInstaller.js +5357 -5252
- package/lib/zh-cn/diagnosticMessages.generated.json +25 -25
- package/lib/zh-tw/diagnosticMessages.generated.json +37 -37
- package/package.json +1 -1
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230": "类型谓词无法在绑定模式中引用元素“{0}”。",
|
|
102
102
|
"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228": "只允许在函数和方法的返回类型位置使用类型谓词。",
|
|
103
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” 或命名空间导入来导入修饰签名中引用的类型。",
|
|
104
105
|
"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332": "类型为 \"unique symbol\" 的变量必须为 \"const\"。",
|
|
105
106
|
"A_yield_expression_is_only_allowed_in_a_generator_body_1163": "只允许在生成器正文中使用 \"yield\" 表达式。",
|
|
106
107
|
"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513": "无法通过 super 表达式访问“{1}”类中的“{0}”抽象方法。",
|
|
@@ -265,7 +266,7 @@
|
|
|
265
266
|
"Binding_element_0_implicitly_has_an_1_type_7031": "绑定元素“{0}”隐式具有“{1}”类型。",
|
|
266
267
|
"Block_scoped_variable_0_used_before_its_declaration_2448": "声明之前已使用的块范围变量“{0}”。",
|
|
267
268
|
"Build_a_composite_project_in_the_working_directory_6925": "在工作目录中生成复合项目。",
|
|
268
|
-
"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": "生成所有项目,包括那些似乎是最新的项目。",
|
|
269
270
|
"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364": "生成一个或多个项目及其依赖项(如果已过期)",
|
|
270
271
|
"Build_option_0_requires_a_value_of_type_1_5073": "生成选项 \"{0}\" 需要类型 {1} 的值。",
|
|
271
272
|
"Building_project_0_6358": "正在生成项目“{0}”...",
|
|
@@ -417,6 +418,7 @@
|
|
|
417
418
|
"Constructors_for_derived_classes_must_contain_a_super_call_2377": "派生类的构造函数必须包含 \"super\" 调用。",
|
|
418
419
|
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "未指定包含文件,并且无法确定根目录,正在跳过在 \"node_modules\" 文件夹中查找。",
|
|
419
420
|
"Containing_function_is_not_an_arrow_function_95128": "包含函数不是箭头函数",
|
|
421
|
+
"Control_what_method_is_used_to_detect_module_format_JS_files_1475": "控制用于检测模块格式 JS 文件的方法。",
|
|
420
422
|
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "类型 \"{0}\" 到类型 \"{1}\" 的转换可能是错误的,因为两种类型不能充分重叠。如果这是有意的,请先将表达式转换为 \"unknown\"。",
|
|
421
423
|
"Convert_0_to_1_in_0_95003": "将“{0}”转换为 {0} 中的 {1}",
|
|
422
424
|
"Convert_0_to_mapped_object_type_95055": "将“{0}”转换为映射对象类型",
|
|
@@ -496,6 +498,7 @@
|
|
|
496
498
|
"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207": "不能向多个同名的 get/set 访问器应用修饰器。",
|
|
497
499
|
"Decorators_may_not_be_applied_to_this_parameters_1433": "修饰器不能应用于 “this” 参数。",
|
|
498
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”。",
|
|
499
502
|
"Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模块的默认导出具有或正在使用专用名称“{0}”。",
|
|
500
503
|
"Default_library_1424": "默认库",
|
|
501
504
|
"Default_library_for_target_0_1425": "目标 \"{0}\" 的默认库",
|
|
@@ -503,7 +506,7 @@
|
|
|
503
506
|
"Delete_all_unused_declarations_95024": "删除未使用的所有声明",
|
|
504
507
|
"Delete_all_unused_imports_95147": "删除所有未使用的导入",
|
|
505
508
|
"Delete_all_unused_param_tags_95172": "删除所有未使用的 “@param” 标记",
|
|
506
|
-
"Delete_the_outputs_of_all_projects_6365": "
|
|
509
|
+
"Delete_the_outputs_of_all_projects_6365": "删除所有项目的输出。",
|
|
507
510
|
"Delete_unused_param_tag_0_95171": "删除未使用的 “@param” 标记“{0}”",
|
|
508
511
|
"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084": "[已弃用] 请改用 \"--jsxFactory\"。已 \"react\" JSX 发出设为目标时,请指定要为 createElement 调用的对象",
|
|
509
512
|
"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170": "[已弃用] 请改用 \"--outFile\"。连接并发出到单个文件的输出",
|
|
@@ -522,7 +525,7 @@
|
|
|
522
525
|
"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669": "禁止在发出的 JavaScript 文件中添加 “use strict” 指令。",
|
|
523
526
|
"Disable_checking_for_this_file_90018": "禁用检查此文件",
|
|
524
527
|
"Disable_emitting_comments_6688": "禁用发出注释。",
|
|
525
|
-
"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” 的发出声明。",
|
|
526
529
|
"Disable_emitting_files_from_a_compilation_6660": "禁用从编译发出文件。",
|
|
527
530
|
"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662": "禁用在报告了任何类型检查错误时发出文件。",
|
|
528
531
|
"Disable_erasing_const_enum_declarations_in_generated_code_6682": "在生成的代码中禁用擦除 “const enum” 声明。",
|
|
@@ -531,7 +534,7 @@
|
|
|
531
534
|
"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661": "在已编译输出中禁用生成自定义帮助程序函数(如 “__extends”)。",
|
|
532
535
|
"Disable_including_any_library_files_including_the_default_lib_d_ts_6670": "禁用包括任何库文件(包括默认的 lib.d.ts)。",
|
|
533
536
|
"Disable_loading_referenced_projects_6235": "禁止加载引用的项目。",
|
|
534
|
-
"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": "在引用复合项目时禁用首选源文件而不是声明文件。",
|
|
535
538
|
"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702": "禁用在创建对象文字期间报告多余属性错误。",
|
|
536
539
|
"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683": "禁用将符号链接解析为其实际路径。这会关联到节点中的同一标志。",
|
|
537
540
|
"Disable_size_limitations_on_JavaScript_projects_6162": "禁用对 JavaScript 项目的大小限制。",
|
|
@@ -540,9 +543,9 @@
|
|
|
540
543
|
"Disable_the_type_acquisition_for_JavaScript_projects_6625": "禁用针对 JavaScript 项目的类型获取",
|
|
541
544
|
"Disable_truncating_types_in_error_messages_6663": "在错误消息中禁用截断类型。",
|
|
542
545
|
"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221": "禁止使用源文件而不是引用项目中的声明文件。",
|
|
543
|
-
"Disable_wiping_the_console_in_watch_mode_6684": "
|
|
546
|
+
"Disable_wiping_the_console_in_watch_mode_6684": "禁用在监视模式下擦除控制台。",
|
|
544
547
|
"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616": "禁用通过查看项目中的文件名进行类型获取推理。",
|
|
545
|
-
"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672": "禁止 “import”、“require” 或
|
|
548
|
+
"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672": "禁止 “import”、“require” 或 “<reference>” 扩展 TypeScript 应添加到项目的文件数。",
|
|
546
549
|
"Disallow_inconsistently_cased_references_to_the_same_file_6078": "不允许对同一文件采用大小不一致的引用。",
|
|
547
550
|
"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159": "请勿将三斜杠引用或导入的模块添加到已编译文件列表中。",
|
|
548
551
|
"Do_not_emit_comments_to_output_6009": "请勿将注释发出到输出。",
|
|
@@ -587,23 +590,22 @@
|
|
|
587
590
|
"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622": "在输出文件的开头发出一个 UTF-8 字节顺序标记(BOM)。",
|
|
588
591
|
"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151": "发出包含源映射而非包含单独文件的单个文件。",
|
|
589
592
|
"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638": "发出用于调试的编译器运行的 v8 CPU 配置文件。",
|
|
590
|
-
"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626": "发出其他 JavaScript
|
|
593
|
+
"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626": "发出其他 JavaScript 以轻松支持导入 CommonJS 模块。这将启用 “allowSyntheticDefaultImports” 以实现类型兼容性。",
|
|
591
594
|
"Emit_class_fields_with_Define_instead_of_Set_6222": "使用 Define 而不是 Set 发出类字段。",
|
|
592
595
|
"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624": "为源文件中的修饰声明发出设计类型元数据。",
|
|
593
596
|
"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621": "发出更合规但更详细且性能较低的 JavaScript 进行迭代。",
|
|
594
597
|
"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152": "在单个文件内发出源以及源映射;需要设置 \"--inlineSourceMap\" 或 \"--sourceMap\"。",
|
|
595
598
|
"Enable_all_strict_type_checking_options_6180": "启用所有严格类型检查选项。",
|
|
596
|
-
"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 输出中启用颜色和格式设置,以使编译器错误更易于阅读。",
|
|
597
600
|
"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611": "启用允许将 TypeScript 项目与项目引用一起使用的约束。",
|
|
598
601
|
"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667": "为未在函数中显式返回的代码路径启用错误报告。",
|
|
599
602
|
"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665": "对具有隐式 “any” 类型的表达式和声明启用错误报告。",
|
|
600
603
|
"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664": "为 switch 语句中的故障案例启用错误报告。",
|
|
601
604
|
"Enable_error_reporting_in_type_checked_JavaScript_files_6609": "在已检查类型的 JavaScript 文件中启用错误报告。",
|
|
602
|
-
"
|
|
603
|
-
"Enable_error_reporting_when_this_is_given_the_type_any_6668": "
|
|
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” 时启用错误报告。",
|
|
604
607
|
"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630": "为 TC39 暂存 2 草稿修饰器启用实验性支持。",
|
|
605
|
-
"Enable_importing_json_files_6689": "启用导入 .json
|
|
606
|
-
"Enable_incremental_compilation_6378": "启用增量编译",
|
|
608
|
+
"Enable_importing_json_files_6689": "启用导入 .json 文件。",
|
|
607
609
|
"Enable_project_compilation_6302": "启用项目编译",
|
|
608
610
|
"Enable_strict_bind_call_and_apply_methods_on_functions_6214": "对函数启用严格的 \"bind\"、\"call\" 和 \"apply\" 方法。",
|
|
609
611
|
"Enable_strict_checking_of_function_types_6186": "对函数类型启用严格检查。",
|
|
@@ -612,11 +614,11 @@
|
|
|
612
614
|
"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074": "在配置文件中启用 \"experimentalDecorators\" 选项",
|
|
613
615
|
"Enable_the_jsx_flag_in_your_configuration_file_95088": "在配置文件中启用 \"--jsx\" 标志",
|
|
614
616
|
"Enable_tracing_of_the_name_resolution_process_6085": "启用名称解析过程的跟踪。",
|
|
615
|
-
"Enable_verbose_logging_6713": "
|
|
617
|
+
"Enable_verbose_logging_6713": "启用详细日志记录。",
|
|
616
618
|
"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037": "通过为所有导入创建命名空间对象来启用 CommonJS 和 ES 模块之间的发出互操作性。表示 \"allowSyntheticDefaultImports\"。",
|
|
617
619
|
"Enables_experimental_support_for_ES7_decorators_6065": "对 ES7 修饰器启用实验支持。",
|
|
618
620
|
"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066": "对发出修饰器的类型元数据启用实验支持。",
|
|
619
|
-
"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": "对使用索引类型声明的键强制使用索引访问器。",
|
|
620
622
|
"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666": "确保使用替代修饰符标记派生类中的替代成员。",
|
|
621
623
|
"Ensure_that_casing_is_correct_in_imports_6637": "确保导入中的大小写正确。",
|
|
622
624
|
"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645": "确保可以安全地转译每个文件,而无需依赖其他导入。",
|
|
@@ -757,7 +759,7 @@
|
|
|
757
759
|
"Global_type_0_must_be_a_class_or_interface_type_2316": "全局类型“{0}”必须为类或接口类型。",
|
|
758
760
|
"Global_type_0_must_have_1_type_parameter_s_2317": "全局类型“{0}”必须具有 {1} 个类型参数。",
|
|
759
761
|
"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384": "在 \"--incremental\" 和 \"--watch\" 中有重新编译,假定文件中的更改只会影响直接依赖它的文件。",
|
|
760
|
-
"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” 模式的项目中具有重新编译会假定文件中的更改将仅直接影响依赖于它的文件。",
|
|
761
763
|
"Hexadecimal_digit_expected_1125": "应为十六进制数字。",
|
|
762
764
|
"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262": "应为标识符。“{0}”是模块顶层的预留字。",
|
|
763
765
|
"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212": "应为标识符。“{0}”在严格模式下是保留字。",
|
|
@@ -803,7 +805,6 @@
|
|
|
803
805
|
"Include_modules_imported_with_json_extension_6197": "包括通过 \".json\" 扩展导入的模块",
|
|
804
806
|
"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "在发出的 JavaScript 内的源映射中包含源代码。",
|
|
805
807
|
"Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "在发出的 JavaScript 中包括源映射文件。",
|
|
806
|
-
"Include_undefined_in_index_signature_results_6716": "在索引签名结果中包含“未定义”",
|
|
807
808
|
"Includes_imports_of_types_referenced_by_0_90054": "包含由“{0}”引用的类型的导入",
|
|
808
809
|
"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "包括 --watch,-w 将开始监视当前项目的文件更改。设置后,可以使用以下内容配置监视模式:",
|
|
809
810
|
"Index_signature_for_type_0_is_missing_in_type_1_2329": "类型“{1}”中缺少类型“{0}”的索引签名。",
|
|
@@ -879,7 +880,6 @@
|
|
|
879
880
|
"Line_break_not_permitted_here_1142": "不允许在此处换行。",
|
|
880
881
|
"Line_terminator_not_permitted_before_arrow_1200": "箭头前不允许有行终止符。",
|
|
881
882
|
"List_of_folders_to_include_type_definitions_from_6161": "包含类型定义来源的文件夹列表。",
|
|
882
|
-
"List_of_language_service_plugins_6181": "语言服务插件列表。",
|
|
883
883
|
"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168": "根文件夹列表,其组合内容表示在运行时的项目结构。",
|
|
884
884
|
"Loading_0_from_the_root_dir_1_candidate_location_2_6109": "正在从根目录“{1}”加载“{0}”,候选位置“{2}”。",
|
|
885
885
|
"Loading_module_0_from_node_modules_folder_target_file_type_1_6098": "正在从 \"node_modules\" 文件夹加载模块“{0}”,目标文件类型“{1}”。",
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027": "导出类的公共静态属性“{0}”具有或正在使用外部模块“{2}”中的名称“{1}”。",
|
|
1150
1150
|
"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028": "导出类的公共静态属性“{0}”具有或正在使用专用名称“{1}”。",
|
|
1151
1151
|
"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032": "不允许使用限定名 \"{0}\",因为没有前导 \"@param {object} {1}\"。",
|
|
1152
|
-
"Raise_an_error_when_a_function_parameter_isn_t_read_6676": "
|
|
1152
|
+
"Raise_an_error_when_a_function_parameter_isn_t_read_6676": "在未读取函数参数时引发错误。",
|
|
1153
1153
|
"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052": "对具有隐式 \"any\" 类型的表达式和声明引发错误。",
|
|
1154
1154
|
"Raise_error_on_this_expressions_with_an_implied_any_type_6115": "在带隐式“any\" 类型的 \"this\" 表达式上引发错误。",
|
|
1155
1155
|
"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205": "提供 \"--isolatedModules\" 标志时,需要使用 \"export type\" 才能重新导出类型。",
|
|
@@ -1290,7 +1290,7 @@
|
|
|
1290
1290
|
"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680": "指定一组将导入重新映射到其他查找位置的条目。",
|
|
1291
1291
|
"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687": "指定为项目指定路径的对象数组。在项目引用中使用。",
|
|
1292
1292
|
"Specify_an_output_folder_for_all_emitted_files_6678": "为所有已发出的文件指定输出文件夹。",
|
|
1293
|
-
"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718": "
|
|
1293
|
+
"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718": "指定仅用于类型的导入的发出/检查行为。",
|
|
1294
1294
|
"Specify_file_to_store_incremental_compilation_information_6380": "指定用于存储增量编译信息的文件",
|
|
1295
1295
|
"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658": "指定 TypeScript 如何从给定的模块说明符查找文件。",
|
|
1296
1296
|
"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714": "指定在缺少递归文件监视功能的系统上监视目录的方式。",
|
|
@@ -1299,7 +1299,7 @@
|
|
|
1299
1299
|
"Specify_module_code_generation_6016": "指定模块代码生成。",
|
|
1300
1300
|
"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069": "指定模块解析策略: \"node\" (Node.js)或 \"classic\" (TypeScript pre-1.6)。",
|
|
1301
1301
|
"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649": "指定使用 “jsx: react-jsx*” 时用于导入 JSX 中心函数的模块说明符。",
|
|
1302
|
-
"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "
|
|
1302
|
+
"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多个行为类似于 “./node_modules/@types” 的文件夹。",
|
|
1303
1303
|
"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633": "指定对从中继承设置的基本配置文件的一个或多个路径或节点模块引用。",
|
|
1304
1304
|
"Specify_options_for_automatic_acquisition_of_declaration_files_6709": "指定用于自动获取声明文件的选项。",
|
|
1305
1305
|
"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227": "指定在使用文件系统事件创建轮询监视失败时创建轮询监视的策略: \"FixedInterval\" (默认)、\"PriorityInterval\"、\"DynamicPriority\"、\"FixedChunkSize\"。",
|
|
@@ -1307,7 +1307,7 @@
|
|
|
1307
1307
|
"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225": "指定监视文件的策略: \"FixedPollingInterval\" (默认)、\"PriorityPollingInterval\"、\"DynamicPriorityPolling\"、\"FixedChunkSizePolling\"、\"UseFsEvents\"、\"UseFsEventsOnParentDirectory\"。",
|
|
1308
1308
|
"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648": "指定在将 React JSX 发出设定为目标时用于片段的 JSX 片段引用,例如 “React.Fragment” 或 “Fragment”。",
|
|
1309
1309
|
"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\"。",
|
|
1310
|
-
"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647": "指定在将 React JSX 发出设定为目标时要使用的 JSX 中心函数,例如 “react.createElement” 或 “h
|
|
1310
|
+
"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
1311
|
"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034": "当指定使用 \"jsxFactory\" 编译器选项面向 \"react\" JSX 发出时,指定要使用的 JSX 片段工厂函数,例如 \"Fragment\"。",
|
|
1312
1312
|
"Specify_the_base_directory_to_resolve_non_relative_module_names_6607": "指定基目录以解析非相关模块名称。",
|
|
1313
1313
|
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "指定发出文件时要使用的行序列结尾: \"CRLF\" (dos)或 \"LF\" (unix)。",
|
|
@@ -1316,7 +1316,7 @@
|
|
|
1316
1316
|
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655": "指定调试程序应将映射文件放置到的位置而不是生成的位置。",
|
|
1317
1317
|
"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656": "指定用于从 “node_modules” 检查 JavaScript 文件的最大文件夹深度。仅适用于 “allowJs”。",
|
|
1318
1318
|
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "指定要用于从 eg,react 中导入 “jsx” 和 “jsxs” 工厂函数的模块说明符",
|
|
1319
|
-
"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686": "指定为 “createElement”
|
|
1319
|
+
"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686": "指定为 “createElement” 调用的对象。这仅适用于将 “react” JSX 发出设定为目标的情况。",
|
|
1320
1320
|
"Specify_the_output_directory_for_generated_declaration_files_6613": "指定已生成声明文件的输出目录。",
|
|
1321
1321
|
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "指定输入文件的根目录。与 --outDir 一起用于控制输出目录结构。",
|
|
1322
1322
|
"Specify_the_root_folder_within_your_source_files_6690": "指定源文件中的根文件夹。",
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337": "不允许在构造函数外部或在构造函数内的嵌套函数中进行 Super 调用。",
|
|
1348
1348
|
"Suppress_excess_property_checks_for_object_literals_6072": "取消对象文字的多余属性检查。",
|
|
1349
1349
|
"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055": "抑制缺少索引签名的索引对象的 noImplicitAny 错误。",
|
|
1350
|
-
"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "
|
|
1350
|
+
"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "在对缺少索引签名的对象编制索引时,抑制 “noImplicitAny” 错误。",
|
|
1351
1351
|
"Switch_each_misused_0_to_1_95138": "将每个误用的“{0}”切换到“{1}”",
|
|
1352
1352
|
"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704": "在不支持本机递归监视的平台上同步调用回调并更新目录观察程序的状态。",
|
|
1353
1353
|
"Syntax_Colon_0_6023": "语法: {0}",
|
|
@@ -1415,7 +1415,7 @@
|
|
|
1415
1415
|
"The_operand_of_a_delete_operator_must_be_optional_2790": "\"delete\" 运算符的操作数必须是可选的。",
|
|
1416
1416
|
"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777": "增量或减量运算符的操作数不能是可选属性访问。",
|
|
1417
1417
|
"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357": "递增或递减运算符的操作数必须是变量或属性访问。",
|
|
1418
|
-
"
|
|
1418
|
+
"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007": "分析器预期在此处找到与“{0}”标记匹配的“{1}”。",
|
|
1419
1419
|
"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014": "无法在此类中的类型 \"{1}\" 上访问属性 \"{0}\",因为具有相同拼写的另一个专用标识符隐藏了它。",
|
|
1420
1420
|
"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380": "\"Get\" 访问器的返回类型必须可分配给其 \"Set\" 访问器类型",
|
|
1421
1421
|
"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237": "参数修饰器函数的返回类型必须为 \"void\" 或 \"any\"。",
|
|
@@ -1536,7 +1536,6 @@
|
|
|
1536
1536
|
"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016": "类型断言表达式只能在 TypeScript 文件中使用。",
|
|
1537
1537
|
"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626": "源中位置 {0} 的类型与目标中位置 {1} 的类型不兼容。",
|
|
1538
1538
|
"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627": "源中位置 {0} 到 {1} 的类型与目标中位置 {2} 的类型不兼容。",
|
|
1539
|
-
"Type_catch_clause_variables_as_unknown_instead_of_any_6803": "将 catch 子句变量键入为 “unknown” 而不是 “any”。",
|
|
1540
1539
|
"Type_declaration_files_to_be_included_in_compilation_6124": "要包含在编译中类型声明文件。",
|
|
1541
1540
|
"Type_expected_1110": "应为类型。",
|
|
1542
1541
|
"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "类型导入断言应恰好有一个键 - \"resolution-mode\" - 值为 \"import\" 或 \"require\"。",
|
|
@@ -1721,6 +1720,7 @@
|
|
|
1721
1720
|
"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "\"abstract\" 修饰符仅可出现在类、方法或属性声明中。",
|
|
1722
1721
|
"and_here_6204": "并在这里。",
|
|
1723
1722
|
"arguments_cannot_be_referenced_in_property_initializers_2815": "无法在属性初始化表达式中引用 \"arguments\"。",
|
|
1723
|
+
"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+)的文件视为模块。",
|
|
1724
1724
|
"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375": "仅当文件是模块时,才允许在该文件的顶层使用 \"await\" 表达式,但此文件没有导入或导出。请考虑添加空的 \"export {}\" 以将此文件变为模块。",
|
|
1725
1725
|
"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "仅允许在异步函数和模块顶级使用 \"await\" 表达式。",
|
|
1726
1726
|
"await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "不能在参数初始化表达式中使用 \"await\" 表达式。",
|
|
@@ -101,6 +101,7 @@
|
|
|
101
101
|
"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230": "型別述詞不得參考繫結模式的項目 '{0}'。",
|
|
102
102
|
"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228": "只有函式及方法的傳回型別位置才允許型別述詞。",
|
|
103
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' 或命名空間匯入來匯入。",
|
|
104
105
|
"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332": "型別為 'unique symbol' 型別的變數必須是 'const'。",
|
|
105
106
|
"A_yield_expression_is_only_allowed_in_a_generator_body_1163": "只有產生器主體才允許 'yield' 運算式。",
|
|
106
107
|
"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513": "無法透過 super 運算式存取類別 '{1}' 中的抽象方法 '{0}'。",
|
|
@@ -151,7 +152,7 @@
|
|
|
151
152
|
"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "對所有比對成員名稱的未解析變數新增限定詞",
|
|
152
153
|
"Add_to_all_uncalled_decorators_95044": "為所有未呼叫的裝飾項目新增 '()'",
|
|
153
154
|
"Add_ts_ignore_to_all_error_messages_95042": "為所有錯誤訊息新增 '@ts-ignore'",
|
|
154
|
-
"Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引進行存取時,將
|
|
155
|
+
"Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引進行存取時,將 'undefined' 新增至類型。",
|
|
155
156
|
"Add_undefined_to_optional_property_type_95169": "將 'undefined' 新增至選擇性屬性類型",
|
|
156
157
|
"Add_undefined_type_to_all_uninitialized_properties_95029": "為所有未初始化的屬性新增未定義的類型",
|
|
157
158
|
"Add_undefined_type_to_property_0_95018": "將 'undefined' 類型新增至屬性 '{0}'",
|
|
@@ -167,7 +168,7 @@
|
|
|
167
168
|
"All_imports_in_import_declaration_are_unused_6192": "匯入宣告中的所有匯入皆未使用。",
|
|
168
169
|
"All_type_parameters_are_unused_6205": "未使用任何型別參數。",
|
|
169
170
|
"All_variables_are_unused_6199": "所有變數都未使用。",
|
|
170
|
-
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600": "允許 JavaScript 檔案成為您程式的一部分。使用
|
|
171
|
+
"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600": "允許 JavaScript 檔案成為您程式的一部分。使用 'checkJS' 選項可從這些檔案取得錯誤。",
|
|
171
172
|
"Allow_accessing_UMD_globals_from_modules_6602": "允許從模組存取 UMD 全域。",
|
|
172
173
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允許從沒有預設匯出的模組進行預設匯入。這不會影響程式碼發出,僅為類型檢查。",
|
|
173
174
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "當模組沒有預設匯出時,允許 'import x from y'。",
|
|
@@ -265,7 +266,7 @@
|
|
|
265
266
|
"Binding_element_0_implicitly_has_an_1_type_7031": "繫結元素 '{0}' 隱含擁有 '{1}' 類型。",
|
|
266
267
|
"Block_scoped_variable_0_used_before_its_declaration_2448": "已在其宣告之前使用區塊範圍變數 '{0}'。",
|
|
267
268
|
"Build_a_composite_project_in_the_working_directory_6925": "在工作目錄中建置複合專案。",
|
|
268
|
-
"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": "建置包括似乎已是最新狀態的所有專案。",
|
|
269
270
|
"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364": "若已過期,則建置一或多個專案及其相依性",
|
|
270
271
|
"Build_option_0_requires_a_value_of_type_1_5073": "組建選項 '{0}' 需要 {1} 類型的值。",
|
|
271
272
|
"Building_project_0_6358": "正在建置專案 '{0}'...",
|
|
@@ -363,7 +364,7 @@
|
|
|
363
364
|
"Change_extends_to_implements_90003": "將 [延伸] 變更至 [實作]5D;",
|
|
364
365
|
"Change_spelling_to_0_90022": "將拼字變更為 '{0}'",
|
|
365
366
|
"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700": "檢查是否已宣告但未在建構函式中設定的類別屬性。",
|
|
366
|
-
"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697": "檢查
|
|
367
|
+
"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697": "檢查 'bind'、'call' 和 'apply' 方法的引數是否與原始函式相符。",
|
|
367
368
|
"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104": "檢查 '{0}' 是否為 '{1}' - '{2}' 的最長相符前置詞。",
|
|
368
369
|
"Circular_definition_of_import_alias_0_2303": "匯入別名 '{0}' 的循環定義。",
|
|
369
370
|
"Circularity_detected_while_resolving_configuration_Colon_0_18000": "解析組態時偵測到循環性: {0}",
|
|
@@ -417,6 +418,7 @@
|
|
|
417
418
|
"Constructors_for_derived_classes_must_contain_a_super_call_2377": "衍生類別的建構函式必須包含 'super' 呼叫。",
|
|
418
419
|
"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126": "未指定包含檔案,因此無法決定根目錄,而將略過 'node_modules' 中的查閱。",
|
|
419
420
|
"Containing_function_is_not_an_arrow_function_95128": "內含函式不是箭頭函式",
|
|
421
|
+
"Control_what_method_is_used_to_detect_module_format_JS_files_1475": "控制用來偵測模組格式 JS 檔案的方法。",
|
|
420
422
|
"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352": "將類型 '{0}' 轉換為類型 '{1}' 可能會發生錯誤,原因是這兩個類型彼此並未充分重疊。如果是故意轉換的,請先將運算式轉換為 'unknown'。",
|
|
421
423
|
"Convert_0_to_1_in_0_95003": "將 '{0}' 轉換成 '{1} in {0}'",
|
|
422
424
|
"Convert_0_to_mapped_object_type_95055": "將 '{0}' 轉換為對應的物件類型",
|
|
@@ -496,6 +498,7 @@
|
|
|
496
498
|
"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207": "無法將裝飾項目套用至多個同名的 get/set 存取子。",
|
|
497
499
|
"Decorators_may_not_be_applied_to_this_parameters_1433": "裝飾項目無法套用至 'this' 參數。",
|
|
498
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'。",
|
|
499
502
|
"Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模組的預設匯出具有或正在使用私用名稱 '{0}'。",
|
|
500
503
|
"Default_library_1424": "預設程式庫",
|
|
501
504
|
"Default_library_for_target_0_1425": "目標 '{0}' 的預設程式庫",
|
|
@@ -503,12 +506,12 @@
|
|
|
503
506
|
"Delete_all_unused_declarations_95024": "刪除所有未使用的宣告",
|
|
504
507
|
"Delete_all_unused_imports_95147": "刪除所有未使用的匯入",
|
|
505
508
|
"Delete_all_unused_param_tags_95172": "刪除所有未使用的 '@param' 標籤",
|
|
506
|
-
"Delete_the_outputs_of_all_projects_6365": "
|
|
509
|
+
"Delete_the_outputs_of_all_projects_6365": "刪除所有專案的輸出。",
|
|
507
510
|
"Delete_unused_param_tag_0_95171": "刪除未使用的 '@param' 標記 '{0}'",
|
|
508
511
|
"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084": "[即將淘汰] 請改用 '--jsxFactory'。當目標為 'react' JSX 發出時,為 createElement 指定所叫用的物件",
|
|
509
512
|
"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170": "[即將淘汰] 請改用 '--outFile'。 串連輸出並將其發出到單一檔案",
|
|
510
513
|
"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160": "[即將淘汰] 請改用 '--skipLibCheck'。跳過預設程式庫宣告檔案的類型檢查。",
|
|
511
|
-
"Deprecated_setting_Use_outFile_instead_6677": "已淘汰的設定值。請改用
|
|
514
|
+
"Deprecated_setting_Use_outFile_instead_6677": "已淘汰的設定值。請改用 'outFile'。",
|
|
512
515
|
"Did_you_forget_to_use_await_2773": "忘了要使用 'await' 嗎?",
|
|
513
516
|
"Did_you_mean_0_1369": "您指 '{0}' 嗎?",
|
|
514
517
|
"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735": "您是要將 '{0}' 限制為類型 'new (...args: any[]) => {1}' 嗎?",
|
|
@@ -522,16 +525,16 @@
|
|
|
522
525
|
"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669": "停用在發出的 JavaScript 檔案中新增 'use strict' 指示詞。",
|
|
523
526
|
"Disable_checking_for_this_file_90018": "停用此檔案的檢查",
|
|
524
527
|
"Disable_emitting_comments_6688": "停用發出註解。",
|
|
525
|
-
"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701": "停用其 JSDoc 註解中具有
|
|
528
|
+
"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701": "停用其 JSDoc 註解中具有 '@internal' 的發出宣告。",
|
|
526
529
|
"Disable_emitting_files_from_a_compilation_6660": "停用從編譯發出檔案。",
|
|
527
530
|
"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662": "如果報告任何型別檢查錯誤,則停用發出的檔案。",
|
|
528
|
-
"Disable_erasing_const_enum_declarations_in_generated_code_6682": "停用在產生的程式碼中抹除
|
|
531
|
+
"Disable_erasing_const_enum_declarations_in_generated_code_6682": "停用在產生的程式碼中抹除 'const enum' 宣告。",
|
|
529
532
|
"Disable_error_reporting_for_unreachable_code_6603": "停用無法執行到的程式碼錯誤報告。",
|
|
530
533
|
"Disable_error_reporting_for_unused_labels_6604": "停用未使用標籤的錯誤報表。",
|
|
531
|
-
"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661": "停用在編譯輸出中產生自訂的協助程式函式,例如
|
|
534
|
+
"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661": "停用在編譯輸出中產生自訂的協助程式函式,例如 '__extends'。",
|
|
532
535
|
"Disable_including_any_library_files_including_the_default_lib_d_ts_6670": "停用包括任何程式庫檔案,包括預設的 lib.d.ts。",
|
|
533
536
|
"Disable_loading_referenced_projects_6235": "停用載入參考的專案。",
|
|
534
|
-
"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": "參考複合專案時,停用偏好的來源檔案而不是宣告檔案。",
|
|
535
538
|
"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702": "在建立物件常值期間停用多餘屬性錯誤報告。",
|
|
536
539
|
"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683": "停用將 symlinks 解析為其 realpath。這與節點中的相同旗標有關。",
|
|
537
540
|
"Disable_size_limitations_on_JavaScript_projects_6162": "停用 JavaScript 專案的大小限制。",
|
|
@@ -540,9 +543,9 @@
|
|
|
540
543
|
"Disable_the_type_acquisition_for_JavaScript_projects_6625": "停用 JavaScript 專案的類型取得",
|
|
541
544
|
"Disable_truncating_types_in_error_messages_6663": "停用錯誤訊息中的截斷類型。",
|
|
542
545
|
"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221": "停用來源檔案,而非所參考專案中的宣告檔案。",
|
|
543
|
-
"Disable_wiping_the_console_in_watch_mode_6684": "
|
|
546
|
+
"Disable_wiping_the_console_in_watch_mode_6684": "停用在監看模式中抹除主控台。",
|
|
544
547
|
"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616": "透過查看專案中的檔案名,停用型別推斷的取得。",
|
|
545
|
-
"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672": "不允許
|
|
548
|
+
"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672": "不允許 import'、'require' 或 '<reference>' 擴充 TypeScript 應該加入專案的檔案數目。",
|
|
546
549
|
"Disallow_inconsistently_cased_references_to_the_same_file_6078": "不允許相同檔案大小寫不一致的參考。",
|
|
547
550
|
"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159": "不要在編譯後的檔案清單中新增三道斜線的參考或匯入的模組。",
|
|
548
551
|
"Do_not_emit_comments_to_output_6009": "請勿將註解發出到輸出。",
|
|
@@ -587,23 +590,22 @@
|
|
|
587
590
|
"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622": "在輸出檔的開頭發出 UTF-8 位元組順序標記 (BOM)。",
|
|
588
591
|
"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151": "發出單一檔案包含來源對應,而不要使用個別的檔案。",
|
|
589
592
|
"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638": "發出用於偵錯的編譯器執行 v8 CPU 設定檔。",
|
|
590
|
-
"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626": "發出其他 JavaScript,以輕鬆支援匯入 CommonJS 模組。這會啟用
|
|
593
|
+
"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626": "發出其他 JavaScript,以輕鬆支援匯入 CommonJS 模組。這會啟用 'allowSyntheticDefaultImports' 進行類型相容性。",
|
|
591
594
|
"Emit_class_fields_with_Define_instead_of_Set_6222": "使用 Define 而非 Set 發出類別欄位。",
|
|
592
595
|
"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624": "發出來源檔案中修飾式宣告的設計型別中繼資料。",
|
|
593
596
|
"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621": "針對反覆項目發出更符合規範,但具詳細資訊及較低效能 JavaScript。",
|
|
594
597
|
"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152": "使用單一檔案發出來源與來源對應。必須設定 '--inlineSourceMap' 或 '--sourceMap'。",
|
|
595
598
|
"Enable_all_strict_type_checking_options_6180": "啟用所有 Strict 類型檢查選項。",
|
|
596
|
-
"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 的輸出中啟用色彩及格式化,讓編譯器錯誤更容易閱讀。",
|
|
597
600
|
"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611": "啟用允許 TypeScript 專案搭配專案參考使用的條件約束。",
|
|
598
601
|
"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667": "啟用未在函式中明確傳回之 codepaths 的錯誤報吿。",
|
|
599
|
-
"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665": "啟用具有隱含
|
|
602
|
+
"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665": "啟用具有隱含 'any' 類型的運算式及宣告之錯誤報告。",
|
|
600
603
|
"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664": "啟用 switch 陳述式中 fallthrough 案例的錯誤報表。",
|
|
601
604
|
"Enable_error_reporting_in_type_checked_JavaScript_files_6609": "在已完成型別檢查的 JavaScript 檔案中啟用錯誤報表。",
|
|
602
|
-
"
|
|
603
|
-
"Enable_error_reporting_when_this_is_given_the_type_any_6668": "為
|
|
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' 時,啟用錯誤報表。",
|
|
604
607
|
"Enable_experimental_support_for_TC39_stage_2_draft_decorators_6630": "啟用 TC39 第 2 階段草稿裝飾項目的實驗性支援。",
|
|
605
|
-
"Enable_importing_json_files_6689": "啟用匯入 json
|
|
606
|
-
"Enable_incremental_compilation_6378": "啟用累加編譯",
|
|
608
|
+
"Enable_importing_json_files_6689": "啟用匯入 json 檔案。",
|
|
607
609
|
"Enable_project_compilation_6302": "啟用專案編譯",
|
|
608
610
|
"Enable_strict_bind_call_and_apply_methods_on_functions_6214": "對函式啟用嚴格的 'bind'、'call' 及 'apply' 方法。",
|
|
609
611
|
"Enable_strict_checking_of_function_types_6186": "啟用嚴格檢查函式類型。",
|
|
@@ -612,11 +614,11 @@
|
|
|
612
614
|
"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074": "在您的組態檔中啟用 'experimentalDecorators' 選項",
|
|
613
615
|
"Enable_the_jsx_flag_in_your_configuration_file_95088": "在您的組態檔中啟用 '--jsx' 旗標",
|
|
614
616
|
"Enable_tracing_of_the_name_resolution_process_6085": "啟用名稱解析流程的追蹤。",
|
|
615
|
-
"Enable_verbose_logging_6713": "
|
|
617
|
+
"Enable_verbose_logging_6713": "啟用詳細資訊記錄。",
|
|
616
618
|
"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037": "透過為所有匯入建立命名空間物件,讓 CommonJS 和 ES 模組之間的產出有互通性。意指 'allowSyntheticDefaultImports'。",
|
|
617
619
|
"Enables_experimental_support_for_ES7_decorators_6065": "啟用 ES7 裝飾項目的實驗支援。",
|
|
618
620
|
"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066": "啟用實驗支援以發出裝飾項目類型的中繼資料。",
|
|
619
|
-
"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": "對使用索引型別宣告的索引鍵強制使用索引存取子。",
|
|
620
622
|
"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666": "請確認衍生類別中的覆寫成員已標上 override 修飾元。",
|
|
621
623
|
"Ensure_that_casing_is_correct_in_imports_6637": "請確認 Imports 中的大小寫正確。",
|
|
622
624
|
"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645": "確保每個檔案都可安全地轉譯,而不依賴其他匯入。",
|
|
@@ -757,7 +759,7 @@
|
|
|
757
759
|
"Global_type_0_must_be_a_class_or_interface_type_2316": "全域類型 '{0}' 必須是類別或介面類型。",
|
|
758
760
|
"Global_type_0_must_have_1_type_parameter_s_2317": "全域類型 '{0}' 必須要有 {1} 個型別參數。",
|
|
759
761
|
"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384": "於 '--incremental' 與 '--watch' 中重新編譯時,會假設檔案中的變更只會影響直接相依於重新編譯的檔案。",
|
|
760
|
-
"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606": "在使用
|
|
762
|
+
"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606": "在使用 'incremental' 與 'watch' 模式的專案中重新編譯,會假設檔案中的變更只會影響直接相依於重新編譯的檔案。",
|
|
761
763
|
"Hexadecimal_digit_expected_1125": "必須適十六進位數字。",
|
|
762
764
|
"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262": "需要識別碼。'{0}' 是模組的頂層保留字。",
|
|
763
765
|
"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212": "必須是識別碼。'{0}' 在 strict 模式中為保留字。",
|
|
@@ -803,7 +805,6 @@
|
|
|
803
805
|
"Include_modules_imported_with_json_extension_6197": "包含匯入有 '.json' 延伸模組的模組",
|
|
804
806
|
"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "在發出 JavaScript 內的 sourcemap 中包含原始程式碼。",
|
|
805
807
|
"Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "在發出的 JavaScript 中包含 sourcemap 檔案。",
|
|
806
|
-
"Include_undefined_in_index_signature_results_6716": "在索引簽章結果中包含 'undefined'",
|
|
807
808
|
"Includes_imports_of_types_referenced_by_0_90054": "包括 '{0}' 參考的類型匯入",
|
|
808
809
|
"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "包括 --watch、-w 會開始監看目前專案是否有檔案變更。設定之後,您便可以使用以下來設定監看式模式:",
|
|
809
810
|
"Index_signature_for_type_0_is_missing_in_type_1_2329": "類型 '{0}' 的索引簽章在類型 '{1}' 中遺失。",
|
|
@@ -879,13 +880,12 @@
|
|
|
879
880
|
"Line_break_not_permitted_here_1142": "這裡不可使用分行符號。",
|
|
880
881
|
"Line_terminator_not_permitted_before_arrow_1200": "箭號前不得有行結束字元。",
|
|
881
882
|
"List_of_folders_to_include_type_definitions_from_6161": "要包含之類型定義所屬資料夾的清單。",
|
|
882
|
-
"List_of_language_service_plugins_6181": "語言服務外掛程式清單。",
|
|
883
883
|
"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168": "資料夾的清單。這些資料夾內所含的合併內容代表了專案在執行階段時的結果。",
|
|
884
884
|
"Loading_0_from_the_root_dir_1_candidate_location_2_6109": "正在從根目錄 '{1}',候選位置 '{2}' 載入 '{0}'。",
|
|
885
885
|
"Loading_module_0_from_node_modules_folder_target_file_type_1_6098": "正在從 'node_modules' 資料夾載入模組 '{0}',目標檔案類型 '{1}'。",
|
|
886
886
|
"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_type_1_6095": "正在將模組載入為檔案/資料夾,候選模組位置 '{0}',目標檔案類型 '{1}'。",
|
|
887
887
|
"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048": "地區設定的格式必須是 <語言> 或 <語言>-<國家/地區>。例如 '{0}' 或 '{1}'。",
|
|
888
|
-
"Log_paths_used_during_the_moduleResolution_process_6706": "在
|
|
888
|
+
"Log_paths_used_during_the_moduleResolution_process_6706": "在 'moduleResolution' 處理序期間使用的記錄檔路徑。",
|
|
889
889
|
"Longest_matching_prefix_for_0_is_1_6108": "符合 '{0}' 的前置詞最長為 '{1}'。",
|
|
890
890
|
"Looking_up_in_node_modules_folder_initial_location_0_6125": "目前正在 'node_modules' 資料夾中查詢,初始位置為 '{0}'。",
|
|
891
891
|
"Make_all_super_calls_the_first_statement_in_their_constructor_95036": "在其建構函式的第一個陳述式中呼叫所有的 'super()'",
|
|
@@ -1149,7 +1149,7 @@
|
|
|
1149
1149
|
"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027": "匯出類別的公用靜態屬性 '{0}' 具有或使用私用模組 '{2}' 中的名稱 '{1}'。",
|
|
1150
1150
|
"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028": "匯出類別的公用靜態屬性 '{0}' 具有或使用私用名稱 '{1}'。",
|
|
1151
1151
|
"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032": "限定名稱 '{0}' 必須以 '@param {object} {1}' 開頭。",
|
|
1152
|
-
"Raise_an_error_when_a_function_parameter_isn_t_read_6676": "
|
|
1152
|
+
"Raise_an_error_when_a_function_parameter_isn_t_read_6676": "當函式參數未讀取時引發錯誤。",
|
|
1153
1153
|
"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052": "當運算式及宣告包含隱含的 'any' 類型時顯示錯誤。",
|
|
1154
1154
|
"Raise_error_on_this_expressions_with_an_implied_any_type_6115": "對具有隱含 'any' 類型的 'this' 運算式引發錯誤。",
|
|
1155
1155
|
"Re_exporting_a_type_when_the_isolatedModules_flag_is_provided_requires_using_export_type_1205": "提供 '--isolatedModules' 旗標時,必須使用 'export type' 重新匯出類型。",
|
|
@@ -1283,14 +1283,14 @@
|
|
|
1283
1283
|
"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624": "來源未針對目標中位於 {0} 的可變元素提供相符項目。",
|
|
1284
1284
|
"Specify_ECMAScript_target_version_6015": "指定 ECMAScript 目標版本。",
|
|
1285
1285
|
"Specify_JSX_code_generation_6080": "指定 JSX 程式碼產生。",
|
|
1286
|
-
"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679": "指定將所有輸出組合成一個 JavaScript 檔案的檔案。如果
|
|
1286
|
+
"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679": "指定將所有輸出組合成一個 JavaScript 檔案的檔案。如果 'declaration' 為 True,則也會指定組合所有 .d.ts 輸出的檔案。",
|
|
1287
1287
|
"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641": "指定符合編譯中要包含之檔案的 glob 模式清單。",
|
|
1288
1288
|
"Specify_a_list_of_language_service_plugins_to_include_6681": "指定要包含的語言服務外掛程式清單。",
|
|
1289
1289
|
"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651": "指定一組描述目標執行階段環境的配套程式庫宣告檔案。",
|
|
1290
1290
|
"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680": "指定一組將匯入重新對應至其他查閱位置的項目。",
|
|
1291
1291
|
"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687": "指定為專案指定路徑的物件陣列。用於專案參考。",
|
|
1292
1292
|
"Specify_an_output_folder_for_all_emitted_files_6678": "指定所有發出檔案的輸出檔案夾。",
|
|
1293
|
-
"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718": "
|
|
1293
|
+
"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718": "指定僅用於類型之匯入的發出/檢查行為。",
|
|
1294
1294
|
"Specify_file_to_store_incremental_compilation_information_6380": "指定要儲存累加編譯資訊的檔案",
|
|
1295
1295
|
"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658": "指定 TypeScript 從指定的模組指定名稱查詢檔案的方式。",
|
|
1296
1296
|
"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714": "指定在缺少遞迴檔案監視功能之系統上如何監視目錄。",
|
|
@@ -1298,8 +1298,8 @@
|
|
|
1298
1298
|
"Specify_library_files_to_be_included_in_the_compilation_6079": "請指定要併入編譯中的程式庫檔案。",
|
|
1299
1299
|
"Specify_module_code_generation_6016": "指定模組程式碼產生。",
|
|
1300
1300
|
"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069": "指定模組解決方案策略: 'node' (Node.js) 或 'classic' (TypeScript 1.6 前)。",
|
|
1301
|
-
"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649": "指定使用
|
|
1302
|
-
"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多個資料夾,其作用類似
|
|
1301
|
+
"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649": "指定使用 'jsx: react-jsx*' 時,用來匯入 JSX Factory 函式的模組指定名稱。",
|
|
1302
|
+
"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多個資料夾,其作用類似 './node_modules/@types'。",
|
|
1303
1303
|
"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633": "指定一或多個路徑或節點模組參考至繼承設定的基礎設定檔。",
|
|
1304
1304
|
"Specify_options_for_automatic_acquisition_of_declaration_files_6709": "指定用於自動擷取宣告檔案的選項。",
|
|
1305
1305
|
"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227": "指定當輪詢監看無法使用下列檔案系統事件建立時,加以建立的策略: 'FixedInterval' (預設)、'PriorityInterval'、'DynamicPriority'、'FixedChunkSize'。",
|
|
@@ -1307,16 +1307,16 @@
|
|
|
1307
1307
|
"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225": "指定監看檔案的策略: 'FixedPollingInterval' (預設)、'PriorityPollingInterval'、'DynamicPriorityPolling'、'FixedChunkSizePolling'、'UseFsEvents'、'UseFsEventsOnParentDirectory'。",
|
|
1308
1308
|
"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648": "指定要在以 React JSX 發出為目標時使用於片段的 JSX 片段參考,例如 'React.Fragment' 或 'Fragment'。",
|
|
1309
1309
|
"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146": "請指定要在以 'react' JSX 發出為目標時使用的 JSX factory 函式。例如 'React.createElement' 或 'h'。",
|
|
1310
|
-
"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647": "
|
|
1310
|
+
"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647": "請指定要在以 React JSX 發出為目標時使用的 JSX factory 函式。例如 'React.createElement' 或 'h'。",
|
|
1311
1311
|
"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034": "當指定以 'jsxFactory' 編譯器選項設定 'react' JSX 輸出的目標時,請指定要使用的 JSX 片段處理站函式,例如 'Fragment'。",
|
|
1312
1312
|
"Specify_the_base_directory_to_resolve_non_relative_module_names_6607": "指定基礎目錄來解析非相對的模組名稱。",
|
|
1313
1313
|
"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060": "指定發出檔案時要用的行尾順序: 'CRLF' (DOS) 或 'LF' (UNIX)。",
|
|
1314
1314
|
"Specify_the_folder_for_tsbuildinfo_incremental_compilation_files_6707": "指定 .tsbuildinfo 累加編譯檔案的資料夾。",
|
|
1315
1315
|
"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004": "指定偵錯工具尋找 TypeScript 檔案的位置,而非原始檔位置。",
|
|
1316
1316
|
"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655": "指定偵錯工具尋找對應檔的位置,而非產生的位置。",
|
|
1317
|
-
"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656": "
|
|
1317
|
+
"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656": "指定用來檢查來自 'node_modules' 之 JavaScript 檔案的資料夾深度上限。僅適用於 'allowJs'。",
|
|
1318
1318
|
"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238": "指定用於匯入 `jsx` 與 `jsxs` 工廠函式的模組指定名稱。例如,傳送表情符號",
|
|
1319
|
-
"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686": "
|
|
1319
|
+
"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686": "指定 'createElement' 叫用的物件。這僅適用於在以 'react' JSX 發出為目標時。",
|
|
1320
1320
|
"Specify_the_output_directory_for_generated_declaration_files_6613": "指定產生的宣告檔案的輸出目錄。",
|
|
1321
1321
|
"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058": "指定輸入檔的根目錄。用以控制具有 --outDir 的輸出目錄結構。",
|
|
1322
1322
|
"Specify_the_root_folder_within_your_source_files_6690": "指定來源檔案內的根資料夾。",
|
|
@@ -1347,7 +1347,7 @@
|
|
|
1347
1347
|
"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337": "建構函式外部或建構函式內的巢狀函式中不允許 super 呼叫。",
|
|
1348
1348
|
"Suppress_excess_property_checks_for_object_literals_6072": "不對物件常值進行多餘的屬性檢查。",
|
|
1349
1349
|
"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055": "針對缺少索引簽章的索引物件隱藏 noImplicitAny 錯誤。",
|
|
1350
|
-
"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "針對缺少索引簽章的物件編製索引時,隱藏
|
|
1350
|
+
"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703": "針對缺少索引簽章的物件編製索引時,隱藏 'noImplicitAny' 錯誤。",
|
|
1351
1351
|
"Switch_each_misused_0_to_1_95138": "將每個誤用的 '{0}' 切換成 '{1}'",
|
|
1352
1352
|
"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704": "在不支援原生遞迴監視之平台上,同步呼叫回呼並更新目錄監控程式的狀態。",
|
|
1353
1353
|
"Syntax_Colon_0_6023": "語法: {0}",
|
|
@@ -1415,7 +1415,7 @@
|
|
|
1415
1415
|
"The_operand_of_a_delete_operator_must_be_optional_2790": "'delete' 運算子的運算元必須是非必須。",
|
|
1416
1416
|
"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777": "遞增或遞減運算子的運算元不可為選擇性屬性存取。",
|
|
1417
1417
|
"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357": "遞增或遞減運算子的運算元必須是變數或屬性存取。",
|
|
1418
|
-
"
|
|
1418
|
+
"The_parser_expected_to_find_a_1_to_match_the_0_token_here_1007": "剖析器需要找到 '{1}',以對應此處的 '{0}' 權杖。",
|
|
1419
1419
|
"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014": "無法在此類別內的類型 '{1}' 上存取屬性 '{0}',原因是另一個拼字相同的私人識別碼已將其陰影。",
|
|
1420
1420
|
"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380": "'get' 存取子的傳回型別必須可指派給其 'set' 存取子類型",
|
|
1421
1421
|
"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237": "參數裝飾項目函式的傳回型別必須是 'void' 或 'any'。",
|
|
@@ -1536,7 +1536,6 @@
|
|
|
1536
1536
|
"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016": "類型判斷提示運算式只可用於 TypeScript 檔案中。",
|
|
1537
1537
|
"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626": "來源中位於 {0} 的類型與目標中位於 {1} 的類型不相容。",
|
|
1538
1538
|
"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627": "來源中位於 {0} 到 {1} 的類型與目標中位於 {2} 的類型不相容。",
|
|
1539
|
-
"Type_catch_clause_variables_as_unknown_instead_of_any_6803": "將 catch 子句變數輸入為 'unknown' 而非 'any'。",
|
|
1540
1539
|
"Type_declaration_files_to_be_included_in_compilation_6124": "要包含在編譯內的類型宣告檔案。",
|
|
1541
1540
|
"Type_expected_1110": "必須是類型。",
|
|
1542
1541
|
"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "輸入匯入判斷提示應該只有一個索引鍵 - 'resolution-mode' - 值為 'import' 或 'require'。",
|
|
@@ -1638,7 +1637,7 @@
|
|
|
1638
1637
|
"Watch_input_files_6005": "監看輸入檔。",
|
|
1639
1638
|
"Watch_option_0_requires_a_value_of_type_1_5080": "監看選項 '{0}' 需要 {1} 類型的值。",
|
|
1640
1639
|
"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698": "指派函式時,請檢查以確認參數,而且傳回值是子類型相容的。",
|
|
1641
|
-
"When_type_checking_take_into_account_null_and_undefined_6699": "當型別檢查時,請將
|
|
1640
|
+
"When_type_checking_take_into_account_null_and_undefined_6699": "當型別檢查時,請將 'null' 和 'undefined' 納入考慮。",
|
|
1642
1641
|
"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191": "是否要將已過期的主控台輸出,維持在監看模式下,而非清除螢幕。",
|
|
1643
1642
|
"Wrap_all_invalid_characters_in_an_expression_container_95109": "將所有無效字元包裝在運算式容器中",
|
|
1644
1643
|
"Wrap_all_object_literal_with_parentheses_95116": "使用括弧括住所有物件常值",
|
|
@@ -1721,6 +1720,7 @@
|
|
|
1721
1720
|
"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242": "'abstract' 修飾元只能出現在類別宣告、方法宣告或屬性宣告。",
|
|
1722
1721
|
"and_here_6204": "及此處。",
|
|
1723
1722
|
"arguments_cannot_be_referenced_in_property_initializers_2815": "屬性初始設定式中不得參考 'arguments'。",
|
|
1723
|
+
"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476": "\"auto\": 處理具有 imports、exports、import.meta, jsx (具有 jsx: react-jsx) 或 esm 格式 (具有 module: node12+) 的檔案作為模組。",
|
|
1724
1724
|
"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375": "當檔案為模組時,只允許 'await' 運算式位於檔案的最上層,但是此檔案沒有匯入或匯出。請考慮新增空白的 'export {}',使這個檔案成為模組。",
|
|
1725
1725
|
"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "只允許在非同步函式中與模組的最上層使用 'await' 運算式。",
|
|
1726
1726
|
"await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "'await' 運算式不得用於參數初始設定式。",
|
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.7.0-dev.
|
|
5
|
+
"version": "4.7.0-dev.20220323",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|