@typescript-deploys/pr-build 4.6.0-pr-47607-13 → 4.6.0-pr-47607-31
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 +22 -8
- package/lib/de/diagnosticMessages.generated.json +23 -10
- package/lib/es/diagnosticMessages.generated.json +22 -8
- package/lib/fr/diagnosticMessages.generated.json +5 -4
- package/lib/it/diagnosticMessages.generated.json +22 -8
- package/lib/ja/diagnosticMessages.generated.json +5 -4
- package/lib/ko/diagnosticMessages.generated.json +5 -4
- package/lib/lib.dom.d.ts +1 -1
- package/lib/lib.webworker.d.ts +1 -1
- package/lib/pl/diagnosticMessages.generated.json +5 -4
- package/lib/pt-br/diagnosticMessages.generated.json +22 -8
- package/lib/ru/diagnosticMessages.generated.json +6 -6
- package/lib/tr/diagnosticMessages.generated.json +5 -4
- package/lib/tsc.js +807 -695
- package/lib/tsserver.js +1372 -1058
- package/lib/tsserverlibrary.d.ts +1 -1
- package/lib/tsserverlibrary.js +1372 -1058
- package/lib/typescript.d.ts +1 -1
- package/lib/typescript.js +1372 -1058
- package/lib/typescriptServices.d.ts +1 -1
- package/lib/typescriptServices.js +1372 -1058
- package/lib/typingsInstaller.js +1116 -980
- package/lib/zh-cn/diagnosticMessages.generated.json +22 -8
- package/lib/zh-tw/diagnosticMessages.generated.json +6 -6
- package/package.json +1 -1
|
@@ -89,7 +89,8 @@
|
|
|
89
89
|
"A_set_accessor_must_have_exactly_one_parameter_1049": "\"set\" 访问器必须正好具有一个参数。",
|
|
90
90
|
"A_set_accessor_parameter_cannot_have_an_initializer_1052": "\"set\" 访问器参数不能包含初始化表达式。",
|
|
91
91
|
"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556": "扩张参数必须具有元组类型或传递给 rest 参数。",
|
|
92
|
-
"
|
|
92
|
+
"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401": "“super” 调用必须是包含初始化属性、参数属性或专用标识符的派生类的构造函数中的根级语句。",
|
|
93
|
+
"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376": "当派生类包含初始化属性、参数属性或专用标识符时,“super” 调用必须是构造函数中用来引用 “super” 或 “this” 的第一个语句。",
|
|
93
94
|
"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "基于 \"this\" 的类型防护与基于参数的类型防护不兼容。",
|
|
94
95
|
"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526": "\"this\" 类型仅在类或接口的非静态成员中可用。",
|
|
95
96
|
"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054": "已在“{0}”中定义了 \"tsconfig.json\" 文件。",
|
|
@@ -109,7 +110,6 @@
|
|
|
109
110
|
"Accessibility_modifier_already_seen_1028": "已看到可访问性修饰符。",
|
|
110
111
|
"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056": "访问器仅在面向 ECMAScript 5 和更高版本时可用。",
|
|
111
112
|
"Accessors_must_both_be_abstract_or_non_abstract_2676": "两个取值函数必须都是抽象的或都是非抽象的。",
|
|
112
|
-
"Add_0_to_existing_import_declaration_from_1_90015": "将“{0}”从“{1}”添加到现有导入声明",
|
|
113
113
|
"Add_0_to_unresolved_variable_90008": "将“{0}.”添加到未解析的变量",
|
|
114
114
|
"Add_a_return_statement_95111": "添加 return 语句",
|
|
115
115
|
"Add_all_missing_async_modifiers_95041": "添加所有缺失的 \"async\" 修饰符",
|
|
@@ -129,10 +129,10 @@
|
|
|
129
129
|
"Add_braces_to_arrow_function_95059": "向箭头函数添加大括号",
|
|
130
130
|
"Add_const_to_all_unresolved_variables_95082": "将 \"const\" 添加到所有未解析变量",
|
|
131
131
|
"Add_const_to_unresolved_variable_95081": "将 \"const\" 添加到未解析的变量",
|
|
132
|
-
"Add_default_import_0_to_existing_import_declaration_from_1_90033": "将默认导入 \"{0}\" 从 \"{1}\" 添加到现有导入声明。",
|
|
133
132
|
"Add_definite_assignment_assertion_to_property_0_95020": "向属性“{0}”添加明确的赋值断言",
|
|
134
133
|
"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028": "将明确赋值断言添加到未初始化的所有属性",
|
|
135
134
|
"Add_export_to_make_this_file_into_a_module_95097": "添加 \"export {}\",将此文件变为模块",
|
|
135
|
+
"Add_import_from_0_90057": "从“{0}”添加导入",
|
|
136
136
|
"Add_index_signature_for_property_0_90017": "为属性“{0}”添加索引签名",
|
|
137
137
|
"Add_initializer_to_property_0_95019": "向属性“{0}”添加初始值设定项",
|
|
138
138
|
"Add_initializers_to_all_uninitialized_properties_95027": "将初始化表达式添加到未初始化的所有属性",
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
"An_iterator_must_have_a_next_method_2489": "迭代器必须具有 \"next()\" 方法。",
|
|
228
228
|
"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017": "将 @jsx 杂注与 JSX 片段一起使用时,需要使用 @jsxFrag 杂注。",
|
|
229
229
|
"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118": "对象文字不能具有多个具有相同名称的 get/set 访问器。",
|
|
230
|
-
"
|
|
230
|
+
"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117": "对象文本不能具有多个名称相同的属性。",
|
|
231
231
|
"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119": "对象文字不能包含具有相同名称的属性和访问器。",
|
|
232
232
|
"An_object_member_cannot_be_declared_optional_1162": "对象成员无法声明为可选。",
|
|
233
233
|
"An_optional_chain_cannot_contain_private_identifiers_18030": "可选链不能包含专用标识符。",
|
|
@@ -314,6 +314,7 @@
|
|
|
314
314
|
"Cannot_find_name_0_Did_you_mean_1_2552": "找不到名称“{0}”。你是否指的是“{1}”?",
|
|
315
315
|
"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663": "找不到名称“{0}”。你的意思是实例成员“this.{0}”?",
|
|
316
316
|
"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662": "找不到名称“{0}”。你的意思是静态成员“{1}.{0}”?",
|
|
317
|
+
"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311": "找不到名称“{0}”。你是否要在异步函数中写入此内容?",
|
|
317
318
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583": "找不到名称“{0}”。是否需要更改目标库? 请尝试将 “lib” 编译器选项更改为“{1}”或更高版本。",
|
|
318
319
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584": "找不到名称“{0}”。是否需要更改目标库? 请尝试更改 “lib” 编译器选项以包括 “dom”。",
|
|
319
320
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582": "找不到名称 \"{0}\"。是否需要安装测试运行器的类型定义? 请尝试使用 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`。",
|
|
@@ -387,6 +388,7 @@
|
|
|
387
388
|
"Compiler_option_0_expects_an_argument_6044": "编译器选项“{0}”需要参数。",
|
|
388
389
|
"Compiler_option_0_may_not_be_used_with_build_5094": "编译器选项“--{0}”不能与 “--build” 一起使用。",
|
|
389
390
|
"Compiler_option_0_may_only_be_used_with_build_5093": "编译器选项“--{0}”只能与 “--build” 一起使用。",
|
|
391
|
+
"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124": "值“{1}”的编译器选项“{0}”不稳定。使用夜间 TypeScript 消除此错误。请尝试使用 “npm install -D typescript@next” 进行更新。",
|
|
390
392
|
"Compiler_option_0_requires_a_value_of_type_1_5024": "编译器选项“{0}”需要类型 {1} 的值。",
|
|
391
393
|
"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027": "当发出专用标识符下层时,编译器会预留名称“{0}”。",
|
|
392
394
|
"Compiles_the_TypeScript_project_located_at_the_specified_path_6927": "编译位于指定路径的 TypeScript 项目。",
|
|
@@ -565,7 +567,7 @@
|
|
|
565
567
|
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "动态导入的说明符类型必须是 \"string\",但此处类型是 \"{0}\"。",
|
|
566
568
|
"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323": "仅当 '--module' 标志设置为 'es2020'、'es2022'、'esnext'、 'commonjs'、'amd'、'system'、'umd'、'node12' 或 'nodenext' 时,才支持动态导入。",
|
|
567
569
|
"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_assertion_as_arguments_1450": "动态导入只能接受模块说明符和可选断言作为参数",
|
|
568
|
-
"
|
|
570
|
+
"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_or_nodenext_1324": "只有当 “--module” 选项设置为 “esnext” 或 “nodenext” 时,动态导入才支持第二个参数。",
|
|
569
571
|
"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "联合类型 \"{0}\" 的每个成员都有构造签名,但这些签名都不能互相兼容。",
|
|
570
572
|
"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "联合类型 \"{0}\" 的每个成员都有签名,但这些签名都不能互相兼容。",
|
|
571
573
|
"Editor_Support_6249": "编辑器支持",
|
|
@@ -623,6 +625,7 @@
|
|
|
623
625
|
"Enum_member_must_have_initializer_1061": "枚举成员必须具有初始化表达式。",
|
|
624
626
|
"Enum_name_cannot_be_0_2431": "枚举名不能为“{0}”。",
|
|
625
627
|
"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "枚举类型“{0}”包含具有不是文本的初始值设定项的成员。",
|
|
628
|
+
"Errors_Files_6041": "错误文件",
|
|
626
629
|
"Examples_Colon_0_6026": "示例: {0}",
|
|
627
630
|
"Excessive_stack_depth_comparing_types_0_and_1_2321": "与类型“{0}”和“{1}”相比,堆栈深度过高。",
|
|
628
631
|
"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027": "应为 {0}-{1} 类型参数;请为这些参数添加 \"@extends\" 标记。",
|
|
@@ -708,8 +711,11 @@
|
|
|
708
711
|
"For_await_loops_cannot_be_used_inside_a_class_static_block_18038": "无法在类静态块内使用 “For await 循环。",
|
|
709
712
|
"Found_0_errors_6217": "找到 {0} 个错误。",
|
|
710
713
|
"Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 个错误。注意文件更改。",
|
|
714
|
+
"Found_0_errors_in_1_files_6261": "在 {1} 个文件中找到 {0} 个错误。",
|
|
715
|
+
"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260": "在同一文件中找到 {0} 个错误,起始位置为: {1}",
|
|
711
716
|
"Found_1_error_6216": "找到 1 个错误。",
|
|
712
717
|
"Found_1_error_Watching_for_file_changes_6193": "找到 1 个错误。注意文件更改。",
|
|
718
|
+
"Found_1_error_in_1_6259": "在 {1} 中找到 1 个错误",
|
|
713
719
|
"Found_package_json_at_0_6099": "在“{0}”处找到了 \"package.json\"。",
|
|
714
720
|
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250": "面向 \"ES3\" 或 \"ES5\" 时,在严格模式下,块内不允许函数声明。",
|
|
715
721
|
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251": "面向 \"ES3\" 或 \"ES5\" 时,在严格模式下,块内不允许函数声明。类定义自动处于严格模式。",
|
|
@@ -763,14 +769,15 @@
|
|
|
763
769
|
"Implement_interface_0_90006": "实现接口“{0}”",
|
|
764
770
|
"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "导出的类“{0}”的 Implements 子句具有或正在使用专用名称“{1}”。",
|
|
765
771
|
"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "\"symbol\" 到 \"string\" 的隐式转换将在运行时失败。请考虑在 \"String(...)\" 中包装此表达式。",
|
|
766
|
-
"
|
|
767
|
-
"
|
|
772
|
+
"Import_0_from_1_90013": "从“{1}”导入“{0}”",
|
|
773
|
+
"Import_assertion_values_must_be_string_literal_expressions_2837": "导入断言值必须为字符串字面量表达式。",
|
|
774
|
+
"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836": "不允许在转译到 commonjs “require” 调用的语句导入断言。",
|
|
775
|
+
"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821": "仅在将 “--module” 选项设置为 “esnext” 或 “nodenext” 时,才支持导入断言。",
|
|
768
776
|
"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "导入断言不能用于仅类型导入或导出。",
|
|
769
777
|
"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202": "面向 ECMAScript 模块时,不能使用导入分配。请考虑改用 \"import * as ns from \"mod\"\"、\"import {a} from \"mod\"\"、\"import d from \"mod\"\" 或另一种模块格式。",
|
|
770
778
|
"Import_declaration_0_is_using_private_name_1_4000": "导入声明“{0}”使用的是专用名称“{1}”。",
|
|
771
779
|
"Import_declaration_conflicts_with_local_declaration_of_0_2440": "导入声明与“{0}”的局部声明冲突。",
|
|
772
780
|
"Import_declarations_in_a_namespace_cannot_reference_a_module_1147": "命名空间中的导入声明不能引用模块。",
|
|
773
|
-
"Import_default_0_from_module_1_90032": "从模块“{1}”导入默认的“{0}”",
|
|
774
781
|
"Import_emit_helpers_from_tslib_6139": "从 \"tslib\" 导入发出帮助程序。",
|
|
775
782
|
"Import_may_be_converted_to_a_default_import_80003": "导入可能会转换为默认导入。",
|
|
776
783
|
"Import_name_cannot_be_0_2438": "导入名称不能为“{0}”。",
|
|
@@ -790,6 +797,7 @@
|
|
|
790
797
|
"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644": "在发出的 JavaScript 内的源映射中包含源代码。",
|
|
791
798
|
"Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "在发出的 JavaScript 中包括源映射文件。",
|
|
792
799
|
"Include_undefined_in_index_signature_results_6716": "在索引签名结果中包含“未定义”",
|
|
800
|
+
"Includes_imports_of_types_referenced_by_0_90054": "包含由“{0}”引用的类型的导入",
|
|
793
801
|
"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "包括 --watch,-w 将开始监视当前项目的文件更改。设置后,可以使用以下内容配置监视模式:",
|
|
794
802
|
"Index_signature_for_type_0_is_missing_in_type_1_2329": "类型“{1}”中缺少类型“{0}”的索引签名。",
|
|
795
803
|
"Index_signature_in_type_0_only_permits_reading_2542": "类型“{0}”中的索引签名仅允许读取。",
|
|
@@ -1144,6 +1152,8 @@
|
|
|
1144
1152
|
"Referenced_project_0_may_not_disable_emit_6310": "引用的项目“{0}”可能不会禁用发出。",
|
|
1145
1153
|
"Referenced_project_0_must_have_setting_composite_Colon_true_6306": "引用的项目“{0}”必须拥有设置 \"composite\": true。",
|
|
1146
1154
|
"Referenced_via_0_from_file_1_1400": "通过 \"{0}\" 从文件 \"{1}\" 引用",
|
|
1155
|
+
"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2834": "当 “--moduleResolution” 为 “node12” 或 “nodenext” 时,相对导入路径需要 EcmaScript 导入中的显式文件扩展名。请考虑将扩展名添加到导入路径中。",
|
|
1156
|
+
"Relative_import_paths_need_explicit_file_extensions_in_EcmaScript_imports_when_moduleResolution_is_n_2835": "当 “--moduleResolution” 为 “node12” 或 “nodenext” 时,相对导入路径需要 EcmaScript 导入中的显式文件扩展名。你是否指的是“{0}”?",
|
|
1147
1157
|
"Remove_a_list_of_directories_from_the_watch_process_6628": "从监视进程中删除目录列表。",
|
|
1148
1158
|
"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629": "从监视模式的处理中删除文件列表。",
|
|
1149
1159
|
"Remove_all_unnecessary_override_modifiers_95163": "删除所有不必要的 \"override\" 修饰符",
|
|
@@ -1158,6 +1168,8 @@
|
|
|
1158
1168
|
"Remove_parentheses_95126": "删除括号",
|
|
1159
1169
|
"Remove_template_tag_90011": "删除模板标记",
|
|
1160
1170
|
"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618": "删除 TypeScript 语言服务器中 JavaScript 文件总源代码大小 20mb 的上限。",
|
|
1171
|
+
"Remove_type_from_import_declaration_from_0_90055": "从“{0}”中删除导入声明中的“type”",
|
|
1172
|
+
"Remove_type_from_import_of_0_from_1_90056": "从“{1}”中删除“{0}”导入中的“type”",
|
|
1161
1173
|
"Remove_type_parameters_90012": "删除类型参数",
|
|
1162
1174
|
"Remove_unnecessary_await_95086": "删除不必要的 \"await\"",
|
|
1163
1175
|
"Remove_unreachable_code_95050": "删除无法访问的代码",
|
|
@@ -1588,6 +1600,7 @@
|
|
|
1588
1600
|
"Untyped_function_calls_may_not_accept_type_arguments_2347": "非类型化函数调用不能接受类型参数。",
|
|
1589
1601
|
"Unused_label_7028": "未使用的标签。",
|
|
1590
1602
|
"Unused_ts_expect_error_directive_2578": "未使用的 \"@ts-expect-error\" 指令。",
|
|
1603
|
+
"Update_import_from_0_90058": "从“{0}”更新导入",
|
|
1591
1604
|
"Updating_output_of_project_0_6373": "正在更新项目 \"{0}\" 的输出…",
|
|
1592
1605
|
"Updating_output_timestamps_of_project_0_6359": "正在更新项目“{0}”的输出时间戳...",
|
|
1593
1606
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新项目 \"{0}\" 未更改的输出时间戳…",
|
|
@@ -1706,6 +1719,7 @@
|
|
|
1706
1719
|
"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "\"baseUrl\" 选项设置为“{0}”,可使用此值解析非相关模块名称“{1}”。",
|
|
1707
1720
|
"can_only_be_used_at_the_start_of_a_file_18026": "\"#!\" 只能用在文件的开头。",
|
|
1708
1721
|
"case_or_default_expected_1130": "应为 \"case\" 或 \"default\"。",
|
|
1722
|
+
"catch_or_finally_expected_1472": "应为 “catch” 或 “finally”。",
|
|
1709
1723
|
"const_declarations_can_only_be_declared_inside_a_block_1156": "\"const\" 声明只能在块的内部声明。",
|
|
1710
1724
|
"const_declarations_must_be_initialized_1155": "必须初始化 \"const\" 声明。",
|
|
1711
1725
|
"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "\"const\" 枚举成员初始化表达式的求值结果为非有限值。",
|
|
@@ -110,7 +110,6 @@
|
|
|
110
110
|
"Accessibility_modifier_already_seen_1028": "已有存取範圍修飾元。",
|
|
111
111
|
"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056": "只有當目標為 ECMAScript 5 及更高版本時,才可使用存取子。",
|
|
112
112
|
"Accessors_must_both_be_abstract_or_non_abstract_2676": "存取子必須兩者均為抽象或非抽象。",
|
|
113
|
-
"Add_0_to_existing_import_declaration_from_1_90015": "從 \"{1}\" 將 '{0}' 新增至現有的匯入宣告",
|
|
114
113
|
"Add_0_to_unresolved_variable_90008": "對未解析的變數新增 '{0}.'",
|
|
115
114
|
"Add_a_return_statement_95111": "新增 return 陳述式",
|
|
116
115
|
"Add_all_missing_async_modifiers_95041": "新增缺少的所有 'async' 修飾元",
|
|
@@ -130,10 +129,10 @@
|
|
|
130
129
|
"Add_braces_to_arrow_function_95059": "將大括號新增至箭號函式",
|
|
131
130
|
"Add_const_to_all_unresolved_variables_95082": "將 'const' 新增至所有未解析的變數",
|
|
132
131
|
"Add_const_to_unresolved_variable_95081": "將 'const' 新增至未解析的變數",
|
|
133
|
-
"Add_default_import_0_to_existing_import_declaration_from_1_90033": "從 \"{1}\" 將預設匯入 '{0}' 新增至現有的匯入宣告",
|
|
134
132
|
"Add_definite_assignment_assertion_to_property_0_95020": "將明確指派判斷提示新增至屬性 '{0}'",
|
|
135
133
|
"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028": "為所有未初始化的屬性新增明確的指派判斷提示",
|
|
136
134
|
"Add_export_to_make_this_file_into_a_module_95097": "新增 'export {}' 以將此檔案轉為模組",
|
|
135
|
+
"Add_import_from_0_90057": "從 \"{0}\" 新增匯入",
|
|
137
136
|
"Add_index_signature_for_property_0_90017": "為屬性 '{0}' 新增索引簽章",
|
|
138
137
|
"Add_initializer_to_property_0_95019": "將初始設定式新增至屬性 '{0}'",
|
|
139
138
|
"Add_initializers_to_all_uninitialized_properties_95027": "為所有未初始化的屬性新增初始設定式",
|
|
@@ -436,6 +435,7 @@
|
|
|
436
435
|
"Convert_function_to_an_ES2015_class_95001": "將函式轉換為 ES2015 類別",
|
|
437
436
|
"Convert_invalid_character_to_its_html_entity_code_95100": "將無效字元轉換為其 HTML 實體代碼",
|
|
438
437
|
"Convert_named_export_to_default_export_95062": "將具名匯出轉換為預設匯出",
|
|
438
|
+
"Convert_named_imports_to_default_import_95170": "將具名匯入轉換為預設匯入",
|
|
439
439
|
"Convert_named_imports_to_namespace_import_95057": "將具名匯入轉換為命名空間匯入",
|
|
440
440
|
"Convert_namespace_import_to_named_imports_95056": "將命名空間匯入轉換為具名匯入",
|
|
441
441
|
"Convert_overload_list_to_single_signature_95118": "將多載清單轉換成單一特徵標記",
|
|
@@ -770,7 +770,7 @@
|
|
|
770
770
|
"Implement_interface_0_90006": "實作介面 '{0}'",
|
|
771
771
|
"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "匯出類別 '{0}' 的 Implements 子句具有或使用私用名稱 '{1}'。",
|
|
772
772
|
"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "在執行階段中無法將 'symbol' 隱含轉換為 'string'。請考慮將此運算式包裝在 'String(...)' 中。",
|
|
773
|
-
"
|
|
773
|
+
"Import_0_from_1_90013": "從 \"{1}\" 匯入 '{0}'",
|
|
774
774
|
"Import_assertion_values_must_be_string_literal_expressions_2837": "匯入判斷提示值必須是字串常值運算式。",
|
|
775
775
|
"Import_assertions_are_not_allowed_on_statements_that_transpile_to_commonjs_require_calls_2836": "轉換為 commonjs 'require' 呼叫的陳述式上不允許匯入判斷提示。",
|
|
776
776
|
"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821": "只有當 '--module' 選項設定為 'esnext' 時,才支援匯入判斷提示。",
|
|
@@ -779,7 +779,6 @@
|
|
|
779
779
|
"Import_declaration_0_is_using_private_name_1_4000": "匯入宣告 '{0}' 使用私用名稱 '{1}'。",
|
|
780
780
|
"Import_declaration_conflicts_with_local_declaration_of_0_2440": "匯入宣告與 '{0}' 的區域宣告衝突。",
|
|
781
781
|
"Import_declarations_in_a_namespace_cannot_reference_a_module_1147": "命名空間中的匯入宣告不得參考模組。",
|
|
782
|
-
"Import_default_0_from_module_1_90032": "從模組 \"{1}\" 匯入預設 '{0}'",
|
|
783
782
|
"Import_emit_helpers_from_tslib_6139": "從 'tslib' 匯入發出協助程式。",
|
|
784
783
|
"Import_may_be_converted_to_a_default_import_80003": "匯入可轉換成預設匯入。",
|
|
785
784
|
"Import_name_cannot_be_0_2438": "匯入名稱不得為 '{0}'。",
|
|
@@ -1118,7 +1117,6 @@
|
|
|
1118
1117
|
"Property_0_is_protected_in_type_1_but_public_in_type_2_2444": "在類型 '{1}' 中,'{0}' 是受保護屬性,但在類型 '{2}' 中是公用屬性。",
|
|
1119
1118
|
"Property_0_is_used_before_being_assigned_2565": "屬性 '{0}' 已在指派之前使用。",
|
|
1120
1119
|
"Property_0_is_used_before_its_initialization_2729": "將屬性 '{0}' 初始化前已使用該屬性。",
|
|
1121
|
-
"Property_0_may_not_be_used_in_a_static_property_s_initializer_in_the_same_class_when_target_is_esnex_2810": "當 'target' 為 'esnext' 且 'useDefineForClassFields' 為 'false' 時,不能在同一個類別的靜態屬性初始設定式中使用屬性 '{0}'。",
|
|
1122
1120
|
"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "類型 '{1}' 可能不存在屬性 '{0}'。您指的是 '{2}' 嗎?",
|
|
1123
1121
|
"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX 擴張屬性 (Attribute) 的屬性 (Property) '{0}' 不可指派給目標屬性 (Property)。",
|
|
1124
1122
|
"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094": "匯出之類別運算式的屬性 '{0}' 可能為私人或受保護。",
|
|
@@ -1170,6 +1168,8 @@
|
|
|
1170
1168
|
"Remove_parentheses_95126": "移除括弧",
|
|
1171
1169
|
"Remove_template_tag_90011": "移除範本標籤",
|
|
1172
1170
|
"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618": "移除 TypeScript 語言伺服器中 JavaScript 檔案的總原始程式碼大小 20mb 上限。",
|
|
1171
|
+
"Remove_type_from_import_declaration_from_0_90055": "從 \"{0}\" 移除匯入宣告中的 'type'",
|
|
1172
|
+
"Remove_type_from_import_of_0_from_1_90056": "從 \"{1}\" 移除匯入 '{0}' 中的 'type'",
|
|
1173
1173
|
"Remove_type_parameters_90012": "移除型別參數",
|
|
1174
1174
|
"Remove_unnecessary_await_95086": "移除不必要的 'await'",
|
|
1175
1175
|
"Remove_unreachable_code_95050": "移除無法連線的程式碼",
|
|
@@ -1324,7 +1324,6 @@
|
|
|
1324
1324
|
"Starting_compilation_in_watch_mode_6031": "在監看模式中開始編譯...",
|
|
1325
1325
|
"Statement_expected_1129": "必須是陳述式。",
|
|
1326
1326
|
"Statements_are_not_allowed_in_ambient_contexts_1036": "環境內容中不得有陳述式。",
|
|
1327
|
-
"Static_fields_with_private_names_can_t_have_initializers_when_the_useDefineForClassFields_flag_is_no_2805": "當 '--useDefineForClassFields' 旗標未以 'esnext' 的 '--target' 指定時,具有私人名稱的靜態欄位不得有初始設定式。請考慮新增 '--useDefineForClassFields' 旗標。",
|
|
1328
1327
|
"Static_members_cannot_reference_class_type_parameters_2302": "靜態成員不得參考類別類型參數。",
|
|
1329
1328
|
"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "靜態屬性 '{0}' 與建構函式 '{1}' 的內建屬性 'Function.{0}' 相衝突。",
|
|
1330
1329
|
"String_literal_expected_1141": "必須是字串常值。",
|
|
@@ -1600,6 +1599,7 @@
|
|
|
1600
1599
|
"Untyped_function_calls_may_not_accept_type_arguments_2347": "不具類型的函式呼叫無法接受類型引數。",
|
|
1601
1600
|
"Unused_label_7028": "未使用的標籤。",
|
|
1602
1601
|
"Unused_ts_expect_error_directive_2578": "未使用的 '@ts-expect-error' 指示詞。",
|
|
1602
|
+
"Update_import_from_0_90058": "從 \"{0}\" 更新匯入",
|
|
1603
1603
|
"Updating_output_of_project_0_6373": "正在更新專案 '{0}' 的輸出...",
|
|
1604
1604
|
"Updating_output_timestamps_of_project_0_6359": "正在更新專案 '{0}' 的輸出時間戳記...",
|
|
1605
1605
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新專案 '{0}' 的未更變輸出時間戳記...",
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "4.6.0-pr-47607-
|
|
5
|
+
"version": "4.6.0-pr-47607-31",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|