typescript 5.5.4 → 5.6.2
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 +292 -85
- package/lib/de/diagnosticMessages.generated.json +292 -85
- package/lib/es/diagnosticMessages.generated.json +290 -83
- package/lib/fr/diagnosticMessages.generated.json +292 -85
- package/lib/it/diagnosticMessages.generated.json +291 -84
- package/lib/ja/diagnosticMessages.generated.json +291 -84
- package/lib/ko/diagnosticMessages.generated.json +291 -84
- package/lib/lib.dom.asynciterable.d.ts +14 -6
- package/lib/lib.dom.d.ts +349 -858
- package/lib/lib.dom.iterable.d.ts +95 -79
- package/lib/lib.es2015.generator.d.ts +2 -2
- package/lib/lib.es2015.iterable.d.ts +100 -68
- package/lib/lib.es2017.object.d.ts +4 -4
- package/lib/lib.es2018.asyncgenerator.d.ts +2 -2
- package/lib/lib.es2018.asynciterable.d.ts +16 -6
- package/lib/lib.es2020.bigint.d.ts +8 -8
- package/lib/lib.es2020.string.d.ts +2 -2
- package/lib/lib.es2020.symbol.wellknown.d.ts +5 -1
- package/lib/lib.es2022.intl.d.ts +5 -1
- package/lib/lib.esnext.d.ts +1 -0
- package/lib/lib.esnext.disposable.d.ts +8 -0
- package/lib/lib.esnext.iterator.d.ts +148 -0
- package/lib/lib.webworker.asynciterable.d.ts +14 -6
- package/lib/lib.webworker.d.ts +79 -100
- package/lib/lib.webworker.iterable.d.ts +47 -35
- package/lib/pl/diagnosticMessages.generated.json +290 -83
- package/lib/pt-br/diagnosticMessages.generated.json +292 -85
- package/lib/ru/diagnosticMessages.generated.json +292 -85
- package/lib/tr/diagnosticMessages.generated.json +292 -85
- package/lib/tsc.js +2744 -1783
- package/lib/tsserver.js +33 -31
- package/lib/typescript.d.ts +244 -156
- package/lib/typescript.js +4460 -3392
- package/lib/typingsInstaller.js +3 -3
- package/lib/zh-cn/diagnosticMessages.generated.json +291 -84
- package/lib/zh-tw/diagnosticMessages.generated.json +290 -83
- package/package.json +36 -31
|
@@ -2,14 +2,20 @@
|
|
|
2
2
|
"ALL_COMPILER_OPTIONS_6917": "所有編譯器選項",
|
|
3
3
|
"A_0_modifier_cannot_be_used_with_an_import_declaration_1079": "'{0}' 修飾元無法與匯入宣告並用。",
|
|
4
4
|
"A_0_parameter_must_be_the_first_parameter_2680": "'{0}' 參數必須為第一個參數。",
|
|
5
|
+
"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039": "JSDoc '@template' 標籤不能接在 '@typedef'、'@callback' 或 '@overload' 標籤後面",
|
|
5
6
|
"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033": "JSDoc '@typedef' 註解不能包含多個 '@type' 標籤。",
|
|
7
|
+
"A_bigint_literal_cannot_be_used_as_a_property_name_1539": "無法使用 'bigint' 常值做為屬性名稱。",
|
|
6
8
|
"A_bigint_literal_cannot_use_exponential_notation_1352": "Bigint 常值不可使用指數標記法。",
|
|
7
9
|
"A_bigint_literal_must_be_an_integer_1353": "Bigint 常值必須為整數。",
|
|
8
10
|
"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463": "實作簽章中不得省略繫結模式參數。",
|
|
9
11
|
"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105": "'break' 陳述式只可在封入的反覆項目或 switch 陳述式內使用。",
|
|
10
12
|
"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116": "'break' 陳述式只可跳至封入之陳述式的標籤。",
|
|
13
|
+
"A_character_class_must_not_contain_a_reserved_double_punctuator_Did_you_mean_to_escape_it_with_backs_1522": "字元類別不得包含保留的雙標點符號。您是要使用反斜線將其逸出嗎?",
|
|
14
|
+
"A_character_class_range_must_not_be_bounded_by_another_character_class_1516": "字元類別範圍不得被另一個字元類別限制。",
|
|
11
15
|
"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500": "類別只能實作具有選擇性型別引數的識別碼/限定名稱。",
|
|
12
16
|
"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422": "類別只能使用靜態已知成員來實作物件類型或物件類型的交集。",
|
|
17
|
+
"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863": "無法延伸基本類型的類別,例如 '{0}'。類別只能延伸可建構值。",
|
|
18
|
+
"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864": "無法實作基本類型的類別,例如 '{0}'。該類別只能實作其他具名物件類型。",
|
|
13
19
|
"A_class_declaration_without_the_default_modifier_must_have_a_name_1211": "不具 'default' 修飾元的類別宣告必須要有名稱。",
|
|
14
20
|
"A_class_member_cannot_have_the_0_keyword_1248": "類別成員不能含有 '{0}' 關鍵字。",
|
|
15
21
|
"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171": "計算的屬性名稱中不可有逗點運算式。",
|
|
@@ -27,6 +33,7 @@
|
|
|
27
33
|
"A_constructor_cannot_have_a_this_parameter_2681": "建構函式不能含有 'this' 參數。",
|
|
28
34
|
"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104": "'continue' 陳述式只可在封入的反覆項目陳述式內使用。",
|
|
29
35
|
"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115": "'continue' 陳述式只可跳至封入之反覆項目陳述式的標籤。",
|
|
36
|
+
"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846": "沒有 'import type' 就無法匯入宣告檔案。您是否想要改為匯入實作檔案 '{0}'?",
|
|
30
37
|
"A_declare_modifier_cannot_be_used_in_an_already_ambient_context_1038": "不得在現有環境內容中使用 'declare' 修飾元。",
|
|
31
38
|
"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249": "一個裝飾項目只能裝飾一項方法實作,而不能多載。",
|
|
32
39
|
"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113": "'default' 子句在 'switch' 陳述式中不得出現一次以上。",
|
|
@@ -34,12 +41,12 @@
|
|
|
34
41
|
"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258": "預設匯出必須位於檔案或模組宣告的最上層。",
|
|
35
42
|
"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255": "此內容不允許明確的指派判斷提示 '!'。",
|
|
36
43
|
"A_destructuring_declaration_must_have_an_initializer_1182": "解構宣告中必須包含初始設定式。",
|
|
37
|
-
"
|
|
44
|
+
"A_dynamic_import_call_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_t_2712": "ES5 中的動態匯入呼叫需要 'Promise' 建構函式。請確認您有 'Promise' 建構函式的宣告,或在 '--lib' 選項中包括 'ES2015'。",
|
|
38
45
|
"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711": "動態匯入呼叫傳回 'Promise'。請確認您有 'Promise' 的宣告,或在 '--lib' 選項中包括 'ES2015'。",
|
|
39
46
|
"A_file_cannot_have_a_reference_to_itself_1006": "檔案不得參考自己。",
|
|
40
47
|
"A_function_returning_never_cannot_have_a_reachable_end_point_2534": "會傳回 'never' 的功能不得具有可聯繫的端點。",
|
|
41
48
|
"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679": "透過 'new' 關鍵字呼叫的函式不能含有為 'viod' 的 'this' 類型。",
|
|
42
|
-
"
|
|
49
|
+
"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355": "若函式的宣告類型既不是 'undefined'、'void' 也不是 'any',則必須傳回值。",
|
|
43
50
|
"A_generator_cannot_have_a_void_type_annotation_2505": "產生器不得有 'void' 類型註釋。",
|
|
44
51
|
"A_get_accessor_cannot_have_parameters_1054": "'get' 存取子不得有參數。",
|
|
45
52
|
"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808": "get 存取子必須至少要跟 setter 一樣可供存取",
|
|
@@ -55,9 +62,9 @@
|
|
|
55
62
|
"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433": "命名空間宣告的所在檔案位置,不得與其要合併的類別或函式不同。",
|
|
56
63
|
"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434": "命名空間宣告的位置不得先於其要合併的類別或函式。",
|
|
57
64
|
"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235": "命名空間宣告只允許在命名空間或模組的頂層。",
|
|
65
|
+
"A_namespace_declaration_should_not_be_declared_using_the_module_keyword_Please_use_the_namespace_key_1540": "不應該使用 'module' 關鍵字宣告 'namespace' 宣告。請改為使用 'namespace' 關鍵字。",
|
|
58
66
|
"A_non_dry_build_would_build_project_0_6357": "非 -dry 組建會建置專案 '{0}'",
|
|
59
67
|
"A_non_dry_build_would_delete_the_following_files_Colon_0_6356": "非 -dry 組建會刪除下列檔案: {0}",
|
|
60
|
-
"A_non_dry_build_would_update_output_of_project_0_6375": "非 DRY 組建將會更新專案 '{0}' 的輸出",
|
|
61
68
|
"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374": "非 DRY 組建將會更新專案 '{0}' 輸出的時間戳記",
|
|
62
69
|
"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371": "只有函式或建構函式實作才可使用參數初始設定式。",
|
|
63
70
|
"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317": "無法使用剩餘參數宣告參數屬性。",
|
|
@@ -92,6 +99,7 @@
|
|
|
92
99
|
"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
100
|
"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518": "以 'this' 為基礎的類型成立條件,和以參數為基礎的類型成立條件不相容。",
|
|
94
101
|
"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526": "'this' 類型只適用於類別或介面的非靜態成員。",
|
|
102
|
+
"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287": "啟用 'verbatimModuleSyntax' 時,CommonJS 模組中的值宣告不得使用最上層 'export' 修飾元。",
|
|
95
103
|
"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054": "'tsconfig.json' 檔案已定義於: '{0}'。",
|
|
96
104
|
"A_tuple_member_cannot_be_both_optional_and_rest_5085": "元組成員不能同時為選用及待用。",
|
|
97
105
|
"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514": "元組類型無法以負值編製索引。",
|
|
@@ -107,12 +115,21 @@
|
|
|
107
115
|
"A_yield_expression_is_only_allowed_in_a_generator_body_1163": "只有產生器主體才允許 'yield' 運算式。",
|
|
108
116
|
"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513": "無法透過 super 運算式存取類別 '{1}' 中的抽象方法 '{0}'。",
|
|
109
117
|
"Abstract_methods_can_only_appear_within_an_abstract_class_1244": "抽象方法只可出現在抽象類別中。",
|
|
118
|
+
"Abstract_properties_can_only_appear_within_an_abstract_class_1253": "抽象方法只可出現在抽象屬性中。",
|
|
110
119
|
"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715": "無法從建構函式存取類別 '{1}' 中的抽象屬性 '{0}'。",
|
|
111
120
|
"Accessibility_modifier_already_seen_1028": "已有存取範圍修飾元。",
|
|
112
121
|
"Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher_1056": "只有當目標為 ECMAScript 5 及更高版本時,才可使用存取子。",
|
|
113
122
|
"Accessors_must_both_be_abstract_or_non_abstract_2676": "存取子必須兩者均為抽象或非抽象。",
|
|
114
123
|
"Add_0_to_unresolved_variable_90008": "對未解析的變數新增 '{0}.'",
|
|
115
124
|
"Add_a_return_statement_95111": "新增 return 陳述式",
|
|
125
|
+
"Add_a_return_type_to_the_function_declaration_9031": "新增傳回類型到函數宣告。",
|
|
126
|
+
"Add_a_return_type_to_the_function_expression_9030": "新增傳回類型到函數運算式。",
|
|
127
|
+
"Add_a_return_type_to_the_get_accessor_declaration_9032": "新增傳回類型至 get 存取子宣告。",
|
|
128
|
+
"Add_a_return_type_to_the_method_9034": "新增傳回類型至方法",
|
|
129
|
+
"Add_a_type_annotation_to_the_parameter_0_9028": "新增類型註釋至參數 {0}。",
|
|
130
|
+
"Add_a_type_annotation_to_the_property_0_9029": "新增類型註釋至屬性 {0}。",
|
|
131
|
+
"Add_a_type_annotation_to_the_variable_0_9027": "新增類型註釋至變數 {0}。",
|
|
132
|
+
"Add_a_type_to_parameter_of_the_set_accessor_declaration_9033": "將類型新增至集合存取子宣告的參數。",
|
|
116
133
|
"Add_all_missing_async_modifiers_95041": "新增缺少的所有 'async' 修飾元",
|
|
117
134
|
"Add_all_missing_attributes_95168": "新增所有遺失的屬性",
|
|
118
135
|
"Add_all_missing_call_parentheses_95068": "新增所有缺少的呼叫括號",
|
|
@@ -120,9 +137,13 @@
|
|
|
120
137
|
"Add_all_missing_imports_95064": "新增所有缺少的匯入",
|
|
121
138
|
"Add_all_missing_members_95022": "新增遺漏的所有成員",
|
|
122
139
|
"Add_all_missing_override_modifiers_95162": "新增所有缺少的 'override' 修飾元",
|
|
140
|
+
"Add_all_missing_parameters_95190": "新增所有遺失的參數",
|
|
123
141
|
"Add_all_missing_properties_95166": "新增所有遺失的屬性",
|
|
124
142
|
"Add_all_missing_return_statement_95114": "新增所有遺漏的 return 陳述式",
|
|
125
143
|
"Add_all_missing_super_calls_95039": "新增缺少的所有 super 呼叫",
|
|
144
|
+
"Add_all_missing_type_annotations_90067": "新增所有遺失的類型註釋",
|
|
145
|
+
"Add_all_optional_parameters_95193": "新增所有選用參數",
|
|
146
|
+
"Add_annotation_of_type_0_90062": "新增類型 '{0}' 的註釋",
|
|
126
147
|
"Add_async_modifier_to_containing_function_90029": "將 async 修飾元新增至包含的函式",
|
|
127
148
|
"Add_await_95083": "新增 'await'",
|
|
128
149
|
"Add_await_to_initializer_for_0_95084": "將 'await' 新增至 '{0}' 的初始設定式",
|
|
@@ -141,18 +162,26 @@
|
|
|
141
162
|
"Add_initializers_to_all_uninitialized_properties_95027": "為所有未初始化的屬性新增初始設定式",
|
|
142
163
|
"Add_missing_attributes_95167": "新增遺失的屬性",
|
|
143
164
|
"Add_missing_call_parentheses_95067": "新增缺少的呼叫括號",
|
|
165
|
+
"Add_missing_comma_for_object_member_completion_0_95187": "為物件成員完成 '{0}' 新增遺漏的逗號。",
|
|
144
166
|
"Add_missing_enum_member_0_95063": "新增缺少的列舉成員 '{0}'",
|
|
145
167
|
"Add_missing_function_declaration_0_95156": "新增缺少的函式宣告 '{0}'",
|
|
146
168
|
"Add_missing_new_operator_to_all_calls_95072": "將缺少的 'new' 運算子新增至所有呼叫",
|
|
147
169
|
"Add_missing_new_operator_to_call_95071": "缺少的 'new' 運算子新增至呼叫",
|
|
170
|
+
"Add_missing_parameter_to_0_95188": "新增遺失的參數至 '{0}'",
|
|
171
|
+
"Add_missing_parameters_to_0_95189": "新增遺失的參數至 '{0}'",
|
|
148
172
|
"Add_missing_properties_95165": "新增遺失的屬性",
|
|
149
173
|
"Add_missing_super_call_90001": "新增遺漏的 'super()' 呼叫",
|
|
150
174
|
"Add_missing_typeof_95052": "新增遺漏的 'typeof'",
|
|
151
175
|
"Add_names_to_all_parameters_without_names_95073": "將名稱新增至所有沒有名稱的參數",
|
|
176
|
+
"Add_optional_parameter_to_0_95191": "新增選用參數至 '{0}'",
|
|
177
|
+
"Add_optional_parameters_to_0_95192": "將選用參數新增至 '{0}'",
|
|
152
178
|
"Add_or_remove_braces_in_an_arrow_function_95058": "在箭號函式中新增或移除大括號",
|
|
153
179
|
"Add_override_modifier_95160": "新增 'override' 修飾元",
|
|
154
180
|
"Add_parameter_name_90034": "新增參數名稱",
|
|
155
181
|
"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037": "對所有比對成員名稱的未解析變數新增限定詞",
|
|
182
|
+
"Add_return_type_0_90063": "新增傳回類型 '{0}'",
|
|
183
|
+
"Add_satisfies_and_a_type_assertion_to_this_expression_satisfies_T_as_T_to_make_the_type_explicit_9035": "在此運算式中新增 satisfies 和類型判斷提示 (將 T 視為 T),使類型明確顯示。",
|
|
184
|
+
"Add_satisfies_and_an_inline_type_assertion_with_0_90068": "新增 satisfies 和具有 '{0}' 的內嵌類型判斷提示",
|
|
156
185
|
"Add_to_all_uncalled_decorators_95044": "為所有未呼叫的裝飾項目新增 '()'",
|
|
157
186
|
"Add_ts_ignore_to_all_error_messages_95042": "為所有錯誤訊息新增 '@ts-ignore'",
|
|
158
187
|
"Add_undefined_to_a_type_when_accessed_using_an_index_6674": "使用索引進行存取時,將 'undefined' 新增至類型。",
|
|
@@ -177,6 +206,7 @@
|
|
|
177
206
|
"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011": "允許從沒有預設匯出的模組進行預設匯入。這不會影響程式碼發出,僅為類型檢查。",
|
|
178
207
|
"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601": "當模組沒有預設匯出時,允許 'import x from y'。",
|
|
179
208
|
"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639": "允許每個專案只從 tslib 匯入協助程式函式,而不是每個檔案都包含這些函式。",
|
|
209
|
+
"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407": "允許匯入包含 TypeScript 延伸模組。需要設定 '--moduleResolution bundler' 和 '--noEmit' 或 '--emitDeclarationOnly'。",
|
|
180
210
|
"Allow_javascript_files_to_be_compiled_6102": "允許編譯 JavaScript 檔案。",
|
|
181
211
|
"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691": "在解析模組時,允許將多個資料夾視為一個資料夾。",
|
|
182
212
|
"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261": "已包含的檔案名稱 '{0}' 與檔案名稱 '{1}' 僅大小寫不同。",
|
|
@@ -192,7 +222,7 @@
|
|
|
192
222
|
"An_argument_matching_this_binding_pattern_was_not_provided_6211": "未提供符合此繫結模式的引數。",
|
|
193
223
|
"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356": "算術運算元必須屬於 'any'、'number'、'bigint' 或列舉類型。",
|
|
194
224
|
"An_arrow_function_cannot_have_a_this_parameter_2730": "箭號函式不可具有 'this' 參數。",
|
|
195
|
-
"
|
|
225
|
+
"An_async_function_or_method_in_ES5_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_2705": "ES5 中的非同步函式或方法需要 'Promise' 建構函式。請確認您有 'Promise' 建構函式的宣告,或在 '--lib' 選項中包括 'ES2015'。",
|
|
196
226
|
"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697": "非同步函式或方法必須傳回 'Promise'。請確定您有 'Promise' 的宣告或在 '--lib' 選項中包括 'ES2015'。",
|
|
197
227
|
"An_async_iterator_must_have_a_next_method_2519": "非同步迭代器必須有 'next()' 方法。",
|
|
198
228
|
"An_element_access_expression_should_take_an_argument_1011": "項目存取運算式應接受一個引數。",
|
|
@@ -207,17 +237,22 @@
|
|
|
207
237
|
"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474": "匯出宣告只能在模組的頂層使用。",
|
|
208
238
|
"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233": "匯出宣告只能在命名空間或模組的頂層使用。",
|
|
209
239
|
"An_export_declaration_cannot_have_modifiers_1193": "匯出宣告不得有修飾元。",
|
|
240
|
+
"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283": "啟用 'verbatimModuleSyntax' 時,'export =' 宣告必須參考真實的值,但 '{0}' 解析僅限類型的宣告。",
|
|
241
|
+
"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282": "啟用 'verbatimModuleSyntax' 時,'export =' 宣告必須參考值,但 '{0}' 僅參考類型。",
|
|
242
|
+
"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285": "啟用 'verbatimModuleSyntax' 時,'export default' 必須參考真實的值,但 '{0}' 解析僅限類型的宣告。",
|
|
243
|
+
"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284": "啟用 'verbatimModuleSyntax' 時,'export default' 宣告必須參考值,但 '{0}' 僅參考類型。",
|
|
210
244
|
"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345": "無法對 'void' 類型的運算式測試真實性。",
|
|
211
245
|
"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198": "擴充的 Unicode 逸出值必須介於 0x0 與 0x10FFFF (不含) 之間。",
|
|
212
246
|
"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351": "識別碼或關鍵字不可直接接在數字常值後面。",
|
|
213
247
|
"An_implementation_cannot_be_declared_in_ambient_contexts_1183": "不得在環境內容中宣告實作。",
|
|
214
248
|
"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379": "匯入別名不能參考使用 'export type' 匯出的宣告。",
|
|
215
249
|
"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380": "匯入別名不能參考使用 'import type' 匯入的宣告。",
|
|
250
|
+
"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288": "啟用 'verbatimModuleSyntax' 時,無法解析匯入別名為類型或僅類型的宣告。",
|
|
216
251
|
"An_import_alias_cannot_use_import_type_1392": "匯入別名不能使用 'import type'",
|
|
217
252
|
"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473": "匯入宣告只能在模組的頂層使用。",
|
|
218
253
|
"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232": "匯入宣告只能在命名空間或模組的頂層使用。",
|
|
219
254
|
"An_import_declaration_cannot_have_modifiers_1191": "匯入宣告不得有修飾元。",
|
|
220
|
-
"
|
|
255
|
+
"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097": "當 'allowImportingTsExtensions' 啟用時,匯入路徑只能以 '{0}' 延伸模組結尾。",
|
|
221
256
|
"An_index_signature_cannot_have_a_rest_parameter_1017": "索引簽章不得有剩餘參數。",
|
|
222
257
|
"An_index_signature_cannot_have_a_trailing_comma_1025": "索引簽章結尾不可有逗號。",
|
|
223
258
|
"An_index_signature_must_have_a_type_annotation_1021": "索引簽章必須有類型註釋。",
|
|
@@ -231,7 +266,7 @@
|
|
|
231
266
|
"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477": "具現化運算式後面不能接著屬性存取。",
|
|
232
267
|
"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499": "介面只能擴充具有選擇性型別引數的識別碼/限定名稱。",
|
|
233
268
|
"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312": "介面只能延伸物件類型或具有靜態已知成員的物件類型交集。",
|
|
234
|
-
"
|
|
269
|
+
"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840": "無法延伸基本類型的介面,例如 '{0}'。其只能延伸其他具名物件類型。",
|
|
235
270
|
"An_interface_property_cannot_have_an_initializer_1246": "介面屬性不得有初始設定式。",
|
|
236
271
|
"An_iterator_must_have_a_next_method_2489": "迭代器必須要有 'next()' 方法。",
|
|
237
272
|
"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017": "在 JSX 片段使用 @jsx pragma 時,必須有 @jsxFrag pragma。",
|
|
@@ -239,14 +274,18 @@
|
|
|
239
274
|
"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117": "物件常值不能有多個相同名稱的屬性。",
|
|
240
275
|
"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119": "物件常值不得有同名的屬性與存取子。",
|
|
241
276
|
"An_object_member_cannot_be_declared_optional_1162": "不得將物件成員宣告為選擇性。",
|
|
277
|
+
"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861": "物件的 '[Symbol.hasInstance]' 方法必須傳回布林值,才能用於 『instanceof』 運算式的右側。",
|
|
242
278
|
"An_optional_chain_cannot_contain_private_identifiers_18030": "選擇性鏈結不能包含私人識別碼。",
|
|
243
279
|
"An_optional_element_cannot_follow_a_rest_element_1266": "選擇性元素不能跟在 REST 元素之後。",
|
|
244
280
|
"An_outer_value_of_this_is_shadowed_by_this_container_2738": "此容器已陰影 'this' 的外部值。",
|
|
245
281
|
"An_overload_signature_cannot_be_declared_as_a_generator_1222": "不可將多載簽章宣告為產生器。",
|
|
246
282
|
"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006": "乘冪運算式左邊不允許具 '{0}' 運算子的一元運算式。請考慮以括弧括住運算式。",
|
|
247
283
|
"Annotate_everything_with_types_from_JSDoc_95043": "標註具備 JSDoc 之類型的所有項目 ",
|
|
284
|
+
"Annotate_types_of_properties_expando_function_in_a_namespace_90071": "為命名空間中的屬性 expando 函式類型加上標註",
|
|
248
285
|
"Annotate_with_type_from_JSDoc_95009": "為來自 JSDoc 的類型標註",
|
|
249
286
|
"Another_export_default_is_here_2753": "其他匯出預設位於此處。",
|
|
287
|
+
"Any_Unicode_property_that_would_possibly_match_more_than_a_single_character_is_only_available_when_t_1528": "只有在設定 Unicode 設定 (v) 旗標時,才能使用任何可能比對超過一個字元的 Unicode 屬性。",
|
|
288
|
+
"Anything_that_would_possibly_match_more_than_a_single_character_is_invalid_inside_a_negated_characte_1518": "在否定字元類別中,任何可能比對超過一個字元的專案都無效。",
|
|
250
289
|
"Are_you_missing_a_semicolon_2734": "缺少分號嗎?",
|
|
251
290
|
"Argument_expression_expected_1135": "必須是引數運算式。",
|
|
252
291
|
"Argument_for_0_option_must_be_Colon_1_6046": "'{0}' 選項的引數必須是: {1}。",
|
|
@@ -255,13 +294,15 @@
|
|
|
255
294
|
"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379": "類型 '{0}' 的引數無法指派給類型為具有 'exactOptionalPropertyTypes: true' 的類型 '{1}' 的參數。請考慮將 'undefined' 新增到目標屬性的類型。",
|
|
256
295
|
"Arguments_for_the_rest_parameter_0_were_not_provided_6236": "未提供其餘參數 '{0}' 的引數。",
|
|
257
296
|
"Array_element_destructuring_pattern_expected_1181": "必須是陣列項目解構模式。",
|
|
297
|
+
"Arrays_with_spread_elements_can_t_inferred_with_isolatedDeclarations_9018": "具有擴張元素的陣列無法使用 --isolatedDeclarations 推斷。",
|
|
258
298
|
"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775": "判斷提示要求必須以明確的型別註解宣告呼叫目標中的每個名稱。",
|
|
259
299
|
"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776": "判斷提示要求呼叫目標必須為識別碼或限定名稱。",
|
|
300
|
+
"Assigning_properties_to_functions_without_declaring_them_is_not_supported_with_isolatedDeclarations__9023": "在未宣告的情況下,--isolatedDeclarations 不支援指派屬性給函式。新增指派給此函式之屬性的明確宣告。",
|
|
260
301
|
"Asterisk_Slash_expected_1010": "必須是 '*/'。",
|
|
302
|
+
"At_least_one_accessor_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9009": "至少一個存取子必須有具備 --isolatedDeclarations 的明確傳回類型註解。",
|
|
261
303
|
"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669": "全域範圍的增強指定只能在外部模組宣告或環境模組宣告直接巢狀。",
|
|
262
304
|
"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670": "除非全域範圍的增強指定已顯示在環境內容中,否則應含有 'declare' 修飾元。",
|
|
263
305
|
"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140": "專案 '{0}' 中已啟用鍵入的自動探索。正在使用快取位置 '{2}' 執行模組 '{1}' 的額外解析傳遞。",
|
|
264
|
-
"Await_expression_cannot_be_used_inside_a_class_static_block_18037": "Await 運算式無法在類別靜態區塊內使用。",
|
|
265
306
|
"BUILD_OPTIONS_6919": "建置選項",
|
|
266
307
|
"Backwards_Compatibility_6253": "回溯相容性",
|
|
267
308
|
"Base_class_expressions_cannot_reference_class_type_parameters_2562": "基底類別運算式無法參考類別型別參數。",
|
|
@@ -271,12 +312,14 @@
|
|
|
271
312
|
"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737": "當目標低於 ES2020 時,無法使用 BigInt 常值。",
|
|
272
313
|
"Binary_digit_expected_1177": "必須是二進位數字。",
|
|
273
314
|
"Binding_element_0_implicitly_has_an_1_type_7031": "繫結元素 '{0}' 隱含擁有 '{1}' 類型。",
|
|
315
|
+
"Binding_elements_can_t_be_exported_directly_with_isolatedDeclarations_9019": "無法使用 --isolatedDeclarations 直接匯出繫結元素。",
|
|
274
316
|
"Block_scoped_variable_0_used_before_its_declaration_2448": "已在其宣告之前使用區塊範圍變數 '{0}'。",
|
|
275
317
|
"Build_a_composite_project_in_the_working_directory_6925": "在工作目錄中建置複合專案。",
|
|
276
318
|
"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636": "建置包括似乎已是最新狀態的所有專案。",
|
|
277
319
|
"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364": "若已過期,則建置一或多個專案及其相依性",
|
|
278
320
|
"Build_option_0_requires_a_value_of_type_1_5073": "組建選項 '{0}' 需要 {1} 類型的值。",
|
|
279
321
|
"Building_project_0_6358": "正在建置專案 '{0}'...",
|
|
322
|
+
"Built_in_iterators_are_instantiated_with_a_TReturn_type_of_undefined_instead_of_any_6720": "內建 iterators 會以 'undefined' 而非 'any' 的 'TReturn' 類型具現化。",
|
|
280
323
|
"COMMAND_LINE_FLAGS_6921": "命令列旗標",
|
|
281
324
|
"COMMON_COMMANDS_6916": "一般命令",
|
|
282
325
|
"COMMON_COMPILER_OPTIONS_6920": "一般編譯器選項",
|
|
@@ -284,13 +327,13 @@
|
|
|
284
327
|
"Call_signature_return_types_0_and_1_are_incompatible_2202": "呼叫簽章傳回型別 '{0}' 與 '{1}' 不相容。",
|
|
285
328
|
"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020": "缺少傳回型別註解的呼叫簽章隱含了 'any' 傳回型別。",
|
|
286
329
|
"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204": "無引數呼叫簽章的傳回型別 '{0}' 與 '{1}' 不相容。",
|
|
287
|
-
"Call_target_does_not_contain_any_signatures_2346": "呼叫目標未包含任何特徵標記。",
|
|
288
330
|
"Can_only_convert_logical_AND_access_chains_95142": "只可轉換邏輯 AND 存取鏈結",
|
|
289
331
|
"Can_only_convert_named_export_95164": "只能轉換具名匯出",
|
|
290
332
|
"Can_only_convert_property_with_modifier_95137": "只能轉換具有修飾元的屬性",
|
|
291
|
-
"
|
|
333
|
+
"Can_only_convert_string_concatenations_and_string_literals_95154": "只能轉換字串串連和字串常值",
|
|
292
334
|
"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713": "因為 '{0}' 是類型而非命名空間,所以無法存取 '{0}.{1}'。您要在 '{0}' 中使用 '{0}[\"{1}\"]' 擷取屬性 '{1}' 的類型嗎?",
|
|
293
|
-
"
|
|
335
|
+
"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281": "啟用 '{1}' 時,無法從另一個不具備資格的檔案存取 '{0}'。請改用 '{2}'。",
|
|
336
|
+
"Cannot_access_ambient_const_enums_when_0_is_enabled_2748": "啟用 '{0}' 時,無法存取環境連續列舉。",
|
|
294
337
|
"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672": "無法將 '{0}' 建構函式類型指派至 '{1}' 建構函式類型。",
|
|
295
338
|
"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517": "無法將抽象建構函式類型指派給非抽象建構函式類型。",
|
|
296
339
|
"Cannot_assign_to_0_because_it_is_a_class_2629": "無法指派至 '{0}',因為其為類別。",
|
|
@@ -317,7 +360,7 @@
|
|
|
317
360
|
"Cannot_find_lib_definition_for_0_2726": "找不到 '{0}' 的程式庫定義。",
|
|
318
361
|
"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727": "找不到 '{0}' 的程式庫定義。您是指 '{1}' 嗎?",
|
|
319
362
|
"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732": "找不到模組 '{0}'。建議使用 '--resolveJsonModule',匯入副檔名為 '.json' 的模組。",
|
|
320
|
-
"
|
|
363
|
+
"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792": "找不到模組 '{0}'。您是要將 'moduleResolution' 選項設為 'nodenext',或是要將別名新增至 'paths' 選項?",
|
|
321
364
|
"Cannot_find_module_0_or_its_corresponding_type_declarations_2307": "找不到模組 '{0}' 或其對應的型別宣告。",
|
|
322
365
|
"Cannot_find_name_0_2304": "找不到名稱 '{0}'。",
|
|
323
366
|
"Cannot_find_name_0_Did_you_mean_1_2552": "找不到名稱 '{0}'。您指的是 '{1}' 嗎?",
|
|
@@ -326,6 +369,8 @@
|
|
|
326
369
|
"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311": "找不到名稱 '{0}'。您是否想要在非同步函數中寫入此專案?",
|
|
327
370
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583": "找不到名稱「{0}」。要變更您的目標程式庫嗎? 請嘗試將 'lib' 編譯器選項變更為「{1}」或更新版本。",
|
|
328
371
|
"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584": "找不到名稱「{0}」。要變更您的目標程式庫嗎? 請嘗試將 'lib' 編譯器選項變更為包含 'dom'。",
|
|
372
|
+
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2867": "找不到名稱 '{0}'。需要為 Bun 安裝類型定義嗎?請嘗試 `npm i --save-dev @types/bun`。",
|
|
373
|
+
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_Bun_Try_npm_i_save_dev_types_Slashbun_2868": "找不到名稱 '{0}'。需要為 Bun 安裝類型定義嗎?請嘗試 `npm i --save-dev @types/bun`,然後將 'bun' 新增至 tsconfig 中的類型欄位。",
|
|
329
374
|
"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`。",
|
|
330
375
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593": "找不到名稱「{0}」。需要為測試執行器安裝類型定義嗎? 請嘗試 `npm i --save-dev @types/jest` 或 `npm i --save-dev @types/mocha`,然後將 `jest` 或 `mocha` 新增至 tsconfig 中的類型欄位。",
|
|
331
376
|
"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581": "找不到名稱 '{0}'。需要安裝 jQuery 的型別定義嗎? 請嘗試 `npm i --save-dev @types/jquery`。",
|
|
@@ -345,16 +390,16 @@
|
|
|
345
390
|
"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765": "因為值的迭代器 'next' 方法需要類型 '{1}',但陣列解構永遠會傳送 '{0}',所以無法逐一查看值。",
|
|
346
391
|
"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764": "因為值的迭代器 'next' 方法需要類型 '{1}',但陣列擴張永遠會傳送 '{0}',所以無法逐一查看值。",
|
|
347
392
|
"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763": "因為值的迭代器 'next' 方法需要類型 '{1}',但 for-of 永遠會傳送 '{0}',所以無法逐一查看值。",
|
|
348
|
-
"
|
|
393
|
+
"Cannot_move_statements_to_the_selected_file_95183": "無法將陳述式移動至選取的檔案",
|
|
394
|
+
"Cannot_move_to_file_selected_file_is_invalid_95179": "無法移動至檔案,選取的檔案無效",
|
|
349
395
|
"Cannot_read_file_0_5083": "無法讀取檔案 '{0}'。",
|
|
350
396
|
"Cannot_read_file_0_Colon_1_5012": "無法讀取檔案 '{0}': {1}。",
|
|
351
397
|
"Cannot_redeclare_block_scoped_variable_0_2451": "無法重新宣告區塊範圍變數 '{0}'。",
|
|
352
398
|
"Cannot_redeclare_exported_variable_0_2323": "無法重新宣告匯出的變數 '{0}'。",
|
|
353
399
|
"Cannot_redeclare_identifier_0_in_catch_clause_2492": "無法在 Catch 子句中重新宣告識別碼 '{0}'。",
|
|
354
400
|
"Cannot_start_a_function_call_in_a_type_annotation_1441": "無法在類型註釋中啟動函式呼叫。",
|
|
355
|
-
"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376": "因為讀取檔案 '{1}' 時發生錯誤,所以無法更新專案 '{0}' 的輸出",
|
|
356
401
|
"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004": "除非有提供 '--jsx' 旗標,否則無法使用 JSX。",
|
|
357
|
-
"
|
|
402
|
+
"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269": "啟用 '{0}' 時,無法在類型或僅類型命名空間上使用 'export import'。",
|
|
358
403
|
"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148": "當 '--module' 為 'none' 時,無法使用匯入、匯出或模組增強指定。",
|
|
359
404
|
"Cannot_use_namespace_0_as_a_type_2709": "不得使用命名空間 '{0}' 作為類型。",
|
|
360
405
|
"Cannot_use_namespace_0_as_a_value_2708": "不得使用命名空間 '{0}' 作為值。",
|
|
@@ -371,6 +416,7 @@
|
|
|
371
416
|
"Change_extends_to_implements_90003": "將 [延伸] 變更至 [實作]5D;",
|
|
372
417
|
"Change_spelling_to_0_90022": "將拼字變更為 '{0}'",
|
|
373
418
|
"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700": "檢查是否已宣告但未在建構函式中設定的類別屬性。",
|
|
419
|
+
"Check_side_effect_imports_6806": "檢查副作用匯入。",
|
|
374
420
|
"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697": "檢查 'bind'、'call' 和 'apply' 方法的引數是否與原始函式相符。",
|
|
375
421
|
"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104": "檢查 '{0}' 是否為 '{1}' - '{2}' 的最長相符前置詞。",
|
|
376
422
|
"Circular_definition_of_import_alias_0_2303": "匯入別名 '{0}' 的循環定義。",
|
|
@@ -388,6 +434,7 @@
|
|
|
388
434
|
"Class_declaration_cannot_implement_overload_list_for_0_2813": "類別宣告無法為 '{0}' 實作多載清單。",
|
|
389
435
|
"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025": "類別宣告不能有一個以上的 `@augments` 或 `@extends` 標籤。",
|
|
390
436
|
"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036": "類別裝飾項目無法與靜態私人識別碼一起使用。請考慮移除實驗性裝飾項目。",
|
|
437
|
+
"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855": "父類別所定義的類別欄位 '{0}' 無法透過超級在子類別中存取。",
|
|
391
438
|
"Class_name_cannot_be_0_2414": "類別名稱不得為 '{0}'。",
|
|
392
439
|
"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725": "當目標為具有模組 {0} 的 ES5 時,類別名稱不可為 'Object'。",
|
|
393
440
|
"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417": "類別靜態端 '{0}' 不正確地擴充基底類別靜態端 '{1}'。",
|
|
@@ -397,6 +444,7 @@
|
|
|
397
444
|
"Command_line_Options_6171": "命令列選項",
|
|
398
445
|
"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020": "當路徑為專案組態檔或為 'tsconfig.json' 所在的資料夾時編譯專案。",
|
|
399
446
|
"Compiler_Diagnostics_6251": "編譯器診斷",
|
|
447
|
+
"Compiler_option_0_cannot_be_given_an_empty_string_18051": "編譯器選項 '{0}' 無法指定空字串。",
|
|
400
448
|
"Compiler_option_0_expects_an_argument_6044": "編譯器選項 '{0}' 必須要有一個引數。",
|
|
401
449
|
"Compiler_option_0_may_not_be_used_with_build_5094": "編譯器選項 '--{0}' 不能與 '--build' 一起使用。",
|
|
402
450
|
"Compiler_option_0_may_only_be_used_with_build_5093": "編譯器選項 '--{0}' 只能與 '--build' 一起使用。",
|
|
@@ -410,10 +458,12 @@
|
|
|
410
458
|
"Composite_projects_may_not_disable_declaration_emit_6304": "複合式專案可能未停用宣告發出。",
|
|
411
459
|
"Composite_projects_may_not_disable_incremental_compilation_6379": "複合專案可能不會停用累加編譯。",
|
|
412
460
|
"Computed_from_the_list_of_input_files_6911": "從輸入檔案清單計算",
|
|
461
|
+
"Computed_properties_must_be_number_or_string_literals_variables_or_dotted_expressions_with_isolatedD_9014": "計算屬性必須是具有 --isolatedDeclarations 的數字或字串常值、變數或點狀運算式。",
|
|
413
462
|
"Computed_property_names_are_not_allowed_in_enums_1164": "列舉中不能有計算的屬性名稱。",
|
|
463
|
+
"Computed_property_names_on_class_or_object_literals_cannot_be_inferred_with_isolatedDeclarations_9038": "無法使用 --isolatedDeclarations 推斷類別或物件常值上的計算屬性名稱。",
|
|
414
464
|
"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553": "具有字串值成員的列舉中不允許計算值。",
|
|
415
465
|
"Concatenate_and_emit_output_to_single_file_6001": "串連並發出輸出至單一檔案。",
|
|
416
|
-
"
|
|
466
|
+
"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410": "解析匯入時,除了解析程式特定預設值之外,還需要設定的條件。",
|
|
417
467
|
"Conflicts_are_in_this_file_6201": "此檔案中有衝突。",
|
|
418
468
|
"Consider_adding_a_declare_modifier_to_this_class_6506": "請考慮將 'declare' 修飾元加入此類別。",
|
|
419
469
|
"Construct_signature_return_types_0_and_1_are_incompatible_2203": "建構簽章傳回型別 '{0}' 與 '{1}' 不相容。",
|
|
@@ -433,7 +483,6 @@
|
|
|
433
483
|
"Convert_0_to_mapped_object_type_95055": "將 '{0}' 轉換為對應的物件類型",
|
|
434
484
|
"Convert_all_const_to_let_95102": "將所有 'const' 轉換為 'let'",
|
|
435
485
|
"Convert_all_constructor_functions_to_classes_95045": "將所有建構函式轉換為類別",
|
|
436
|
-
"Convert_all_imports_not_used_as_a_value_to_type_only_imports_1374": "將所有未作為值使用的匯入轉換為僅限類型的匯入",
|
|
437
486
|
"Convert_all_invalid_characters_to_HTML_entity_code_95101": "將所有無效字元轉換為 HTML 實體代碼",
|
|
438
487
|
"Convert_all_re_exported_types_to_type_only_exports_1365": "將所有重新匯出的類型轉換為僅限類型的匯出",
|
|
439
488
|
"Convert_all_require_to_import_95048": "將所有 'require' 轉換至 'import'",
|
|
@@ -441,6 +490,7 @@
|
|
|
441
490
|
"Convert_all_to_bigint_numeric_literals_95092": "全部轉換為 Bigint 數字常值",
|
|
442
491
|
"Convert_all_to_default_imports_95035": "全部轉換為預設匯入",
|
|
443
492
|
"Convert_all_type_literals_to_mapped_type_95021": "將所有類型常值轉換成相對應的類型",
|
|
493
|
+
"Convert_all_typedef_to_TypeScript_types_95177": "轉換所有 typedef 為 TypeScript 類型。",
|
|
444
494
|
"Convert_arrow_function_or_function_expression_95122": "轉換箭頭函式或函式運算式",
|
|
445
495
|
"Convert_const_to_let_95093": "將 'const' 轉換為 'let'",
|
|
446
496
|
"Convert_default_export_to_named_export_95061": "將預設匯出轉換為具名匯出",
|
|
@@ -465,7 +515,7 @@
|
|
|
465
515
|
"Convert_to_optional_chain_expression_95139": "轉換為選擇性鏈結運算式",
|
|
466
516
|
"Convert_to_template_string_95096": "轉換為範本字串",
|
|
467
517
|
"Convert_to_type_only_export_1364": "轉換為僅限類型的匯出",
|
|
468
|
-
"
|
|
518
|
+
"Convert_typedef_to_TypeScript_type_95176": "轉換 typedef 為 TypeScript 類型。",
|
|
469
519
|
"Corrupted_locale_file_0_6051": "地區設定檔 {0} 已損毀。",
|
|
470
520
|
"Could_not_convert_to_anonymous_function_95153": "無法轉換成匿名函式",
|
|
471
521
|
"Could_not_convert_to_arrow_function_95151": "無法轉換成箭頭函式",
|
|
@@ -480,15 +530,20 @@
|
|
|
480
530
|
"Could_not_find_name_0_Did_you_mean_1_2570": "找不到名稱 '{0}'。您是不是指 '{1}'?",
|
|
481
531
|
"Could_not_find_namespace_import_or_named_imports_95132": "找不到命名空間匯入或具名匯入",
|
|
482
532
|
"Could_not_find_property_for_which_to_generate_accessor_95135": "找不到要為其產生存取子的屬性",
|
|
533
|
+
"Could_not_find_variable_to_inline_95185": "找不到要內嵌的變數。",
|
|
483
534
|
"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231": "無法解析具有下列延伸模組的路徑 '{0}': {1}。",
|
|
484
535
|
"Could_not_write_file_0_Colon_1_5033": "無法編寫檔案 '{0}': {1}。",
|
|
485
536
|
"Create_source_map_files_for_emitted_JavaScript_files_6694": "建立發出 JavaScript 檔案的來源對應檔。",
|
|
486
537
|
"Create_sourcemaps_for_d_ts_files_6614": "為 d.ts 檔案建立 sourcemap。",
|
|
487
538
|
"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926": "使用建議設定在工作目錄中建立 tsconfig.json。",
|
|
488
539
|
"DIRECTORY_6038": "目錄",
|
|
540
|
+
"Decimal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_1537": "字元類別中不允許小數點逸出序列和反向參考。",
|
|
541
|
+
"Decimals_with_leading_zeros_are_not_allowed_1489": "不允許前置為零的小數點。",
|
|
489
542
|
"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232": "宣告會讓另一個檔案中的宣告增加。這無法序列化。",
|
|
543
|
+
"Declaration_emit_for_this_file_requires_preserving_this_import_for_augmentations_This_is_not_support_9026": "此檔案發出的宣告需要保留此匯入,以進行增強。該情況不受 --isolatedDeclarations 支援。",
|
|
490
544
|
"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005": "此檔案的宣告發出必須使用私人名稱 '{0}'。明確的型別註解可能會解除封鎖宣告發出。",
|
|
491
545
|
"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006": "此檔案的宣告發出必須使用來自模組 '{1}' 的私人名稱 '{0}'。明確的型別註解可能會解除封鎖宣告發出。",
|
|
546
|
+
"Declaration_emit_for_this_parameter_requires_implicitly_adding_undefined_to_it_s_type_This_is_not_su_9025": "此參數發出的宣告需要隱含地新增未定義值至其類型。該情況不受 --isolatedDeclarations 支援。",
|
|
492
547
|
"Declaration_expected_1146": "必須是宣告。",
|
|
493
548
|
"Declaration_name_conflicts_with_built_in_global_identifier_0_2397": "宣告名稱與內建全域識別碼 '{0}' 衝突。",
|
|
494
549
|
"Declaration_or_statement_expected_1128": "必須是宣告或陳述式。",
|
|
@@ -504,12 +559,14 @@
|
|
|
504
559
|
"Declare_static_property_0_90027": "宣告靜態屬性 '{0}'",
|
|
505
560
|
"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270": "裝飾項目函式傳回類型 '{0}' 無法指派給類型 '{1}'。",
|
|
506
561
|
"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271": "裝飾項目函式傳回類型是 '{0}',但必須是 'void' 或 'any'。",
|
|
562
|
+
"Decorator_used_before_export_here_1486": "在此處「匯出」之前使用的裝飾項目。",
|
|
507
563
|
"Decorators_are_not_valid_here_1206": "裝飾項目在此處無效。",
|
|
508
564
|
"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207": "無法將裝飾項目套用至多個同名的 get/set 存取子。",
|
|
509
|
-
"
|
|
565
|
+
"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038": "如果裝飾項目也出現在 'export' 之前,就不能出現在 'export' 或 'export default' 後。",
|
|
510
566
|
"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436": "裝飾項目必須在屬性宣告的名稱和所有關鍵詞之前。",
|
|
511
567
|
"Default_catch_clause_variables_as_unknown_instead_of_any_6803": "預設 catch 子句變數為 'unknown' 而非 'any'。",
|
|
512
568
|
"Default_export_of_the_module_has_or_is_using_private_name_0_4082": "模組的預設匯出具有或正在使用私用名稱 '{0}'。",
|
|
569
|
+
"Default_exports_can_t_be_inferred_with_isolatedDeclarations_9037": "無法使用 --isolatedDeclarations 推斷預設匯出。",
|
|
513
570
|
"Default_library_1424": "預設程式庫",
|
|
514
571
|
"Default_library_for_target_0_1425": "目標 '{0}' 的預設程式庫",
|
|
515
572
|
"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200": "下列識別碼的定義與其他檔案中的定義衝突: {0}",
|
|
@@ -541,6 +598,7 @@
|
|
|
541
598
|
"Disable_erasing_const_enum_declarations_in_generated_code_6682": "停用在產生的程式碼中抹除 'const enum' 宣告。",
|
|
542
599
|
"Disable_error_reporting_for_unreachable_code_6603": "停用無法執行到的程式碼錯誤報告。",
|
|
543
600
|
"Disable_error_reporting_for_unused_labels_6604": "停用未使用標籤的錯誤報表。",
|
|
601
|
+
"Disable_full_type_checking_only_critical_parse_and_emit_errors_will_be_reported_6805": "停用完整類型檢查 (只回報重要剖析和發出錯誤訊息)。",
|
|
544
602
|
"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661": "停用在編譯輸出中產生自訂的協助程式函式,例如 '__extends'。",
|
|
545
603
|
"Disable_including_any_library_files_including_the_default_lib_d_ts_6670": "停用包括任何程式庫檔案,包括預設的 lib.d.ts。",
|
|
546
604
|
"Disable_loading_referenced_projects_6235": "停用載入參考的專案。",
|
|
@@ -569,6 +627,7 @@
|
|
|
569
627
|
"Do_not_report_errors_on_unreachable_code_6077": "請勿回報無法執行到之程式碼的錯誤。",
|
|
570
628
|
"Do_not_report_errors_on_unused_labels_6074": "請勿回報未使用之標籤的錯誤。",
|
|
571
629
|
"Do_not_resolve_the_real_path_of_symlinks_6013": "請勿解析符號連結的真實路徑。",
|
|
630
|
+
"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804": "請勿轉換或省略任何未標示為僅限類型的匯入或匯出,請確保其是以輸出檔案的格式並根據 'module' 設定所撰寫。",
|
|
572
631
|
"Do_not_truncate_error_messages_6165": "不要截斷錯誤訊息。",
|
|
573
632
|
"Duplicate_function_implementation_2393": "函式實作重複。",
|
|
574
633
|
"Duplicate_identifier_0_2300": "識別碼 '{0}' 重複。",
|
|
@@ -583,10 +642,14 @@
|
|
|
583
642
|
"Duplicate_index_signature_for_type_0_2374": "類型 '{0}' 的索引簽章重複。",
|
|
584
643
|
"Duplicate_label_0_1114": "標籤 '{0}' 重複。",
|
|
585
644
|
"Duplicate_property_0_2718": "屬性 '{0}' 重複。",
|
|
645
|
+
"Duplicate_regular_expression_flag_1500": "重複的規則運算式旗標。",
|
|
586
646
|
"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036": "動態匯入的指定名稱必須屬於類型 'string',但這裡的類型為 '{0}'。",
|
|
587
647
|
"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'、'node16' 或 'nodenext',才支援動態匯入。",
|
|
588
|
-
"
|
|
589
|
-
"
|
|
648
|
+
"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450": "動態匯入只接受模組指定名稱和一系列選擇性屬性來做為引數",
|
|
649
|
+
"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_nodene_1324": "當 '--module' 選項設定為 'esnext'、'node16'、'nodenext' 或 'preserve' 時,動態匯入只支援第二個引數。",
|
|
650
|
+
"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_module_is_set_to_preserve_1293": "當 'module' 設定為 'preserve' 時,CommonJS 模組中不允許 ESM 語法。",
|
|
651
|
+
"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286": "啟用 'verbatimModuleSyntax' 時,CommonJS 模組中不允許 ESM 語法。",
|
|
652
|
+
"Each_declaration_of_0_1_differs_in_its_value_where_2_was_expected_but_3_was_given_4125": "'{0}.{1}' 的每個宣告值不同,其中應該要有 '{2}',但只包含 '{3}'。",
|
|
590
653
|
"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762": "等位型別 '{0}' 的每個成員都有建構簽章,但這些簽章都互不相容。",
|
|
591
654
|
"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758": "等位型別 '{0}' 的每個成員都有簽章,但這些簽章都互不相容。",
|
|
592
655
|
"Editor_Support_6249": "編輯器支援",
|
|
@@ -613,7 +676,8 @@
|
|
|
613
676
|
"Enable_error_reporting_in_type_checked_JavaScript_files_6609": "在已完成型別檢查的 JavaScript 檔案中啟用錯誤報表。",
|
|
614
677
|
"Enable_error_reporting_when_local_variables_aren_t_read_6675": "當未讀取區域變數時,啟用錯誤報吿。",
|
|
615
678
|
"Enable_error_reporting_when_this_is_given_the_type_any_6668": "為 'this' 指定類型 'any' 時,啟用錯誤報表。",
|
|
616
|
-
"
|
|
679
|
+
"Enable_experimental_support_for_legacy_experimental_decorators_6630": "啟用舊版實驗性裝飾項目的實驗性支援。",
|
|
680
|
+
"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264": "啟用匯入具有任何延伸模組的檔案,並存在宣告檔案即可。",
|
|
617
681
|
"Enable_importing_json_files_6689": "啟用匯入 json 檔案。",
|
|
618
682
|
"Enable_project_compilation_6302": "啟用專案編譯",
|
|
619
683
|
"Enable_strict_bind_call_and_apply_methods_on_functions_6214": "對函式啟用嚴格的 'bind'、'call' 及 'apply' 方法。",
|
|
@@ -632,6 +696,7 @@
|
|
|
632
696
|
"Ensure_that_casing_is_correct_in_imports_6637": "請確認 Imports 中的大小寫正確。",
|
|
633
697
|
"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645": "確保每個檔案都可安全地轉譯,而不依賴其他匯入。",
|
|
634
698
|
"Ensure_use_strict_is_always_emitted_6605": "確保永遠發出 'use strict'。",
|
|
699
|
+
"Entering_conditional_exports_6413": "正在進入條件式匯出。",
|
|
635
700
|
"Entry_point_for_implicit_type_library_0_1420": "隱含型別程式庫 '{0}' 的進入點",
|
|
636
701
|
"Entry_point_for_implicit_type_library_0_with_packageId_1_1421": "具有 packageId '{1}' 的隱含型別程式庫 '{0}' 進入點",
|
|
637
702
|
"Entry_point_of_type_library_0_specified_in_compilerOptions_1417": "在 CompilerOptions 中指定的型別程式庫 '{0}' 進入點",
|
|
@@ -640,24 +705,32 @@
|
|
|
640
705
|
"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567": "列舉宣告只能與命名空間或其他列舉宣告合併。",
|
|
641
706
|
"Enum_declarations_must_all_be_const_or_non_const_2473": "列舉宣告必須都是 const 或非 const。",
|
|
642
707
|
"Enum_member_expected_1132": "必須是列舉成員。",
|
|
708
|
+
"Enum_member_following_a_non_literal_numeric_member_must_have_an_initializer_when_isolatedModules_is__18056": "啟用 'isolatedModules' 時,跟隨非常值數值成員的列舉成員必須有初始設定式。",
|
|
709
|
+
"Enum_member_initializers_must_be_computable_without_references_to_external_symbols_with_isolatedDecl_9020": "列舉成員初始設定式必須是可計算,且不參考具有 --isolatedDeclarations 的外部符號。",
|
|
643
710
|
"Enum_member_must_have_initializer_1061": "列舉成員必須有初始設定式。",
|
|
644
711
|
"Enum_name_cannot_be_0_2431": "列舉名稱不得為 '{0}'。",
|
|
645
|
-
"Enum_type_0_has_members_with_initializers_that_are_not_literals_2535": "列舉類型 '{0}' 有初始設定式非常值的成員。",
|
|
646
712
|
"Errors_Files_6041": "錯誤檔案",
|
|
713
|
+
"Escape_sequence_0_is_not_allowed_1488": "不允許逸出序列 '{0}'。",
|
|
647
714
|
"Examples_Colon_0_6026": "範例: {0}",
|
|
715
|
+
"Excessive_complexity_comparing_types_0_and_1_2859": "過度複雜性比較類型 '{0}' 和 '{1}'。",
|
|
648
716
|
"Excessive_stack_depth_comparing_types_0_and_1_2321": "比較類型 '{0}' 與 '{1}' 的堆疊深度過深。",
|
|
717
|
+
"Exiting_conditional_exports_6416": "正在退出條件式匯出。",
|
|
649
718
|
"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027": "必須是 {0}-{1} 型別引數; 請提供有 '@ extends' 標記的這類型引數。",
|
|
650
719
|
"Expected_0_arguments_but_got_1_2554": "應有 {0} 個引數,但得到 {1} 個。",
|
|
651
720
|
"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794": "應為 {0} 個引數,但現有 {1} 個。是否忘記將型別引數中的 'void' 納入 'Promise' 中?",
|
|
652
721
|
"Expected_0_type_arguments_but_got_1_2558": "應有 {0} 個型別引數,但得到 {1} 個。",
|
|
653
722
|
"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026": "必須是 {0} 型別引數; 請提供有 '@ extends' 標記的這類引數。",
|
|
654
723
|
"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810": "需要 1 個引數,但得到 0。'new Promise()' 需要 JSDoc 提示,才能產生可以呼叫而不含引數的 'resolve'。",
|
|
724
|
+
"Expected_a_Unicode_property_name_1523": "必須是 Unicode 屬性名稱。",
|
|
725
|
+
"Expected_a_Unicode_property_name_or_value_1527": "必須是 Unicode 屬性名稱或值。",
|
|
726
|
+
"Expected_a_Unicode_property_value_1525": "必須是 Unicode 屬性值。",
|
|
727
|
+
"Expected_a_capturing_group_name_1514": "必須是擷取群組名稱。",
|
|
728
|
+
"Expected_a_class_set_operand_1520": "必須是類別集運算元。",
|
|
655
729
|
"Expected_at_least_0_arguments_but_got_1_2555": "至少應有 {0} 個引數,但得到 {1} 個。",
|
|
656
730
|
"Expected_corresponding_JSX_closing_tag_for_0_17002": "'{0}' 需要對應的 JSX 結尾標記。",
|
|
657
731
|
"Expected_corresponding_closing_tag_for_JSX_fragment_17015": "JSX 片段必須有對應的結尾標記。",
|
|
658
732
|
"Expected_for_property_initializer_1442": "屬性初始設定式必須是 '='。",
|
|
659
733
|
"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105": "在 'package.json' 中 '{0}' 欄位的類型必須為 '{1}',但取得 '{2}'。",
|
|
660
|
-
"Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Set_t_1219": "裝飾項目的實驗性支援是未來版本中可能會變更的功能。在 'tsconfig' 或 'jsconfig' 中設定 'experimentalDecorators' 選項可移除此警告。",
|
|
661
734
|
"Explicitly_specified_module_resolution_kind_Colon_0_6087": "明確指定的模組解析種類: '{0}'。",
|
|
662
735
|
"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791": "'target' 選項必須設定為 'es2016' 或更新版本,才可以對 'bigint' 值執行乘冪運算。",
|
|
663
736
|
"Export_0_from_module_1_90059": "從模組 '{1}' 匯出 '{0}'",
|
|
@@ -674,13 +747,20 @@
|
|
|
674
747
|
"Exported_variable_0_has_or_is_using_private_name_1_4025": "匯出的變數 '{0}' 具有或使用私用名稱 '{1}'。",
|
|
675
748
|
"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666": "模組增強指定中不允許匯出及匯出指派。",
|
|
676
749
|
"Expression_expected_1109": "必須是運算式。",
|
|
750
|
+
"Expression_must_be_enclosed_in_parentheses_to_be_used_as_a_decorator_1497": "表達式必須包含在括弧內,才能做為裝飾項目使用。",
|
|
677
751
|
"Expression_or_comma_expected_1137": "必須是運算式或逗號。",
|
|
678
752
|
"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800": "運算式產生的元組類型太大而無法表示。",
|
|
679
753
|
"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590": "運算式產生的等位型別過於複雜而無法表示。",
|
|
680
754
|
"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402": "運算式會解析成 '_super',而編譯器會使用其來擷取基底類別參考。",
|
|
681
755
|
"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544": "運算式將解析成變數宣告 '_newTarget',而供編譯器用來擷取 'new.target' 中繼屬性參考。",
|
|
682
756
|
"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400": "運算式會解析成變數宣告 '_this',而編譯器會使用此宣告來擷取 'this' 參考 。",
|
|
757
|
+
"Expression_type_can_t_be_inferred_with_isolatedDeclarations_9013": "無法使用 --isolatedDeclarations 推斷運算式類型。",
|
|
758
|
+
"Extends_clause_can_t_contain_an_expression_with_isolatedDeclarations_9021": "擴充子句不能包含具有 --isolatedDeclarations 的運算式。",
|
|
759
|
+
"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085": "推斷類型 '{0}' 的 'Extends' 子句包含或使用了私人名稱 '{1}'。",
|
|
760
|
+
"Extract_base_class_to_variable_90064": "擷取基底類別至變數",
|
|
761
|
+
"Extract_binding_expressions_to_variable_90066": "將繫結運算式擷取至變數",
|
|
683
762
|
"Extract_constant_95006": "擷取常數",
|
|
763
|
+
"Extract_default_export_to_variable_90065": "擷取預設匯出至變數",
|
|
684
764
|
"Extract_function_95005": "擷取函式",
|
|
685
765
|
"Extract_to_0_in_1_95004": "擷取至 {1} 中的 {0}",
|
|
686
766
|
"Extract_to_0_in_1_scope_95008": "擷取至 {1} 範圍中的 {0}",
|
|
@@ -688,23 +768,25 @@
|
|
|
688
768
|
"Extract_to_interface_95090": "擷取至介面",
|
|
689
769
|
"Extract_to_type_alias_95078": "擷取至類型別名",
|
|
690
770
|
"Extract_to_typedef_95079": "擷取至 typedef",
|
|
771
|
+
"Extract_to_variable_and_replace_with_0_as_typeof_0_90069": "擷取至變數,並以 '{0} as typeof {0}' 取代",
|
|
691
772
|
"Extract_type_95077": "擷取類型",
|
|
692
773
|
"FILE_6035": "檔案",
|
|
693
774
|
"FILE_OR_DIRECTORY_6040": "檔案或目錄",
|
|
694
|
-
"
|
|
775
|
+
"Failed_to_find_peerDependency_0_6283": "找不到 peerDependency '{0}'。",
|
|
776
|
+
"Failed_to_resolve_under_condition_0_6415": "在條件 '{0}' 下解析失敗。",
|
|
695
777
|
"Fallthrough_case_in_switch_7029": "參數中的 fallthrough 案例。",
|
|
696
778
|
"File_0_does_not_exist_6096": "檔案 '{0}' 不存在。",
|
|
697
779
|
"File_0_does_not_exist_according_to_earlier_cached_lookups_6240": "根據之前快取的查閱,檔案 '{0}' 不存在。",
|
|
698
|
-
"File_0_exist_use_it_as_a_name_resolution_result_6097": "檔案 '{0}' 存在 - 將其作為名稱解析結果使用。",
|
|
699
780
|
"File_0_exists_according_to_earlier_cached_lookups_6239": "根據之前快取的查閱,檔案 '{0}' 存在。",
|
|
781
|
+
"File_0_exists_use_it_as_a_name_resolution_result_6097": "檔案 '{0}' 存在 - 將其做為名稱解析結果使用。",
|
|
700
782
|
"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054": "不支援檔案 '{0}' 的副檔名。支援的副檔名只有 {1}。",
|
|
701
|
-
"File_0_has_an_unsupported_extension_so_skipping_it_6081": "因為不支援檔案 '{0}' 的副檔名,所以將其跳過。",
|
|
702
783
|
"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504": "檔案 '{0}' 為 JavaScript 檔案。您是要啟用 'allowJs' 選項嗎?",
|
|
703
784
|
"File_0_is_not_a_module_2306": "檔案 '{0}' 不是模組。",
|
|
704
785
|
"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307": "檔案 '{0}' 未列於專案 '{1}' 的檔案清單內。專案必須列出所有檔案,或使用 'include' 模式。",
|
|
705
786
|
"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059": "檔案 '{0}' 不在 'rootDir' '{1}' 之下。'rootDir' 必須包含所有原始程式檔。",
|
|
706
787
|
"File_0_not_found_6053": "找不到檔案 '{0}'。",
|
|
707
788
|
"File_Management_6245": "檔案管理",
|
|
789
|
+
"File_appears_to_be_binary_1490": "檔案顯示為二進位。",
|
|
708
790
|
"File_change_detected_Starting_incremental_compilation_6032": "偵測到檔案變更。正在啟動累加編譯...",
|
|
709
791
|
"File_is_CommonJS_module_because_0_does_not_have_field_type_1460": "檔案是 CommonJS 模組,因為 '{0}' 沒有 \"type\" 欄位",
|
|
710
792
|
"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459": "檔案是 CommonJS 模組,因為 '{0}' 具有值不是 \"module\" 的 \"type\" 欄位",
|
|
@@ -724,6 +806,7 @@
|
|
|
724
806
|
"File_is_output_of_project_reference_source_0_1428": "檔案是專案參考來源 '{0}' 的輸出",
|
|
725
807
|
"File_is_source_from_referenced_project_specified_here_1416": "檔案是此處指定參考專案的來源。",
|
|
726
808
|
"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149": "檔案名稱 '{0}' 與包含的檔案名稱 '{1}' 只差在大小寫。",
|
|
809
|
+
"File_name_0_has_a_1_extension_looking_up_2_instead_6262": "檔案名稱 '{0}' 具有 '{1}' 延伸模組 - 改為查詢 '{2}'。",
|
|
727
810
|
"File_name_0_has_a_1_extension_stripping_it_6132": "檔案名稱 '{0}' 的副檔名為 '{1}'。正予以移除。",
|
|
728
811
|
"File_redirects_to_file_0_1429": "檔案會重新導向檔案 '{0}'",
|
|
729
812
|
"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065": "檔案規格不得包含出現在遞迴目錄萬用字元 ('**') 之後的父目錄 ('..'): '{0}'。",
|
|
@@ -733,23 +816,25 @@
|
|
|
733
816
|
"Fix_all_expressions_possibly_missing_await_95085": "修正所有可能缺少 'await' 的運算式",
|
|
734
817
|
"Fix_all_implicit_this_errors_95107": "修正所有隱含 'this' 的錯誤",
|
|
735
818
|
"Fix_all_incorrect_return_type_of_an_async_functions_90037": "修正非同步函式所有不正確的傳回型別",
|
|
736
|
-
"
|
|
819
|
+
"Fix_all_with_type_only_imports_95182": "使用僅限類型匯入來修正所有問題",
|
|
737
820
|
"Found_0_errors_6217": "找到 {0} 個錯誤。",
|
|
738
821
|
"Found_0_errors_Watching_for_file_changes_6194": "找到 {0} 個錯誤。正在監看檔案變更。",
|
|
739
822
|
"Found_0_errors_in_1_files_6261": "在 {1} 檔案中發現 {0} 個錯誤。",
|
|
740
823
|
"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260": "在同一個檔案中發現 {0} 個錯誤,開始位置: {1}",
|
|
741
824
|
"Found_1_error_6216": "找到 1 個錯誤。",
|
|
742
825
|
"Found_1_error_Watching_for_file_changes_6193": "找到 1 個錯誤。正在監看檔案變更。",
|
|
743
|
-
"
|
|
826
|
+
"Found_1_error_in_0_6259": "在 {0} 找到 1 個錯誤",
|
|
744
827
|
"Found_package_json_at_0_6099": "在 '{0}' 找到 'package.json'。",
|
|
745
|
-
"
|
|
746
|
-
"
|
|
747
|
-
"
|
|
828
|
+
"Found_peerDependency_0_with_1_version_6282": "找到版本為 '{1}' 的 peerDependency '{0}'。",
|
|
829
|
+
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_1250": "以 'ES5' 為目標時,strict 模式下的區塊中不允許函式宣告。",
|
|
830
|
+
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Class_definiti_1251": "以 'ES5' 為目標時,strict 模式下的區塊中不允許函式宣告。類別定義會自動進入 strict 模式。",
|
|
831
|
+
"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES5_Modules_are_au_1252": "以 'ES5' 為目標時,strict 模式下的區塊中不允許函式宣告。模組會自動進入 strict 模式。",
|
|
748
832
|
"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011": "缺少傳回型別註解的函式運算式隱含了 '{0}' 傳回型別。",
|
|
749
833
|
"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391": "遺漏函式實作,或函式實作未緊接在宣告之後。",
|
|
750
834
|
"Function_implementation_name_must_be_0_2389": "函式實作名稱必須是 '{0}'。",
|
|
751
835
|
"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024": "函式因為沒有傳回型別註解,並在其中一個傳回運算式中直接或間接參考了自己,所以隱含了傳回型別 'any'。",
|
|
752
836
|
"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366": "函式缺少結束 return 陳述式,且傳回類型不包括 'undefined'。",
|
|
837
|
+
"Function_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9007": "函式必須有具備 --isolatedDeclarations 的明確傳回型別註解。",
|
|
753
838
|
"Function_not_implemented_95159": "未實作函式。",
|
|
754
839
|
"Function_overload_must_be_static_2387": "函式多載必須為靜態。",
|
|
755
840
|
"Function_overload_must_not_be_static_2388": "函式多載不可為靜態。",
|
|
@@ -785,6 +870,7 @@
|
|
|
785
870
|
"Identifier_expected_1003": "必須是識別碼。",
|
|
786
871
|
"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216": "必須有識別碼。'__esModule' 已保留為轉換 ECMAScript 模組時匯出的標記。",
|
|
787
872
|
"Identifier_or_string_literal_expected_1478": "需要識別碼或字串常值。",
|
|
873
|
+
"Identifier_string_literal_or_number_literal_expected_1496": "必須是識別碼、字串常值或數字常值。",
|
|
788
874
|
"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040": "如果「{0}」套件實際上公開了此模組,請考慮傳送提取要求以修改 「https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}」",
|
|
789
875
|
"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058": "如果 '{0}' 套件的確公開了此模組,請嘗試新增包含 `declare module '{1}';` 的宣告 (.d.ts) 檔案。",
|
|
790
876
|
"Ignore_this_error_message_90019": "略過此錯誤訊息",
|
|
@@ -795,12 +881,18 @@
|
|
|
795
881
|
"Implement_interface_0_90006": "實作介面 '{0}'",
|
|
796
882
|
"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019": "匯出類別 '{0}' 的 Implements 子句具有或使用私用名稱 '{1}'。",
|
|
797
883
|
"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731": "在執行階段中無法將 'symbol' 隱含轉換為 'string'。請考慮將此運算式包裝在 'String(...)' 中。",
|
|
884
|
+
"Import_0_conflicts_with_global_value_used_in_this_file_so_must_be_declared_with_a_type_only_import_w_2866": "匯入 '{0}' 會與此檔案中使用的全域值發生衝突,因此在啟用 'isolatedModules' 時,必須使用僅限類型的匯入宣告。",
|
|
885
|
+
"Import_0_conflicts_with_local_value_so_must_be_declared_with_a_type_only_import_when_isolatedModules_2865": "匯入 '{0}' 會與本機值發生衝突,因此在啟用 'isolatedModules' 時,必須使用僅限類型的匯入宣告。",
|
|
798
886
|
"Import_0_from_1_90013": "從 \"{1}\" 匯入 '{0}'",
|
|
799
887
|
"Import_assertion_values_must_be_string_literal_expressions_2837": "匯入判斷提示值必須是字串常值運算式。",
|
|
800
|
-
"
|
|
801
|
-
"
|
|
888
|
+
"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836": "編譯為 CommonJS 'require' 呼叫的陳述式上不允許匯入判斷提示。",
|
|
889
|
+
"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2821": "只有當 '--module' 選項設定為 'esnext'、'nodenext' 或 'preserve' 時,才支援匯入判斷提示。",
|
|
802
890
|
"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822": "匯入判斷提示不能與僅限類型的匯入或匯出搭配使用。",
|
|
803
891
|
"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\"' 或其他模組格式。",
|
|
892
|
+
"Import_attribute_values_must_be_string_literal_expressions_2858": "匯入屬性值必須是字串常值運算式。",
|
|
893
|
+
"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856": "編譯為 CommonJS 'require' 呼叫的陳述式上不允許匯入屬性。",
|
|
894
|
+
"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_nodenext_or_preserve_2823": "只有當 '--module' 選項設定為 'esnext'、'nodenext' 或 'preserve’ 時,才支援匯入屬性。",
|
|
895
|
+
"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857": "匯入屬性不能與僅限類型的匯入或匯出搭配使用。",
|
|
804
896
|
"Import_declaration_0_is_using_private_name_1_4000": "匯入宣告 '{0}' 使用私用名稱 '{1}'。",
|
|
805
897
|
"Import_declaration_conflicts_with_local_declaration_of_0_2440": "匯入宣告與 '{0}' 的區域宣告衝突。",
|
|
806
898
|
"Import_declarations_in_a_namespace_cannot_reference_a_module_1147": "命名空間中的匯入宣告不得參考模組。",
|
|
@@ -824,6 +916,7 @@
|
|
|
824
916
|
"Include_sourcemap_files_inside_the_emitted_JavaScript_6643": "在發出的 JavaScript 中包含 sourcemap 檔案。",
|
|
825
917
|
"Includes_imports_of_types_referenced_by_0_90054": "包括 '{0}' 參考的類型匯入",
|
|
826
918
|
"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914": "包括 --watch、-w 會開始監看目前專案是否有檔案變更。設定之後,您便可以使用以下來設定監看式模式:",
|
|
919
|
+
"Incomplete_quantifier_Digit_expected_1505": "不完整的數量詞。必須是數字。",
|
|
827
920
|
"Index_signature_for_type_0_is_missing_in_type_1_2329": "類型 '{0}' 的索引簽章在類型 '{1}' 中遺失。",
|
|
828
921
|
"Index_signature_in_type_0_only_permits_reading_2542": "類型 '{0}' 中的索引簽章只允許讀取。",
|
|
829
922
|
"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395": "合併宣告 '{0}' 中的個別宣告必須全部匯出或全在本機上。",
|
|
@@ -832,13 +925,14 @@
|
|
|
832
925
|
"Infer_parameter_types_from_usage_95012": "從使用方式推斷參數類型",
|
|
833
926
|
"Infer_this_type_of_0_from_usage_95080": "從使用方式推斷 '{0}' 的 'this' 類型",
|
|
834
927
|
"Infer_type_of_0_from_usage_95011": "從使用方式推斷 '{0}' 的類型",
|
|
928
|
+
"Inference_from_class_expressions_is_not_supported_with_isolatedDeclarations_9022": "--isolatedDeclarations 不支援來自類別運算式的推斷。",
|
|
835
929
|
"Initialize_property_0_in_the_constructor_90020": "將建構函式中的屬性 '{0}' 初始化",
|
|
836
930
|
"Initialize_static_property_0_90021": "將靜態屬性 '{0}' 初始化",
|
|
837
931
|
"Initializer_for_property_0_2811": "屬性 '{0}' 的初始設定式",
|
|
838
932
|
"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301": "執行個體成員變數 '{0}' 的初始設定式不得參考建構函式中所宣告的識別碼 '{1}'。",
|
|
839
|
-
"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525": "初始設定式未提供任何值給這個繫結項目,且該繫結項目沒有預設值。",
|
|
840
933
|
"Initializers_are_not_allowed_in_ambient_contexts_1039": "環境內容中不得有初始設定式。",
|
|
841
934
|
"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070": "初始化 TypeScript 專案並建立 tsconfig.json 檔案。",
|
|
935
|
+
"Inline_variable_95184": "內嵌變數",
|
|
842
936
|
"Insert_command_line_options_and_files_from_a_file_6030": "從檔案插入命令列選項與檔案。",
|
|
843
937
|
"Install_0_95014": "安裝 '{0}'",
|
|
844
938
|
"Install_all_missing_types_packages_95033": "安裝缺少的所有類型套件",
|
|
@@ -855,9 +949,11 @@
|
|
|
855
949
|
"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664": "增強指定中的模組名稱無效,找不到模組 '{0}'。",
|
|
856
950
|
"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209": "新運算式的選擇性鏈結無效。您想要呼叫 '{0}()' 嗎?",
|
|
857
951
|
"Invalid_reference_directive_syntax_1084": "無效的 'reference' 指示詞語法。",
|
|
952
|
+
"Invalid_syntax_in_decorator_1498": "裝飾項目中無效的語法。",
|
|
858
953
|
"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039": "'{0}' 的使用無效。不能在類別靜態區塊內使用。",
|
|
859
954
|
"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215": "'{0}' 的用法無效。模組會自動採用 strict 模式。",
|
|
860
955
|
"Invalid_use_of_0_in_strict_mode_1100": "在 strict 模式中使用 '{0}' 無效。",
|
|
956
|
+
"Invalid_value_for_ignoreDeprecations_5103": "'--ignoreDeprecations' 的值無效。",
|
|
861
957
|
"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067": "'jsxFactory' 的值無效。'{0}' 不是有效的識別碼或限定名稱。",
|
|
862
958
|
"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035": "'jsxFragmentFactory' 的值無效。'{0}' 不是有效的識別碼或限定名稱。",
|
|
863
959
|
"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059": "'--reactNamespace' 的值無效。'{0}' 不是有效的識別碼。",
|
|
@@ -865,12 +961,15 @@
|
|
|
865
961
|
"Its_element_type_0_is_not_a_valid_JSX_element_2789": "其元素類型 '{0}' 不是有效的 JSX 元素。",
|
|
866
962
|
"Its_instance_type_0_is_not_a_valid_JSX_element_2788": "其執行個體類型 '{0}' 不是有效的 JSX 元素。",
|
|
867
963
|
"Its_return_type_0_is_not_a_valid_JSX_element_2787": "其傳回型別 '{0}' 不是有效的 JSX 元素。",
|
|
964
|
+
"Its_type_0_is_not_a_valid_JSX_element_type_18053": "其類型 '{0}' 不是有效的 JSX 元素類型。",
|
|
868
965
|
"JSDoc_0_1_does_not_match_the_extends_2_clause_8023": "JSDoc '@{0} {1}' 不符合 'extends {2}' 子句。",
|
|
869
966
|
"JSDoc_0_is_not_attached_to_a_class_8022": "JSDoc ''@{0}' 未連結到類別。",
|
|
870
967
|
"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028": "JSDoc '...' 只能出現在特徵標記的最後一個參數中。",
|
|
871
968
|
"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024": "JSDoc '@param' 標記的名稱為 '{0}',但沒有為該名稱的參數。",
|
|
872
969
|
"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029": "JSDoc '@param' 標籤的名稱為 '{0}',但沒有任何參數使用該名稱。如有陣列類型,則會與 'arguments' 相符。",
|
|
970
|
+
"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009": "JSDoc typedef 可以轉換成 TypeScript 類型。",
|
|
873
971
|
"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021": "JSDoc '@typedef' 標記應具有類型註解,或者其後接著 '@property' 或 '@member' 標記。",
|
|
972
|
+
"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010": "JSDoc typedefs 可以轉換成 TypeScript 類型。",
|
|
874
973
|
"JSDoc_types_can_only_be_used_inside_documentation_comments_8020": "JSDoc 類型只能在文件註解中使用。",
|
|
875
974
|
"JSDoc_types_may_be_moved_to_TypeScript_types_80004": "JSDoc 類型可移為 TypeScript 類型。",
|
|
876
975
|
"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000": "只能將非空白的 'expression' 指派給 JSX 屬性。",
|
|
@@ -900,8 +999,8 @@
|
|
|
900
999
|
"List_of_folders_to_include_type_definitions_from_6161": "要包含之類型定義所屬資料夾的清單。",
|
|
901
1000
|
"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168": "資料夾的清單。這些資料夾內所含的合併內容代表了專案在執行階段時的結果。",
|
|
902
1001
|
"Loading_0_from_the_root_dir_1_candidate_location_2_6109": "正在從根目錄 '{1}',候選位置 '{2}' 載入 '{0}'。",
|
|
903
|
-
"
|
|
904
|
-
"
|
|
1002
|
+
"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098": "正在從 'node_modules' 資料夾載入模組 '{0}',目標檔案類型: {1}。",
|
|
1003
|
+
"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095": "正在將模組載入為檔案/資料夾,候選模組位置 '{0}',目標檔案類型: {1}。",
|
|
905
1004
|
"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048": "地區設定的格式必須是 <語言> 或 <語言>-<國家/地區>。例如 '{0}' 或 '{1}'。",
|
|
906
1005
|
"Log_paths_used_during_the_moduleResolution_process_6706": "在 'moduleResolution' 處理序期間使用的記錄檔路徑。",
|
|
907
1006
|
"Longest_matching_prefix_for_0_is_1_6108": "符合 '{0}' 的前置詞最長為 '{1}'。",
|
|
@@ -910,6 +1009,7 @@
|
|
|
910
1009
|
"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650": "僅讓 keyof 傳回字串,而不是單一字串、數字或符號。舊版選項。",
|
|
911
1010
|
"Make_super_call_the_first_statement_in_the_constructor_90002": "使 'super()' 呼叫成為建構函式中的第一個陳述式",
|
|
912
1011
|
"Mapped_object_type_implicitly_has_an_any_template_type_7039": "對應的物件類型隱含具有 'any' 範本類型。",
|
|
1012
|
+
"Mark_array_literal_as_const_90070": "標記陣列常值為常數",
|
|
913
1013
|
"Matched_0_condition_1_6403": "符合 '{0}' 條件 '{1}'。",
|
|
914
1014
|
"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457": "依預設比對包含模式 '**/*'",
|
|
915
1015
|
"Matched_by_include_pattern_0_in_1_1407": "依 '{1}' 中的包含模式 '{0}' 比對",
|
|
@@ -921,6 +1021,7 @@
|
|
|
921
1021
|
"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245": "因為方法 '{0}' 已標記為抽象,所以不可具有實作。",
|
|
922
1022
|
"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101": "匯出介面的方法 '{0}' 具有或使用私用模組 '{2}' 的名稱 '{1}'。",
|
|
923
1023
|
"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102": "匯出介面的方法 '{0}' 具有或使用私用名稱 '{1}'。",
|
|
1024
|
+
"Method_must_have_an_explicit_return_type_annotation_with_isolatedDeclarations_9008": "方法必須有具備 --isolatedDeclarations 的明確傳回型別註解。",
|
|
924
1025
|
"Method_not_implemented_95158": "未實作方法。",
|
|
925
1026
|
"Modifiers_cannot_appear_here_1184": "此處不得出現修飾元。",
|
|
926
1027
|
"Module_0_can_only_be_default_imported_using_the_1_flag_1259": "模組 '{0}' 只能依預設使用 '{1}' 旗標匯入",
|
|
@@ -936,8 +1037,8 @@
|
|
|
936
1037
|
"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614": "模組 '{0}' 沒有匯出的成員 '{1}'。您是要改用 'import {1} from {0}' 嗎?",
|
|
937
1038
|
"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437": "同名的區域宣告隱藏了模組 '{0}'。",
|
|
938
1039
|
"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498": "模組 '{0}' 使用 'export =',因而無法以 'export *' 的方式使用。",
|
|
939
|
-
"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145": "此檔案未修改,因此模組 '{0}' 已解析為在 '{1}' 中所宣告的環境模組。",
|
|
940
1040
|
"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144": "模組 '{0}' 在檔案 '{1}' 中已解析為本機宣告的環境模組。",
|
|
1041
|
+
"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263": "模組 '{0}' 已解析為 '{1}',但是尚未設定 '--allowArbitraryExtensions'。",
|
|
941
1042
|
"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142": "模組 '{0}' 已解析為 '{1}',但未設定 '--jsx'。",
|
|
942
1043
|
"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042": "模組 '{0}' 已解析為 '{1}',但未使用 '--resolveJsonModule'。",
|
|
943
1044
|
"Module_declaration_names_may_only_use_or_quoted_strings_1443": "模組宣告名稱只能使用 ' 或 \" 引用的字串。",
|
|
@@ -949,15 +1050,21 @@
|
|
|
949
1050
|
"Module_resolution_using_rootDirs_has_failed_6111": "使用 'rootDirs' 解析模組失敗。",
|
|
950
1051
|
"Modules_6244": "模組",
|
|
951
1052
|
"Move_labeled_tuple_element_modifiers_to_labels_95117": "將標記的元組元素修飾元移至標籤",
|
|
1053
|
+
"Move_the_expression_in_default_export_to_a_variable_and_add_a_type_annotation_to_it_9036": "將預設匯出中的運算式移動到變數,並在其中新增類型註釋。",
|
|
952
1054
|
"Move_to_a_new_file_95049": "移至新檔",
|
|
1055
|
+
"Move_to_file_95178": "移動至檔案",
|
|
953
1056
|
"Multiple_consecutive_numeric_separators_are_not_permitted_6189": "不允許多個連續的數字分隔符號。",
|
|
954
1057
|
"Multiple_constructor_implementations_are_not_allowed_2392": "不允許多個建構函式實作。",
|
|
955
1058
|
"NEWLINE_6061": "新行",
|
|
956
1059
|
"Name_is_not_valid_95136": "名稱無效",
|
|
1060
|
+
"Named_capturing_groups_are_only_available_when_targeting_ES2018_or_later_1503": "只有以 'ES2018' 或更新版本為目標時,才可以使用具名擷取群組。",
|
|
1061
|
+
"Named_capturing_groups_with_the_same_name_must_be_mutually_exclusive_to_each_other_1515": "具有相同名稱的命名擷取群組必須互相排除。",
|
|
957
1062
|
"Named_property_0_of_types_1_and_2_are_not_identical_2319": "類型 '{1}' 及 '{2}' 的具名屬性 '{0}' 不一致。",
|
|
958
1063
|
"Namespace_0_has_no_exported_member_1_2694": "命名空間 '{0}' 沒有匯出的成員 '{1}'。",
|
|
959
1064
|
"Namespace_must_be_given_a_name_1437": "必須為命名空間指定名稱。",
|
|
960
1065
|
"Namespace_name_cannot_be_0_2819": "命名空間名稱不得為 '{0}'。",
|
|
1066
|
+
"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280": "啟用 '{0}' 時,在全域指令碼檔案中不允許命名空間。如果此檔案不是預定為全域指令碼,將 'moduleDetection' 設定為 'force',或新增空白的 'export {}' 陳述式。",
|
|
1067
|
+
"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433": "裝飾項目和修飾元都無法套用至 'this' 參數。",
|
|
961
1068
|
"No_base_constructor_has_the_specified_number_of_type_arguments_2508": "沒有任何基底建構函式具有指定的類型引數數量。",
|
|
962
1069
|
"No_constituent_of_type_0_is_callable_2755": "無法呼叫 '{0}' 類型的任何構件。",
|
|
963
1070
|
"No_constituent_of_type_0_is_constructable_2759": "無法建構 '{0}' 類型的任何構件。",
|
|
@@ -970,13 +1077,18 @@
|
|
|
970
1077
|
"No_type_could_be_extracted_from_this_type_node_95134": "無法從此類型節點擷取任何類型",
|
|
971
1078
|
"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004": "速記屬性 '{0}' 的範圍中不存在任何值。請宣告一個值或提供初始設定式。",
|
|
972
1079
|
"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515": "非抽象類別 '{0}' 未實作從類別 '{2}' 繼承而來的抽象成員 '{1}'。",
|
|
1080
|
+
"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_2654": "下列 '{1}' 成員缺少非抽象類別 '{0}' 的實作: {2}。",
|
|
1081
|
+
"Non_abstract_class_0_is_missing_implementations_for_the_following_members_of_1_Colon_2_and_3_more_2655": "下列 '{1}' 成員缺少非抽象類別 '{0}' 的實作: {2} 和 {3} 等。",
|
|
973
1082
|
"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653": "非抽象類別運算式未實作從類別 '{1}' 繼承而來的抽象成員 '{0}'。",
|
|
1083
|
+
"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_2656": "下列 '{0}' 成員缺少非抽象類別運算式的實作: {1}。",
|
|
1084
|
+
"Non_abstract_class_expression_is_missing_implementations_for_the_following_members_of_0_Colon_1_and__2650": "下列 '{0}' 成員缺少非抽象類別運算式的實作: {1} 和 {2} 等。",
|
|
974
1085
|
"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013": "非 Null 的判斷提示只可用於 TypeScript 檔案中。",
|
|
975
1086
|
"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090": "未設定 'baseUrl' 時,不得使用非相對路徑。是否忘記使用前置 './'?",
|
|
976
1087
|
"Non_simple_parameter_declared_here_1348": "非簡易參數已宣告於此處。",
|
|
977
1088
|
"Not_all_code_paths_return_a_value_7030": "部分程式碼路徑並未傳回值。",
|
|
978
1089
|
"Not_all_constituents_of_type_0_are_callable_2756": "'{0}' 類型的構件並非都可呼叫。",
|
|
979
1090
|
"Not_all_constituents_of_type_0_are_constructable_2760": "'{0}' 類型的構件並非都可構建。",
|
|
1091
|
+
"Numbers_out_of_order_in_quantifier_1506": "數字在數量詞中失序。",
|
|
980
1092
|
"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008": "絕對值等於或大於 2^53 的數字常值過大,無法準確地表示為整數。",
|
|
981
1093
|
"Numeric_separators_are_not_allowed_here_6188": "這裡不允許數字分隔符號。",
|
|
982
1094
|
"Object_is_of_type_unknown_2571": "物件的類型為 '未知'。",
|
|
@@ -986,46 +1098,58 @@
|
|
|
986
1098
|
"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353": "物件常值只可指定已知的屬性,且類型 '{1}' 中沒有 '{0}'。",
|
|
987
1099
|
"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561": "物件常值只會指定已知的屬性,但類型 '{1}' 中沒有 '{0}'。您是否想要寫入 '{2}'?",
|
|
988
1100
|
"Object_literal_s_property_0_implicitly_has_an_1_type_7018": "物件常值的屬性 '{0}' 隱含了 '{1}' 類型。",
|
|
1101
|
+
"Objects_that_contain_shorthand_properties_can_t_be_inferred_with_isolatedDeclarations_9016": "無法使用 --isolatedDeclarations 推斷包含速記屬性的物件。",
|
|
1102
|
+
"Objects_that_contain_spread_assignments_can_t_be_inferred_with_isolatedDeclarations_9015": "無法使用 --isolatedDeclarations 推斷包含擴張作業的物件。",
|
|
989
1103
|
"Octal_digit_expected_1178": "必須是八進位數字。",
|
|
990
|
-
"
|
|
991
|
-
"
|
|
992
|
-
"
|
|
993
|
-
"
|
|
1104
|
+
"Octal_escape_sequences_and_backreferences_are_not_allowed_in_a_character_class_If_this_was_intended__1536": "字元類別中不允許八進位逸出序列和反向參考。如果要做為逸出序列,請改用語法 '{0}'。",
|
|
1105
|
+
"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487": "不允許八進位逸出序列。請使用語法 '{0}'。",
|
|
1106
|
+
"Octal_literals_are_not_allowed_Use_the_syntax_0_1121": "不允許八進位常值。請使用語法 '{0}'。",
|
|
1107
|
+
"One_value_of_0_1_is_the_string_2_and_the_other_is_assumed_to_be_an_unknown_numeric_value_4126": "'{0}.{1}' 的一個值是字串 '{2}',另一個值假設為未知的數值。",
|
|
994
1108
|
"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091": "'for...in' 陳述式中只可包含一個變數宣告。",
|
|
995
1109
|
"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188": "'for...of' 陳述式只能包含一個變數宣告。",
|
|
996
1110
|
"Only_a_void_function_can_be_called_with_the_new_keyword_2350": "只有 void 函式可以使用 'new' 關鍵字進行呼叫。",
|
|
997
1111
|
"Only_ambient_modules_can_use_quoted_names_1035": "只有環境模組可以使用括以引號的名稱。",
|
|
998
1112
|
"Only_amd_and_system_modules_are_supported_alongside_0_6082": "只有 'amd' 與 'system' 模組連同受支援 --{0}。",
|
|
1113
|
+
"Only_const_arrays_can_be_inferred_with_isolatedDeclarations_9017": "僅常數陣列可以使用 --isolatedDeclarations 推斷。",
|
|
999
1114
|
"Only_emit_d_ts_declaration_files_6014": "只發出 '.d.ts' 宣告檔案。",
|
|
1000
|
-
"Only_named_exports_may_use_export_type_1383": "只有具名的匯出可以使用 'export type'。",
|
|
1001
|
-
"Only_numeric_enums_can_have_computed_members_but_this_expression_has_type_0_If_you_do_not_need_exhau_18033": "只有數值列舉才可以有計算成員,但此運算式的類型為 '{0}'。若您不需要詳細檢查,請考慮改用物件常值。",
|
|
1002
1115
|
"Only_output_d_ts_files_and_not_JavaScript_files_6623": "只輸出 d.ts 檔案,而不是 JavaScript 檔案。",
|
|
1003
1116
|
"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340": "只有基底類別之公開且受保護的方法,才可透過 'super' 關鍵字存取。",
|
|
1004
1117
|
"Operator_0_cannot_be_applied_to_type_1_2736": "無法將運算子 '{0}' 套用至類型 '{1}'。",
|
|
1005
1118
|
"Operator_0_cannot_be_applied_to_types_1_and_2_2365": "無法將運算子 '{0}' 套用至類型 '{1}' 和 '{2}'。",
|
|
1119
|
+
"Operators_must_not_be_mixed_within_a_character_class_Wrap_it_in_a_nested_class_instead_1519": "運算子不得混合在字元類別中。改為將運算子包裝在巢狀類別中。",
|
|
1006
1120
|
"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619": "在編輯時從多專案參考檢查選擇一個專案。",
|
|
1121
|
+
"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108": "已移除選項 '{0}={1}'。請將該選項從您的設定中移除。",
|
|
1122
|
+
"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107": "選項 '{0}={1}' 已被取代,將在 TypeScript {2} 中停止運作。指定 compilerOption '\"ignoreDeprecations\": \"{3}\"' 以沉默此錯誤。",
|
|
1007
1123
|
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230": "只能在 'tsconfig.json' 檔案中指定 '{0}' 選項,或在命令列上將其設定為 'false' 或 'null'。",
|
|
1008
1124
|
"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064": "只能在 'tsconfig.json' 檔案中指定 '{0}' 選項,或在命令列上將其設定為 'null'。",
|
|
1125
|
+
"Option_0_can_only_be_specified_on_command_line_6266": "選項 '{0}' 只能在命令列中指定。",
|
|
1009
1126
|
"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051": "只有在已提供選項 '--inlineSourceMap' 或選項 '--sourceMap' 時,才可使用選項 '{0}'。",
|
|
1127
|
+
"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098": "只有當 'moduleResolution' 設定為 'node16'、'nodenext' 或 'bundler' 時,才可以使用選項 '{0}'。",
|
|
1128
|
+
"Option_0_can_only_be_used_when_module_is_set_to_preserve_or_to_es2015_or_later_5095": "只有當 'module' 設定為 'preserve'、'es2015' 或更新版本時,才能使用 '{0}' 選項。",
|
|
1010
1129
|
"Option_0_cannot_be_specified_when_option_jsx_is_1_5089": "當選項 'jsx' 為 '{1}' 時,無法指定選項 '{0}'。",
|
|
1011
|
-
"Option_0_cannot_be_specified_when_option_target_is_ES3_5048": "當選項 'target' 為 'ES3' 時,無法指定選項 '{0}'。",
|
|
1012
1130
|
"Option_0_cannot_be_specified_with_option_1_5053": "不得同時指定選項 '{0}' 與選項 '{1}'。",
|
|
1013
1131
|
"Option_0_cannot_be_specified_without_specifying_option_1_5052": "必須指定選項 '{1}' 才可指定選項 '{0}'。",
|
|
1014
1132
|
"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069": "指定選項 '{0}' 時,必須指定選項 '{1}' 或選項 '{2}'。",
|
|
1133
|
+
"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102": "已移除選項 '{0}'。請將該選項從您的設定中移除。",
|
|
1134
|
+
"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101": "選項 '{0}' 已被取代,將在 TypeScript {1} 中停止運作。指定 compilerOption '\"ignoreDeprecations\": \"{2}\"' 以沉默此錯誤。",
|
|
1135
|
+
"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104": "選項 '{0}' 為多餘且不得與選項 '{1}'一起指定。",
|
|
1136
|
+
"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096": "僅在已設定 'noEmit' 或 'emitDeclarationOnly' 時,才能使用選項 'allowImportingTsExtensions'。",
|
|
1015
1137
|
"Option_build_must_be_the_first_command_line_argument_6369": "選項 '--build' 必須是第一個命令列引數。",
|
|
1016
1138
|
"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074": "只有在使用 tsconfig、發出至單一檔案,或指定 '--tsBuildInfoFile' 選項時,才可指定 '--incremental'選項。",
|
|
1017
1139
|
"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047": "只有在提供選項 '--module' 或是 'target' 為 'ES2015' 或更高項目時,才可使用選項 'isolatedModules'。",
|
|
1018
|
-
"
|
|
1019
|
-
"
|
|
1140
|
+
"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109": "當選項 'module' 設定為 '{1}' 時,選項 'moduleResolution' 必須設定為 '{0}' (或保留為未指定)。",
|
|
1141
|
+
"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110": "當選項 'moduleResolution' 設定為 '{1}' 時,選項 'module' 必須設定為 '{0}'。",
|
|
1142
|
+
"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091": "啟用 '{0}' 時,無法停用選項 'preserveConstEnums'。",
|
|
1020
1143
|
"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042": "在命令列上,'project' 選項不得與原始程式檔並用。",
|
|
1021
|
-
"
|
|
1022
|
-
"
|
|
1144
|
+
"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070": "當 'moduleResolution' 設定為 'classic' 時,不得指定 '--resolveJsonModule' 選項。",
|
|
1145
|
+
"Option_resolveJsonModule_cannot_be_specified_when_module_is_set_to_none_system_or_umd_5071": "當 'module' 設定為 'none'、'system' 或 'umd' 時,不得指定 '--resolveJsonModule' 選項。",
|
|
1146
|
+
"Option_tsBuildInfoFile_cannot_be_specified_without_specifying_option_incremental_or_composite_or_if__5111": "在未指定選項 'incremental' 或 'composite',或未執行 'tsc -b' 的情況下,無法指定選項 'tsBuildInfoFile'。",
|
|
1147
|
+
"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105": "當 'module' 設定為 'UMD'、'AMD' 或 'System' 時,無法使用選項 'verbatimModuleSyntax'。",
|
|
1023
1148
|
"Options_0_and_1_cannot_be_combined_6370": "無法合併選項 '{0}' 與 '{1}'。",
|
|
1024
1149
|
"Options_Colon_6027": "選項:",
|
|
1025
1150
|
"Output_Formatting_6256": "輸出格式",
|
|
1026
1151
|
"Output_compiler_performance_information_after_building_6615": "在組建後輸出編譯器效能資訊。",
|
|
1027
1152
|
"Output_directory_for_generated_declaration_files_6166": "所產生之宣告檔案的輸出目錄。",
|
|
1028
|
-
"Output_file_0_from_project_1_does_not_exist_6309": "沒有來自專案 '{1}' 的輸出檔 '{0}'",
|
|
1029
1153
|
"Output_file_0_has_not_been_built_from_source_file_1_6305": "輸出檔 '{0}' 並非從原始程式檔 '{1}' 建置。",
|
|
1030
1154
|
"Output_from_referenced_project_0_included_because_1_specified_1411": "因為指定了 '{1}',所以包含參考的專案 '{0}' 輸出",
|
|
1031
1155
|
"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412": "因為 '--module' 指定為 'none',所以包含參考的專案 '{0}' 輸出",
|
|
@@ -1068,6 +1192,7 @@
|
|
|
1068
1192
|
"Parameter_declaration_expected_1138": "必須是參數宣告。",
|
|
1069
1193
|
"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051": "參數具有名稱但沒有類型。您是指 '{0}: {1}' 嗎?",
|
|
1070
1194
|
"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012": "參數修飾元只可用於 TypeScript 檔案中。",
|
|
1195
|
+
"Parameter_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9011": "參數必須有具備 --isolatedDeclarations 的明確類型註釋。",
|
|
1071
1196
|
"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036": "匯出類別中公用 setter '{0}' 的參數類型具有或是正在使用私用模組 '{2}' 中的名稱 '{1}'。",
|
|
1072
1197
|
"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037": "匯出類別中公用 setter '{0}' 的參數類型具有或正在使用私用名稱 '{1}'。",
|
|
1073
1198
|
"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034": "匯出類別中公用靜態 setter '{0}' 的參數類型具有或正在使用私用模組 '{2}' 中的名稱 '{1}'。",
|
|
@@ -1093,21 +1218,25 @@
|
|
|
1093
1218
|
"Print_the_names_of_emitted_files_after_a_compilation_6652": "在編譯後列印已發出檔案的名稱。",
|
|
1094
1219
|
"Print_this_message_6017": "列印這則訊息。",
|
|
1095
1220
|
"Private_accessor_was_defined_without_a_getter_2806": "私人存取子已在不使用 getter 的情況下定義。",
|
|
1221
|
+
"Private_field_0_must_be_declared_in_an_enclosing_class_1111": "私人欄位 '{0}' 必須在封閉類別中宣告。",
|
|
1096
1222
|
"Private_identifiers_are_not_allowed_in_variable_declarations_18029": "變數宣告中不允許私人識別碼。",
|
|
1097
1223
|
"Private_identifiers_are_not_allowed_outside_class_bodies_18016": "不允許私人識別碼位於類別主體外。",
|
|
1098
1224
|
"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451": "私人識別碼只能在類別主體中使用,且只能做為類別成員宣告、屬性存取或 'in' 運算式左側的一部分使用",
|
|
1099
1225
|
"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028": "只有當目標為 ECMAScript 2015 及更新版本時,才可使用私人識別碼。",
|
|
1100
1226
|
"Private_identifiers_cannot_be_used_as_parameters_18009": "私人識別碼不可用作為參數。",
|
|
1101
1227
|
"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105": "無法在型別參數上存取私人或受保護的成員 '{0}'。",
|
|
1102
|
-
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "
|
|
1103
|
-
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "
|
|
1228
|
+
"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363": "Project '{0}' can't be built because its dependency '{1}' has errors",
|
|
1229
|
+
"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383": "Project '{0}' can't be built because its dependency '{1}' was not built",
|
|
1104
1230
|
"Project_0_is_being_forcibly_rebuilt_6388": "正在強制重建專案 '{0}'",
|
|
1231
|
+
"Project_0_is_out_of_date_because_1_6420": "由於 {1},專案 '{0}' 已過期。",
|
|
1232
|
+
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412": "專案 '{0}' 已過期,因為 buildinfo 檔案 '{1}' 表示檔案 '{2}' 曾經是編譯的根檔案,但已不再是。",
|
|
1233
|
+
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_program_needs_to_report_errors_6419": "專案 '{0}' 已過期,因為 buildinfo 檔案 '{1}' 指出程式需要報告錯誤。",
|
|
1105
1234
|
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399": "因為 buildinfo 檔案 '{1}' 指出某些變更並未發出,所以專案 '{0}' 已過期",
|
|
1235
|
+
"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406": "專案 '{0}' 已過期,因為 buildinfo 檔案 '{1}' 表示 compilerOptions 中有變更",
|
|
1106
1236
|
"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353": "因為專案 '{0}' 的相依性 '{1}' 已過期,所以該專案已過期",
|
|
1107
1237
|
"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350": "因為輸出 '{1}' 早於輸入 '{2}',所以專案 '{0}' 已過期",
|
|
1108
1238
|
"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352": "因為輸出檔案 '{1}' 不存在,所以專案 '{0}' 已過期",
|
|
1109
1239
|
"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381": "因為專案 '{0}' 的輸出使用版本 '{1}' 產生而成,與目前的版本 '{2}' 不同,所以該專案已過期",
|
|
1110
|
-
"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372": "因為專案 '{0}' 的相依性 '{1}' 輸出已變更,所以該專案已過期",
|
|
1111
1240
|
"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401": "專案 '{0}' 已過期,因為讀取檔案 '{1}' 時發生錯誤",
|
|
1112
1241
|
"Project_0_is_up_to_date_6361": "專案 '{0}' 為最新狀態",
|
|
1113
1242
|
"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351": "因為最新的輸入 '{1}' 早於最舊的輸出 '{2}',所以專案 '{0}' 為最新狀態",
|
|
@@ -1149,7 +1278,7 @@
|
|
|
1149
1278
|
"Property_0_is_used_before_its_initialization_2729": "將屬性 '{0}' 初始化前已使用該屬性。",
|
|
1150
1279
|
"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568": "類型 '{1}' 可能不存在屬性 '{0}'。您指的是 '{2}' 嗎?",
|
|
1151
1280
|
"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606": "JSX 擴張屬性 (Attribute) 的屬性 (Property) '{0}' 不可指派給目標屬性 (Property)。",
|
|
1152
|
-
"
|
|
1281
|
+
"Property_0_of_exported_anonymous_class_type_may_not_be_private_or_protected_4094": "匯出之匿名類別類型的屬性 '{0}' 不可為私人或受保護的。",
|
|
1153
1282
|
"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032": "匯出介面的屬性 '{0}' 具有或使用私用模組 '{2}' 中的名稱 '{1}'。",
|
|
1154
1283
|
"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033": "匯出介面的屬性 '{0}' 具有或使用私用名稱 '{1}'。",
|
|
1155
1284
|
"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411": "類型 '{1}' 的屬性 '{0}' 不可指派給 '{2}' 索引類型 '{3}'。",
|
|
@@ -1157,9 +1286,10 @@
|
|
|
1157
1286
|
"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612": "屬性 '{0}' 將會覆寫 '{1}' 中的基底屬性。如果是故意覆寫的,請新增初始設定式。否則,請新增 'declare' 修飾元或移除多餘的宣告。",
|
|
1158
1287
|
"Property_assignment_expected_1136": "必須是屬性指派。",
|
|
1159
1288
|
"Property_destructuring_pattern_expected_1180": "必須是屬性解構模式。",
|
|
1289
|
+
"Property_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9012": "屬性必須有具備 --isolatedDeclarations 的明確類型註釋。",
|
|
1160
1290
|
"Property_or_signature_expected_1131": "必須是屬性或簽章。",
|
|
1161
1291
|
"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328": "屬性值僅能為字串常值、數值常值、'true'、'false'、'null'、物件常值或陣列常值。",
|
|
1162
|
-
"
|
|
1292
|
+
"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_6179": "當目標為 'ES5' 時,為 'for-of'、擴張及解構中的可疊代物件提供完整的支援。",
|
|
1163
1293
|
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098": "匯出類別的公用方法 '{0}' 具有或使用外部模組 {2} 的名稱 '{1}',但無法命名。",
|
|
1164
1294
|
"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099": "匯出類別的公用方法 '{0}' 具有或使用私用模組 '{2}' 的名稱 '{1}'。",
|
|
1165
1295
|
"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100": "匯出類別的公用方法 '{0}' 具有或使用私用名稱 '{1}'。",
|
|
@@ -1176,14 +1306,16 @@
|
|
|
1176
1306
|
"Raise_an_error_when_a_function_parameter_isn_t_read_6676": "當函式參數未讀取時引發錯誤。",
|
|
1177
1307
|
"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052": "當運算式及宣告包含隱含的 'any' 類型時顯示錯誤。",
|
|
1178
1308
|
"Raise_error_on_this_expressions_with_an_implied_any_type_6115": "對具有隱含 'any' 類型的 'this' 運算式引發錯誤。",
|
|
1179
|
-
"
|
|
1309
|
+
"Range_out_of_order_in_character_class_1517": "字元類別中的範圍失序。",
|
|
1310
|
+
"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205": "啟用 '{0}' 時重新匯出類型需要使用 'export type'。",
|
|
1311
|
+
"React_components_cannot_include_JSX_namespace_names_2639": "React 元件不得包含 JSX 命名空間名稱",
|
|
1180
1312
|
"Redirect_output_structure_to_the_directory_6006": "將輸出結構重新導向至目錄。",
|
|
1181
1313
|
"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617": "減少 TypeScript 自動載入的專案數目。",
|
|
1182
1314
|
"Referenced_project_0_may_not_disable_emit_6310": "參考的專案 '{0}' 不得停用發出。",
|
|
1183
1315
|
"Referenced_project_0_must_have_setting_composite_Colon_true_6306": "參考的專案 '{0}' 之設定 \"composite\" 必須為 true。",
|
|
1184
1316
|
"Referenced_via_0_from_file_1_1400": "透過 '{0}' 從檔案 '{1}' 參考",
|
|
1185
|
-
"
|
|
1186
|
-
"
|
|
1317
|
+
"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834": "當 '--moduleResolution' 為 'node16' 或 'nodenext' 時,相對匯入路徑在 ECMAScript 匯入中需要明確的副檔名。建議為匯入路徑新增副檔名。",
|
|
1318
|
+
"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835": "當 '--moduleResolution' 為 'node16' 或 'nodenext' 時,相對匯入路徑在 ECMAScript 匯入中需要明確的副檔名。您是指 '{0}' 嗎?",
|
|
1187
1319
|
"Remove_a_list_of_directories_from_the_watch_process_6628": "從監看處理序移除目錄清單。",
|
|
1188
1320
|
"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629": "從監視模式的處理移除檔案清單。",
|
|
1189
1321
|
"Remove_all_unnecessary_override_modifiers_95163": "移除所有不必要的 'override' 修飾元",
|
|
@@ -1218,11 +1350,15 @@
|
|
|
1218
1350
|
"Report_errors_in_js_files_8019": "報告 .js 檔案中的錯誤。",
|
|
1219
1351
|
"Report_errors_on_unused_locals_6134": "回報未使用之區域變數的錯誤。",
|
|
1220
1352
|
"Report_errors_on_unused_parameters_6135": "回報未使用之參數的錯誤。",
|
|
1353
|
+
"Require_sufficient_annotation_on_exports_so_other_tools_can_trivially_generate_declaration_files_6719": "匯出時需要足夠的註釋,讓其他工具可以簡單地產生宣告檔案。",
|
|
1221
1354
|
"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717": "需要來自索引簽章的未宣告屬性,才能使用元素存取。",
|
|
1222
1355
|
"Required_type_parameters_may_not_follow_optional_type_parameters_2706": "必要型別參數可能未遵循選擇性型別參數。",
|
|
1223
1356
|
"Resolution_for_module_0_was_found_in_cache_from_location_1_6147": "從位置 '{1}' 的快取中找到模組 '{0}' 的解析。",
|
|
1224
1357
|
"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241": "從位置 '{0}' 的快取記憶體找到類型參照指示詞 '{1}'。",
|
|
1358
|
+
"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277": "解析非相對名稱失敗; 嘗試停用新式節點解析功能,以查看 npm 程式庫是否需要更新設定。",
|
|
1359
|
+
"Resolution_of_non_relative_name_failed_trying_with_moduleResolution_bundler_to_see_if_project_may_ne_6279": "解析非相對名稱失敗; 嘗試使用 '--moduleResolution bundler' 查看專案是否可能需要更新設定。",
|
|
1225
1360
|
"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195": "只將 'keyof' 解析為字串值的屬性名稱 (無任何數字或符號)。",
|
|
1361
|
+
"Resolved_under_condition_0_6414": "已在條件 '{0}' 下解析。",
|
|
1226
1362
|
"Resolving_in_0_mode_with_conditions_1_6402": "正在以條件 {1} 在 {0} 模式中解析。",
|
|
1227
1363
|
"Resolving_module_0_from_1_6086": "======== 正在從 '{1}' 解析模組 '{0}'。========",
|
|
1228
1364
|
"Resolving_module_name_0_relative_to_base_url_1_2_6094": "正在解析與基底 URL '{1}' 相對的模組名稱 '{0}' - '{2}'。",
|
|
@@ -1232,6 +1368,7 @@
|
|
|
1232
1368
|
"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123": "======== 正在解析類型參考指示詞 '{0}',包含檔案 '{1}',未設定根目錄。========",
|
|
1233
1369
|
"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127": "======== 正在解析類型參考指示詞 '{0}',未設定包含檔案,根目錄 '{1}'。========",
|
|
1234
1370
|
"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128": "======== 正在解析類型參考指示詞 '{0}',未設定包含檔案,未設定根目錄。 ========",
|
|
1371
|
+
"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265": "正在解析指定自訂 typeRoots 程式的類型參考指示詞,並跳過 'node_modules' 資料夾中的查詢。",
|
|
1235
1372
|
"Resolving_with_primary_search_path_0_6121": "正在解析主要搜尋路徑 '{0}'。",
|
|
1236
1373
|
"Rest_parameter_0_implicitly_has_an_any_type_7019": "剩餘參數 '{0}' 隱含了 'any[]' 類型。",
|
|
1237
1374
|
"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047": "其餘參數 '{0}' 隱含 'any[]' 類型,但可從使用方式推斷更適合的類型。",
|
|
@@ -1276,12 +1413,15 @@
|
|
|
1276
1413
|
"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391": "在舊程式的 '{1}' 中重複使用類型參考指示詞 '{0}' 的解析,已成功將其解析為套件識別碼為 '{3}' 的 '{2}'。",
|
|
1277
1414
|
"Rewrite_all_as_indexed_access_types_95034": "將全部重寫為經過編製索引的存取類型",
|
|
1278
1415
|
"Rewrite_as_the_indexed_access_type_0_90026": "重寫為索引存取類型 '{0}'",
|
|
1416
|
+
"Right_operand_of_is_unreachable_because_the_left_operand_is_never_nullish_2869": "?? 的右運算元無法連線,因為左運算元永遠不會是 nullish。",
|
|
1279
1417
|
"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122": "無法判斷根目錄,將略過主要搜尋路徑。",
|
|
1280
1418
|
"Root_file_specified_for_compilation_1427": "為編譯指定的根檔案",
|
|
1281
1419
|
"STRATEGY_6039": "策略",
|
|
1282
1420
|
"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642": "儲存 .tsbuildinfo 檔案,以允許對專案進行累加編譯。",
|
|
1283
1421
|
"Saw_non_matching_condition_0_6405": "儲存不相符條件 '{0}'。",
|
|
1284
1422
|
"Scoped_package_detected_looking_in_0_6182": "偵測到範圍套件,正於 '{0}' 尋找",
|
|
1423
|
+
"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418": "正在搜尋所有上階 node_modules 目錄,以取得後援延伸模組: {0}。",
|
|
1424
|
+
"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417": "正在搜尋所有上階 node_modules 目錄,以取得慣用延伸模組: {0}。",
|
|
1285
1425
|
"Selection_is_not_a_valid_statement_or_statements_95155": "選取項目非有效的一或多個陳述式",
|
|
1286
1426
|
"Selection_is_not_a_valid_type_node_95133": "選取範圍不是有效的類型節點",
|
|
1287
1427
|
"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705": "為發出的 JavaScript 設定 JavaScript 語言版本,並包含相容的程式庫宣告。",
|
|
@@ -1295,11 +1435,14 @@
|
|
|
1295
1435
|
"Show_verbose_diagnostic_information_6150": "顯示詳細診斷資訊。",
|
|
1296
1436
|
"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367": "顯示將會建置 (或刪除 - 若是指定有 '--clean') 的內容",
|
|
1297
1437
|
"Signature_0_must_be_a_type_predicate_1224": "簽章 '{0}' 必須是型別述詞。",
|
|
1438
|
+
"Signature_declarations_can_only_be_used_in_TypeScript_files_8017": "簽章宣告僅能在 TypeScript 檔案中使用。",
|
|
1439
|
+
"Skip_building_downstream_projects_on_error_in_upstream_project_6640": "上游專案發生錯誤時,略過建置下游專案。",
|
|
1298
1440
|
"Skip_type_checking_all_d_ts_files_6693": "略過所有 .d.ts 檔案的型別檢查。",
|
|
1299
1441
|
"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692": "略過 TypeScript 中包含 .d.ts 檔案的型別檢查。",
|
|
1300
1442
|
"Skip_type_checking_of_declaration_files_6012": "跳過宣告檔案的類型檢查。",
|
|
1301
|
-
"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362": "
|
|
1302
|
-
"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382": "
|
|
1443
|
+
"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362": "Skipping build of project '{0}' because its dependency '{1}' has errors",
|
|
1444
|
+
"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382": "Skipping build of project '{0}' because its dependency '{1}' was not built",
|
|
1445
|
+
"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164": "正在跳過看起來像絕對 URI 的模組 '{0}',目標檔案類型: {1}。",
|
|
1303
1446
|
"Source_from_referenced_project_0_included_because_1_specified_1414": "因為指定了 '{1}',所以包含參考的專案 '{0}' 來源",
|
|
1304
1447
|
"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415": "因為 '--module' 指定為 'none',所以包含參考的專案 '{0}' 來源",
|
|
1305
1448
|
"Source_has_0_element_s_but_target_allows_only_1_2619": "來源具有 {0} 個元素,但目標只允許 {1} 個。",
|
|
@@ -1322,7 +1465,6 @@
|
|
|
1322
1465
|
"Specify_how_the_TypeScript_watch_mode_works_6715": "指定 TypeScript 監看式模式的運作方式。",
|
|
1323
1466
|
"Specify_library_files_to_be_included_in_the_compilation_6079": "請指定要併入編譯中的程式庫檔案。",
|
|
1324
1467
|
"Specify_module_code_generation_6016": "指定模組程式碼產生。",
|
|
1325
|
-
"Specify_module_resolution_strategy_Colon_node_Node_js_or_classic_TypeScript_pre_1_6_6069": "指定模組解決方案策略: 'node' (Node.js) 或 'classic' (TypeScript 1.6 前)。",
|
|
1326
1468
|
"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649": "指定使用 'jsx: react-jsx*' 時,用來匯入 JSX Factory 函式的模組指定名稱。",
|
|
1327
1469
|
"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710": "指定多個資料夾,其作用類似 './node_modules/@types'。",
|
|
1328
1470
|
"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633": "指定一或多個路徑或節點模組參考至繼承設定的基礎設定檔。",
|
|
@@ -1360,8 +1502,10 @@
|
|
|
1360
1502
|
"Static_members_cannot_reference_class_type_parameters_2302": "靜態成員不得參考類別類型參數。",
|
|
1361
1503
|
"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699": "靜態屬性 '{0}' 與建構函式 '{1}' 的內建屬性 'Function.{0}' 相衝突。",
|
|
1362
1504
|
"String_literal_expected_1141": "必須是字串常值。",
|
|
1505
|
+
"String_literal_import_and_export_names_are_not_supported_when_the_module_flag_is_set_to_es2015_or_es_18057": "當 '--module' 旗標設定為 'es2015' 或 'es2020' 時,不支援字串常值匯入和匯出名稱。",
|
|
1363
1506
|
"String_literal_with_double_quotes_expected_1327": "應有具雙引號的字串常值。",
|
|
1364
1507
|
"Stylize_errors_and_messages_using_color_and_context_experimental_6073": "使用色彩及內容來設計錯誤與訊息的風格 (實驗)。",
|
|
1508
|
+
"Subpattern_flags_must_be_present_when_there_is_a_minus_sign_1504": "當有減號時,必須有子模式旗標。",
|
|
1365
1509
|
"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717": "後續的屬性宣告必須具有相同的類型。屬性 '{0}' 的類型必須是 '{1}',但此處卻是類型 '{2}'。",
|
|
1366
1510
|
"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403": "後續的變數宣告必須具有相同的類型。變數 '{0}' 的類型必須是 '{1}' 但卻是 '{2}'。",
|
|
1367
1511
|
"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064": "模式 '{1}' 的替代 '{0}' 類型不正確,必須為 'string',但得到 '{2}'。",
|
|
@@ -1380,14 +1524,16 @@
|
|
|
1380
1524
|
"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358": "選擇性鏈結中不允許已標記的範本運算式。",
|
|
1381
1525
|
"Target_allows_only_0_element_s_but_source_may_have_more_2621": "目標只允許 {0} 個元素,但來源的元素可能較多。",
|
|
1382
1526
|
"Target_requires_0_element_s_but_source_may_have_fewer_2620": "目標需要 {0} 個元素,但來源的元素可能較少。",
|
|
1527
|
+
"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849": "目標特徵標記提供的引數過少。應有 {0} 個或更多,但只取得 {1} 個。",
|
|
1383
1528
|
"The_0_modifier_can_only_be_used_in_TypeScript_files_8009": "'{0}' 修飾元只可用於 TypeScript 檔案中。",
|
|
1384
1529
|
"The_0_operator_cannot_be_applied_to_type_symbol_2469": "無法將 '{0}' 運算子套用至類型 'symbol'。",
|
|
1385
1530
|
"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447": "布林類型不允許有 '{0}' 運算子。請考慮改用 '{1}'。",
|
|
1386
1531
|
"The_0_property_of_an_async_iterator_must_be_a_method_2768": "非同步迭代器的 '{0}' 屬性必須為方法。",
|
|
1387
1532
|
"The_0_property_of_an_iterator_must_be_a_method_2767": "迭代器的 '{0}' 屬性必須為方法。",
|
|
1388
1533
|
"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696": "'Object' 類型可指派給極少數的其他類型。要改用 'any' 類型嗎?",
|
|
1389
|
-
"
|
|
1390
|
-
"
|
|
1534
|
+
"The_Unicode_u_flag_and_the_Unicode_Sets_v_flag_cannot_be_set_simultaneously_1502": "無法同時設定 Unicode (u) 旗標和 Unicode Sets (v) 旗標。",
|
|
1535
|
+
"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES5_Consider_using_a_standard_func_2496": "在 ES5 中,箭號函式內無法參考 'arguments' 物件。建議使用標準函式運算式。",
|
|
1536
|
+
"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES5_Consider_using_a_sta_2522": "在 ES5 中,非同步函式或方法無法參考 'arguments' 物件。建議使用標準函式或方法。",
|
|
1391
1537
|
"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313": "'if' 陳述式的主體不能是空白陳述式。",
|
|
1392
1538
|
"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793": "對此實作的呼叫會成功,但多載的實作簽章未向外部顯示。",
|
|
1393
1539
|
"The_character_set_of_the_input_files_6163": "輸入檔的字元集。",
|
|
@@ -1414,6 +1560,8 @@
|
|
|
1414
1560
|
"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088": "'{0}' 的推斷型別參考了具有迴圈結構且不是可完整序列化的型別。必須有型別註解。",
|
|
1415
1561
|
"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527": "'{0}' 的推斷型別參考了無法存取的 '{1}' 型別。必須有型別註解。",
|
|
1416
1562
|
"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056": "此節點的推斷型別超過編譯器將序列化的長度上限。需要明確的型別註解。",
|
|
1563
|
+
"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850": "'using' 宣告的初始設定式必須是具備 '[Symbol.dispose]()' 方法的物件,或是 'null' 或 'undefined'。",
|
|
1564
|
+
"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851": "'await using' 宣告的初始設定式必須是具備 '[Symbol.asyncDispose]()' 方法或 '[Symbol.dispose]5D;()' 方法的物件,或是 'null' 或 'undefined'。",
|
|
1417
1565
|
"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032": "因為屬性 '{1}' 存在於多個部分,而且在某些部分為私人性質,所以交集 '{0}' 已縮減為 'never'。",
|
|
1418
1566
|
"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031": "因為屬性 '{1}' 在某些部分有衝突的類型,所以交集 '{0}' 已縮減為 'never'。",
|
|
1419
1567
|
"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795": "'intrinsic' 關鍵字只可用於宣告編譯器提供的內建類型。",
|
|
@@ -1421,6 +1569,8 @@
|
|
|
1421
1569
|
"The_last_overload_gave_the_following_error_2770": "最後一個多載出現下列錯誤。",
|
|
1422
1570
|
"The_last_overload_is_declared_here_2771": "最後一個多載宣告於此處。",
|
|
1423
1571
|
"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491": "'for...in' 陳述式的左側不得為解構模式。",
|
|
1572
|
+
"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493": "'for...in' 陳述式左側不可為 'using' 宣告。",
|
|
1573
|
+
"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494": "'for...in' 陳述式左側不可為 'await using' 宣告。",
|
|
1424
1574
|
"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404": "'for...in' 陳述式左側不得使用類型註釋。",
|
|
1425
1575
|
"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780": "'for...in' 陳述式的左側不可為選擇性屬性存取。",
|
|
1426
1576
|
"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406": "'for...in' 陳述式的左邊必須是變數或屬性存取。",
|
|
@@ -1432,6 +1582,7 @@
|
|
|
1432
1582
|
"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362": "算術運算的左側內容必須屬於 'any'、'number'、'bigint' 或列舉類型。",
|
|
1433
1583
|
"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779": "指派運算式的左側不可為選擇性屬性存取。",
|
|
1434
1584
|
"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364": "指派運算式的左邊必須是變數或屬性存取。",
|
|
1585
|
+
"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860": "'instanceof' 運算式的左側必須可指派至右側 '[Symbol.hasInstance]' 方法的第一個引數。",
|
|
1435
1586
|
"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358": "'instanceof' 運算式左側必須是類型 'any'、物件類型或型別參數。",
|
|
1436
1587
|
"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156": "對使用者顯示訊息時所使用的地區設定 (例如 'zh-tw')",
|
|
1437
1588
|
"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136": "在 node_modules 及載入 JavaScript 檔案下搜尋時的最大相依性深度。",
|
|
@@ -1445,15 +1596,18 @@
|
|
|
1445
1596
|
"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209": "專案根目錄模棱兩可,但需要用以解決檔案 '{1}' 中的匯出對應項目 '{0}'。請提供 'rootDir' 編譯器選項來釐清。",
|
|
1446
1597
|
"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210": "專案根目錄模稜兩可,但需要在檔案 '{1}' 中解析匯入對應項目 '{0}'。請提供 'rootDir' 編譯器選項來釐清。",
|
|
1447
1598
|
"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014": "無法在此類別內的類型 '{1}' 上存取屬性 '{0}',原因是另一個拼字相同的私人識別碼已將其陰影。",
|
|
1448
|
-
"The_return_type_of_a_get_accessor_must_be_assignable_to_its_set_accessor_type_2380": "'get' 存取子的傳回型別必須可指派給其 'set' 存取子類型",
|
|
1449
1599
|
"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237": "參數裝飾項目函式的傳回型別必須是 'void' 或 'any'。",
|
|
1450
1600
|
"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236": "屬性裝飾項目函式的傳回型別必須是 'void' 或 'any'。",
|
|
1451
1601
|
"The_return_type_of_an_async_function_must_either_be_a_valid_promise_or_must_not_contain_a_callable_t_1058": "非同步函式的傳回型別必須是有效的 Promise,或不得包含可呼叫的 'then' 成員。",
|
|
1602
|
+
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065": "非同步函式或方法的傳回類型必須為全域 Promise<T> 類型。",
|
|
1452
1603
|
"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_Did_you_mean_to_wri_1064": "非同步函式或方法的傳回型別,必須為全域 Promise<T> 類型。是否要寫入 'Promise<{0}>'?",
|
|
1453
1604
|
"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407": "'for...in' 陳述式的右方必須是類型 'any'、物件類型或型別參數,但此處為類型 '{0}'。",
|
|
1454
1605
|
"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363": "算術運算的右側內容必須屬於 'any'、'number'、'bigint' 或列舉類型。",
|
|
1455
|
-
"
|
|
1606
|
+
"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359": "'instanceof' 運算式右側必須為 'any' 類型、類別、函式或其他可指派至 'Function' 介面型別的型別,或是具備 'Symbol.hasInstance' 方法的物件類型。",
|
|
1607
|
+
"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848": "'instanceof' 運算式右側不可為具現化運算式。",
|
|
1456
1608
|
"The_root_value_of_a_0_file_must_be_an_object_5092": "'{0}' 檔案的根值必須是物件。",
|
|
1609
|
+
"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278": "執行階段會以 {1} 個引數叫用裝飾項目,但裝飾項目需要 {0} 個。",
|
|
1610
|
+
"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279": "執行階段會以 {1} 個引數叫用裝飾項目,但裝飾項目至少需要 {0} 個。",
|
|
1457
1611
|
"The_shadowing_declaration_of_0_is_defined_here_18017": "'{0}' 的隱蔽宣告定義於此處",
|
|
1458
1612
|
"The_signature_0_of_1_is_deprecated_6387": "'{1}' 的特徵標記 '{0}' 已淘汰。",
|
|
1459
1613
|
"The_specified_path_does_not_exist_Colon_0_5058": "指定的路徑不存在: '{0}'。",
|
|
@@ -1466,7 +1620,6 @@
|
|
|
1466
1620
|
"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207": "[類型修飾元] 無法在 [匯出類型]5D; 於其匯出陳述式上使用時,在命名的匯出上使用。",
|
|
1467
1621
|
"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206": "[類型修飾元] 無法在 [匯入類型]5D; 於其匯入陳述式上使用時,在命名的匯入上使用。",
|
|
1468
1622
|
"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030": "函式宣告的類型必須與函式的簽章相符。",
|
|
1469
|
-
"The_type_of_this_expression_cannot_be_named_without_a_resolution_mode_assertion_which_is_an_unstable_2841": "沒有 'resolution-mode' 判斷提示,就無法命名此運算式的類型,這是不穩定的功能。請使用夜間 TypeScript 將此錯誤設為靜音。請嘗試使用 'npm install -D typescript@next' 更新。",
|
|
1470
1623
|
"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118": "無法將此節點的類型序列化,因為無法將其屬性 '{0}' 序列化。",
|
|
1471
1624
|
"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547": "非同步迭代器 '{0}()' 方法所傳回的類型,對具有 'value' 屬性的類型必須為 Promise。",
|
|
1472
1625
|
"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490": "迭代器 '{0}()' 方法所傳回的類型必須具有 'value' 屬性。",
|
|
@@ -1476,20 +1629,30 @@
|
|
|
1476
1629
|
"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189": "'for...in' 陳述式的變數宣告不得有初始設定式。",
|
|
1477
1630
|
"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190": "'for...of' 陳述式的變數宣告不得有初始設定式。",
|
|
1478
1631
|
"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410": "不支援 'with' 陳述式。'with' 區塊中的所有符號都會有類型 'any'。",
|
|
1632
|
+
"There_are_types_at_0_but_this_result_could_not_be_resolved_under_your_current_moduleResolution_setti_6280": "'{0}' 具有型別,不過在目前的 'moduleResolution' 設定下,無法解析此結果。建議更新為 'node16'、'nodenext' 或 'bundler'。",
|
|
1633
|
+
"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278": "'{0}' 具有型別,不過在採用 package.json \"exports\" 的狀態下,無法解析此結果。'{1}' 程式庫可能需要更新其 package.json 或輸入。",
|
|
1634
|
+
"There_is_no_capturing_group_named_0_in_this_regular_expression_1532": "此規則運算式中沒有名為 '{0}' 的擷取群組。",
|
|
1635
|
+
"There_is_nothing_available_for_repetition_1507": "沒有可重複的內容。",
|
|
1479
1636
|
"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746": "此 JSX 標籤的 '{0}' 屬性只能有一個 '{1}' 類型的子系,但提供的子系卻有多個。",
|
|
1480
1637
|
"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745": "此 JSX 標籤的 '{0}' 屬性需要必須有多個子系的類型 '{1}',但僅提供的子系只有一個。",
|
|
1638
|
+
"This_backreference_refers_to_a_group_that_does_not_exist_There_are_no_capturing_groups_in_this_regul_1534": "此反向參考參照的群組不存在。此規則運算式中沒有任何擷取群組。",
|
|
1639
|
+
"This_backreference_refers_to_a_group_that_does_not_exist_There_are_only_0_capturing_groups_in_this_r_1533": "此反向參考參照的群組不存在。此規則運算式中只有 {0} 個擷取群組。",
|
|
1640
|
+
"This_binary_expression_is_never_nullish_Are_you_missing_parentheses_2870": "此二進位運算式一律不會是 nullish。是否缺少括弧?",
|
|
1641
|
+
"This_character_cannot_be_escaped_in_a_regular_expression_1535": "此字元無法在規則運算式中逸出。",
|
|
1481
1642
|
"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367": "此比較似乎是無意的,因為類型 '{0}' 和 '{1}' 沒有重疊。",
|
|
1482
1643
|
"This_condition_will_always_return_0_2845": "此條件一律傳回 '{0}'。",
|
|
1483
1644
|
"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839": "此條件一律會傳回 '{0}',因為 JavaScript 會依參照而非值比較物件。",
|
|
1484
1645
|
"This_condition_will_always_return_true_since_this_0_is_always_defined_2801": "因為此 '{0}' 一律會被定義,所以此條件一律傳回 True。",
|
|
1485
1646
|
"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774": "因為永遠會定義此函式,所以此條件永遠會傳回 true。您是要改為呼叫該條件嗎?",
|
|
1486
1647
|
"This_constructor_function_may_be_converted_to_a_class_declaration_80002": "此建構函式可轉換為類別宣告。",
|
|
1648
|
+
"This_expression_is_always_nullish_2871": "此運算式一律為 nullish.",
|
|
1487
1649
|
"This_expression_is_not_callable_2349": "無法呼叫此運算式。",
|
|
1488
1650
|
"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234": "因為此運算式為 'get' 存取子,所以無法呼叫。要在沒有 '()' 的情況下,使用該運算式嗎?",
|
|
1489
1651
|
"This_expression_is_not_constructable_2351": "無法建構此運算式。",
|
|
1490
1652
|
"This_file_already_has_a_default_export_95130": "此檔案已有預設匯出",
|
|
1491
|
-
"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371": "因為 'importsNotUsedAsValues' 設為 'error',所以永遠不會使用此匯入作為值,且必須使用 'import type'。",
|
|
1492
1653
|
"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233": "此宣告正在增加中。請考慮將正在增加的宣告移至相同的檔案中。",
|
|
1654
|
+
"This_kind_of_expression_is_always_falsy_2873": "此種運算式的值一律為 false。",
|
|
1655
|
+
"This_kind_of_expression_is_always_truthy_2872": "此種運算式的值一律為 true。",
|
|
1493
1656
|
"This_may_be_converted_to_an_async_function_80006": "這可以轉換為非同步函式。",
|
|
1494
1657
|
"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122": "此成員不能包含具有 '@override' 標籤的 JSDoc 註解,因為並未在基底類別 '{0}' 中宣告此成員。",
|
|
1495
1658
|
"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123": "此成員不能包含具有 'override' 標籤的 JSDoc 註解,因為並未在基底類別 '{0}' 中宣告此成員。您指的是 '{1}' 嗎?",
|
|
@@ -1502,10 +1665,14 @@
|
|
|
1502
1665
|
"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116": "因為此成員會覆寫基底類別 '{0}' 中宣告的抽象方法,所以其必須具有 'override' 修飾元。",
|
|
1503
1666
|
"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497": "只能以 ECMAScript 匯入/匯出來參考此模組,方法為開啟 '{0}' 旗標並參考其預設匯出。",
|
|
1504
1667
|
"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594": "此模組使用 'export =' 宣告,只能在使用 '{0}' 旗標時搭配預設匯入使用。",
|
|
1668
|
+
"This_operation_can_be_simplified_This_shift_is_identical_to_0_1_2_6807": "此作業可簡化。此班次與 `{0} {1} {2}` 完全相同。",
|
|
1669
|
+
"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012": "由於缺少傳回型別註解,故此多載會隱含傳回 '{0}' 型別。",
|
|
1505
1670
|
"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394": "此多載簽章與其實作簽章不相容。",
|
|
1506
1671
|
"This_parameter_is_not_allowed_with_use_strict_directive_1346": "不允許此參數搭配 'use strict' 指示詞使用。",
|
|
1507
1672
|
"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120": "此參數屬性必須包含具有 '@override' 標籤的 JSDoc 註解,因為其會覆寫基底類別 '{0}' 中的成員。",
|
|
1508
1673
|
"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115": "因為此參數屬性會覆寫基底類別 '{0}' 中的成員,所以其必須具有 'override' 修飾元。",
|
|
1674
|
+
"This_regular_expression_flag_cannot_be_toggled_within_a_subpattern_1509": "無法在子模式內切換此規則運算式旗標。",
|
|
1675
|
+
"This_regular_expression_flag_is_only_available_when_targeting_0_or_later_1501": "只有以 '{0}' 或更新版本作為目標時,才能使用規則運算式旗標。",
|
|
1509
1676
|
"This_spread_always_overwrites_this_property_2785": "此展開會永遠覆寫此屬性。",
|
|
1510
1677
|
"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060": "此語法是保留在具有 mts 或 cts 副檔名的檔案中。新增尾端逗號或明確條件約束。",
|
|
1511
1678
|
"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059": "此語法會保留在具有 mts 或 cts 副檔名的檔案中。請改用 `as` 運算式。",
|
|
@@ -1518,15 +1685,15 @@
|
|
|
1518
1685
|
"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481": "若要將此檔案轉換為 ECMAScript 模組,請將其副檔名變更為 '{0}',或將欄位 `\"type\": \"module\"` 新增至 '{1}'。",
|
|
1519
1686
|
"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480": "若要將此檔案轉換為 ECMAScript 模組,請將其副檔名變更為 '{0}',或使用 `{ \"type\": \"module\" }` 建立本機 package.json 檔案。",
|
|
1520
1687
|
"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483": "若要將此檔案轉換為 ECMAScript 模組,請建立具有 `{ \"type\": \"module\" }` 的本機 package.json 檔案。",
|
|
1521
|
-
"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378": "只有在 'module'
|
|
1688
|
+
"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378": "只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16' 'nodenext' 或 'preserve',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'await' 運算式。",
|
|
1689
|
+
"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854": "只有當 'module' 選項設為 'es2022'、'esnext'、'system'、'node16'、'nodenext' 或 'preserve',且 'target' 選項設為 'es2017' 或更高版本時,才能在最上層使用 'await using' 陳述式。",
|
|
1522
1690
|
"Top_level_declarations_in_d_ts_files_must_start_with_either_a_declare_or_export_modifier_1046": ".d.ts 檔案中的最上層宣告必須以 'declare' 或 'export' 修飾元開頭。",
|
|
1523
|
-
"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432": "只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16' 或 '
|
|
1691
|
+
"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432": "只有在 'module' 選項設為 'es2022'、'esnext'、'system'、'node16' 'nodenext' 或 'preserve',而且 'target' 選項設為 'es2017' 或更高版本時,才允許最上層的 'for await' 迴圈。",
|
|
1524
1692
|
"Trailing_comma_not_allowed_1009": "尾端不得為逗號。",
|
|
1525
1693
|
"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153": "以個別模組的形式轉換每個檔案的語言 (類似於 'ts.transpileModule')。",
|
|
1526
1694
|
"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035": "如有 `npm i --save-dev @types/{1}`,請嘗試使用,或新增包含 `declare module '{0}';` 的宣告 (.d.ts) 檔案",
|
|
1527
1695
|
"Trying_other_entries_in_rootDirs_6110": "正在嘗試 'rootDirs' 中的其他項目。",
|
|
1528
1696
|
"Trying_substitution_0_candidate_module_location_Colon_1_6093": "正在嘗試替代 '{0}',候選模組位置: '{1}'。",
|
|
1529
|
-
"Tuple_members_must_all_have_names_or_all_not_have_names_5084": "元組成員必須全數有名稱或都沒有名稱。",
|
|
1530
1697
|
"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493": "長度為 '{1}' 的元組類型 '{0}' 在索引 '{2}' 沒有項目。",
|
|
1531
1698
|
"Tuple_type_arguments_circularly_reference_themselves_4110": "元組類型引數會循環參考自身。",
|
|
1532
1699
|
"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802": "只有使用 '--downlevelIteration' 旗標或 'es2015' 或更新版本的 '--target' 時,才能逐一查看類型 '{0}'。",
|
|
@@ -1539,10 +1706,11 @@
|
|
|
1539
1706
|
"Type_0_has_no_matching_index_signature_for_type_1_2537": "類型 '{0}' 沒有與類型 '{1}' 相符的索引簽章。",
|
|
1540
1707
|
"Type_0_has_no_properties_in_common_with_type_1_2559": "類型 '{0}' 與類型 '{1}' 沒有任何共通的屬性。",
|
|
1541
1708
|
"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635": "類型 '{0}' 沒有適用類型引數清單的簽章。",
|
|
1709
|
+
"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862": "類型 '{0}' 為泛型型別,只能針對讀取編製索引。",
|
|
1542
1710
|
"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739": "類型 '{0}' 在類型 '{1}' 中缺少下列屬性: {2}",
|
|
1543
1711
|
"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740": "類型 '{0}' 在類型 '{1}' 中缺少下列屬性: {2},以及另外 {3} 個。",
|
|
1544
1712
|
"Type_0_is_not_a_constructor_function_type_2507": "類型 '{0}' 不是建構函式類型。",
|
|
1545
|
-
"
|
|
1713
|
+
"Type_0_is_not_a_valid_async_function_return_type_in_ES5_because_it_does_not_refer_to_a_Promise_compa_1055": "在 ES5 中,'{0}' 型別並非有效的非同步傳回型別,因為其不會參考與 Promise 相容的建構函式值。",
|
|
1546
1714
|
"Type_0_is_not_an_array_type_2461": "類型 '{0}' 不是陣列類型。",
|
|
1547
1715
|
"Type_0_is_not_an_array_type_or_a_string_type_2495": "類型 '{0}' 不是陣列類型或字串類型。",
|
|
1548
1716
|
"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549": "類型 '{0}' 不是陣列類型或字串類型,或沒有會傳回迭代器的 '[Symbol.iterator]()' 方法。",
|
|
@@ -1551,6 +1719,7 @@
|
|
|
1551
1719
|
"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820": "不得將類型 '{0}' 指派給類型 '{1}'。您指的是 '{2}' 嗎?",
|
|
1552
1720
|
"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719": "無法將類型 '{0}' 指派給類型 '{1}'。有兩種使用此名稱的不同類型存在,但彼此並不相關。",
|
|
1553
1721
|
"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636": "無法將型別 '{0}' 指派給型別 '{1}',如變異數註釋所隱含。",
|
|
1722
|
+
"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033": "無法將類型 '{0}' 指派給計算之列舉成員值所需的 '{1}'。",
|
|
1554
1723
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375": "類型 '{0}' 無法指派給類型為具有 'exactOptionalPropertyTypes: true' 的類型 '{1}'。請考慮將 'undefined' 新增到目標屬性的類型。",
|
|
1555
1724
|
"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412": "類型 '{0}' 無法指派給類型為具有 'exactOptionalPropertyTypes: true' 的類型 '{1}'。請考慮將 'undefined' 新增到目標的類型。",
|
|
1556
1725
|
"Type_0_is_not_comparable_to_type_1_2678": "類型 '{0}' 無法和類型 '{1}' 比較。",
|
|
@@ -1570,14 +1739,15 @@
|
|
|
1570
1739
|
"Type_argument_expected_1140": "必須是型別引數。",
|
|
1571
1740
|
"Type_argument_list_cannot_be_empty_1099": "型別引數清單不得為空白。",
|
|
1572
1741
|
"Type_arguments_can_only_be_used_in_TypeScript_files_8011": "類型引數只可用於 TypeScript 檔案中。",
|
|
1573
|
-
"Type_arguments_cannot_be_used_here_1342": "此處不得使用型別引數。",
|
|
1574
1742
|
"Type_arguments_for_0_circularly_reference_themselves_4109": "'{0}' 的類型引數會循環參考自身。",
|
|
1575
1743
|
"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016": "類型判斷提示運算式只可用於 TypeScript 檔案中。",
|
|
1576
1744
|
"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626": "來源中位於 {0} 的類型與目標中位於 {1} 的類型不相容。",
|
|
1577
1745
|
"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627": "來源中位於 {0} 到 {1} 的類型與目標中位於 {2} 的類型不相容。",
|
|
1746
|
+
"Type_containing_private_name_0_can_t_be_used_with_isolatedDeclarations_9039": "型別如包含私人名稱 '{0}',則無法搭配 --isolatedDeclarations 使用。",
|
|
1578
1747
|
"Type_declaration_files_to_be_included_in_compilation_6124": "要包含在編譯內的類型宣告檔案。",
|
|
1579
1748
|
"Type_expected_1110": "必須是類型。",
|
|
1580
1749
|
"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456": "輸入匯入判斷提示應該只有一個索引鍵 - 'resolution-mode' - 值為 'import' 或 'require'。",
|
|
1750
|
+
"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464": "型別匯入屬性應只有一個索引鍵 'resolution-mode',且值為 'import' 或 'require'。",
|
|
1581
1751
|
"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589": "類型具現化過深,可能會有無限深度。",
|
|
1582
1752
|
"Type_is_referenced_directly_or_indirectly_in_the_fulfillment_callback_of_its_own_then_method_1062": "類型在其本身 'then' 方法的完成回撥中直接或間接受到參考。",
|
|
1583
1753
|
"Type_library_referenced_via_0_from_file_1_1402": "透過 '{0}' 從檔案 '{1}' 參考的型別程式庫",
|
|
@@ -1623,6 +1793,8 @@
|
|
|
1623
1793
|
"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241": "無法解析以運算式形式呼叫之方法裝飾項目的簽章。",
|
|
1624
1794
|
"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239": "無法解析以運算式形式呼叫之參數裝飾項目的簽章。",
|
|
1625
1795
|
"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240": "無法解析以運算式形式呼叫之屬性裝飾項目的簽章。",
|
|
1796
|
+
"Undetermined_character_escape_1513": "未定字元逸出。",
|
|
1797
|
+
"Unexpected_0_Did_you_mean_to_escape_it_with_backslash_1508": "未預期的 '{0}'。您是要使用反斜線將其逸出嗎?",
|
|
1626
1798
|
"Unexpected_end_of_text_1126": "未預期的文字結尾。",
|
|
1627
1799
|
"Unexpected_keyword_or_identifier_1434": "未預期的關鍵字或識別碼。",
|
|
1628
1800
|
"Unexpected_token_1012": "未預期的語彙基元。",
|
|
@@ -1631,12 +1803,19 @@
|
|
|
1631
1803
|
"Unexpected_token_Did_you_mean_or_gt_1382": "未預期的語彙基元。您是指 `{'>'}` 或 `>` 嗎?",
|
|
1632
1804
|
"Unexpected_token_Did_you_mean_or_rbrace_1381": "未預期的語彙基元。您是指 `{'}'}` 或 `}` 嗎?",
|
|
1633
1805
|
"Unexpected_token_expected_1179": "未預期的語彙基元。必須是 '{'。",
|
|
1806
|
+
"Unicode_escape_sequence_cannot_appear_here_17021": "此處不可出現 Unicode 逸出序列。",
|
|
1807
|
+
"Unicode_escape_sequences_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v_flag_is_se_1538": "只有在設定 Unicode (u) 旗標或 Unicode Sets (v) 旗標後,才能使用 Unicode 逸出序列。",
|
|
1808
|
+
"Unicode_property_value_expressions_are_only_available_when_the_Unicode_u_flag_or_the_Unicode_Sets_v__1530": "只有在設定 Unicode (u) 旗標或 Unicode Sets (v) 旗標後,才能使用 Unicode 屬性值運算式。",
|
|
1809
|
+
"Unknown_Unicode_property_name_1524": "未知的 Unicode 屬性名稱。",
|
|
1810
|
+
"Unknown_Unicode_property_name_or_value_1529": "未知的 Unicode 屬性名稱或值。",
|
|
1811
|
+
"Unknown_Unicode_property_value_1526": "未知的 Unicode 屬性值。",
|
|
1634
1812
|
"Unknown_build_option_0_5072": "未知的組建選項 '{0}'。",
|
|
1635
1813
|
"Unknown_build_option_0_Did_you_mean_1_5077": "未知的組建選項 '{0}'。您是指 '{1}' 嗎?",
|
|
1636
1814
|
"Unknown_compiler_option_0_5023": "不明的編譯器選項 '{0}'。",
|
|
1637
1815
|
"Unknown_compiler_option_0_Did_you_mean_1_5025": "未知的編譯器選項 '{0}'。您是指 '{1}' 嗎?",
|
|
1638
1816
|
"Unknown_keyword_or_identifier_Did_you_mean_0_1435": "未知的關鍵字或識別碼。您是不是指 '{0}'?",
|
|
1639
1817
|
"Unknown_option_excludes_Did_you_mean_exclude_6114": "選項 'excludes' 未知。您是指 'exclude' 嗎?",
|
|
1818
|
+
"Unknown_regular_expression_flag_1499": "未知的規則運算式旗標。",
|
|
1640
1819
|
"Unknown_type_acquisition_option_0_17010": "未知的類型取得選項 '{0}'。",
|
|
1641
1820
|
"Unknown_type_acquisition_option_0_Did_you_mean_1_17018": "未知的類型擷取選項 '{0}'。您是指 '{1}' 嗎?",
|
|
1642
1821
|
"Unknown_watch_option_0_5078": "未知的監看選項 '{0}'。",
|
|
@@ -1651,14 +1830,19 @@
|
|
|
1651
1830
|
"Unused_label_7028": "未使用的標籤。",
|
|
1652
1831
|
"Unused_ts_expect_error_directive_2578": "未使用的 '@ts-expect-error' 指示詞。",
|
|
1653
1832
|
"Update_import_from_0_90058": "從 \"{0}\" 更新匯入",
|
|
1654
|
-
"
|
|
1833
|
+
"Update_modifiers_of_0_90061": "更新 '{0}' 的修飾元",
|
|
1655
1834
|
"Updating_output_timestamps_of_project_0_6359": "正在更新專案 '{0}' 的輸出時間戳記...",
|
|
1656
1835
|
"Updating_unchanged_output_timestamps_of_project_0_6371": "正在更新專案 '{0}' 的未更變輸出時間戳記...",
|
|
1657
1836
|
"Use_0_95174": "使用 `{0}`。",
|
|
1837
|
+
"Use_0_instead_5106": "請改用 '{0}'。",
|
|
1658
1838
|
"Use_Number_isNaN_in_all_conditions_95175": "在所有條件中都使用 'Number.isNaN'。",
|
|
1659
1839
|
"Use_element_access_for_0_95145": "對 '{0}' 使用元素存取",
|
|
1660
1840
|
"Use_element_access_for_all_undeclared_properties_95146": "對所有未宣告的屬性使用元素存取。",
|
|
1841
|
+
"Use_import_type_95180": "請使用 'import type'",
|
|
1661
1842
|
"Use_synthetic_default_member_95016": "使用綜合 'default' 成員。",
|
|
1843
|
+
"Use_the_package_json_exports_field_when_resolving_package_imports_6408": "解析套件匯入時,請使用 package.json 'exports' 欄位。",
|
|
1844
|
+
"Use_the_package_json_imports_field_when_resolving_imports_6409": "解析匯入時,請使用 package.json 'imports' 欄位。",
|
|
1845
|
+
"Use_type_0_95181": "請使用 'type {0}'",
|
|
1662
1846
|
"Using_0_subpath_1_with_target_2_6404": "使用 '{0}' 子路徑 '{1}' 與目標 '{2}'。",
|
|
1663
1847
|
"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494": "只有在 ECMAScript 5 及更高版本中,才可在 'for...of' 陳述式中使用字串。",
|
|
1664
1848
|
"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915": "使用 --build、-b 會讓 tsc 的行為較編譯器更像是建置協調器。這可用於觸發建置複合專案,您可以在以下位置深入了解: {0}",
|
|
@@ -1674,6 +1858,8 @@
|
|
|
1674
1858
|
"Variable_declaration_expected_1134": "必須是變數宣告。",
|
|
1675
1859
|
"Variable_declaration_list_cannot_be_empty_1123": "變數宣告清單不得為空白。",
|
|
1676
1860
|
"Variable_declaration_not_allowed_at_this_location_1440": "此位置不允許變數宣告。",
|
|
1861
|
+
"Variable_must_have_an_explicit_type_annotation_with_isolatedDeclarations_9010": "變數必須有具備 --isolatedDeclarations 的明確型別註釋。",
|
|
1862
|
+
"Variables_with_multiple_declarations_cannot_be_inlined_95186": "無法內嵌有多個宣告的變數。",
|
|
1677
1863
|
"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625": "來源中位於 {0} 的可變元素與目標中位於 {1} 的元素不相符。",
|
|
1678
1864
|
"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637": "只有物件、函式、建構函式和對應類型的類型別名才支援差異註釋。",
|
|
1679
1865
|
"Version_0_6029": "版本 {0}",
|
|
@@ -1687,9 +1873,11 @@
|
|
|
1687
1873
|
"When_type_checking_take_into_account_null_and_undefined_6699": "當型別檢查時,請將 'null' 和 'undefined' 納入考慮。",
|
|
1688
1874
|
"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191": "是否要將已過期的主控台輸出,維持在監看模式下,而非清除螢幕。",
|
|
1689
1875
|
"Wrap_all_invalid_characters_in_an_expression_container_95109": "將所有無效字元包裝在運算式容器中",
|
|
1876
|
+
"Wrap_all_invalid_decorator_expressions_in_parentheses_95195": "將所有無效的裝飾項目運算式以括弧包住",
|
|
1690
1877
|
"Wrap_all_object_literal_with_parentheses_95116": "使用括弧括住所有物件常值",
|
|
1691
1878
|
"Wrap_all_unparented_JSX_in_JSX_fragment_95121": "將所有無上層 JSX 包裝至 JSX 片段中",
|
|
1692
1879
|
"Wrap_in_JSX_fragment_95120": "包裝至 JSX 片段中",
|
|
1880
|
+
"Wrap_in_parentheses_95194": "以括弧包住",
|
|
1693
1881
|
"Wrap_invalid_character_in_an_expression_container_95108": "包裝在運算式容器中的字元無效",
|
|
1694
1882
|
"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113": "使用括弧括住下列必須是物件常值的主體",
|
|
1695
1883
|
"You_can_learn_about_all_of_the_compiler_options_at_0_6913": "您可以在以下位置了解所有編譯器選項: {0}",
|
|
@@ -1702,20 +1890,25 @@
|
|
|
1702
1890
|
"_0_and_1_index_signatures_are_incompatible_2330": "'{0}' 和 '{1}' 索引簽章不相容。",
|
|
1703
1891
|
"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076": "'{0}' 與 '{1}' 作業無法在沒有括號的情況下同時使用。",
|
|
1704
1892
|
"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710": "'{0}' 指定了兩次。將會覆寫名為 '{0}' 的屬性。",
|
|
1893
|
+
"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019": "型別以 '{0}' 作為結尾,並非有效的 TypeScript 語法。您是要寫入 '{1}' 嗎?",
|
|
1894
|
+
"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020": "型別以 '{0}' 作為開頭,並非有效的 TypeScript 語法。您是要寫入 '{1}' 嗎?",
|
|
1705
1895
|
"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596": "只能透過開啟 'esModuleInterop' 旗標並使用預設匯入來匯入 '{0}'。",
|
|
1706
1896
|
"_0_can_only_be_imported_by_using_a_default_import_2595": "只能使用預設匯入來匯入 '{0}'。",
|
|
1707
1897
|
"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598": "只能使用 'require' 呼叫,或透過開啟 'esModuleInterop' 旗標並使用預設匯入,來匯入 '{0}'。",
|
|
1708
1898
|
"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597": "只能使用 'require' 呼叫或預設匯入來匯入 '{0}'。",
|
|
1709
1899
|
"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616": "只能使用 'import {1} = require({2})' 或預設匯入來匯入 '{0}'。",
|
|
1710
1900
|
"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617": "只能使用 'import {1} = require({2})',或透過開啟 'esModuleInterop' 旗標並使用預設匯入,來匯入 '{0}'。",
|
|
1711
|
-
"_0_cannot_be_compiled_under_isolatedModules_because_it_is_considered_a_global_script_file_Add_an_imp_1208": "因為系統將 '{0}' 視為全域指令檔,所以無法在 '--isolatedModules' 下編譯。請新增匯入、匯出或空白的 'export {}' 陳述式,使其成為模組。",
|
|
1712
1901
|
"_0_cannot_be_used_as_a_JSX_component_2786": "'{0}' 不能用作 JSX 元件。",
|
|
1713
1902
|
"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362": "因為 '{0}' 是使用 'export type' 匯出的,所以無法作為值使用。",
|
|
1714
1903
|
"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361": "因為 '{0}' 是使用 'import type' 匯入的,所以無法作為值使用。",
|
|
1715
1904
|
"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747": "'{0}' 元件不接受文字作為子項目。JSX 中的文字具有類型 'string',但 '{1}' 需要的類型為 '{2}'。",
|
|
1716
1905
|
"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082": "'{0}' 可以使用與 '{1}' 無關的任意類型來具現化。",
|
|
1906
|
+
"_0_declarations_can_only_be_declared_inside_a_block_1156": "只能在區塊內宣告 '{0}' 宣告。",
|
|
1717
1907
|
"_0_declarations_can_only_be_used_in_TypeScript_files_8006": "'{0}' 宣告只可用於 TypeScript 檔案中。",
|
|
1908
|
+
"_0_declarations_may_not_have_binding_patterns_1492": "'{0}' 宣告可能沒有繫結模式。",
|
|
1909
|
+
"_0_declarations_must_be_initialized_1155": "必須初始化 '{0}' 宣告。",
|
|
1718
1910
|
"_0_expected_1005": "必須是 '{0}'。",
|
|
1911
|
+
"_0_has_a_string_type_but_must_have_syntactically_recognizable_string_syntax_when_isolatedModules_is__18055": "'{0}' 具有字串型別,但在啟用 'isolatedModules' 的狀態下,其語法必須是可辨識的字串語法。",
|
|
1719
1912
|
"_0_has_no_exported_member_named_1_Did_you_mean_2_2724": "'{0}' 沒有任何名稱為 '{1}' 的已匯出成員。您是指 '{2}' 嗎?",
|
|
1720
1913
|
"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050": "'{0}' 隱含 '{1}' 傳回型別,但可從使用方式推斷更適合的類型。",
|
|
1721
1914
|
"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023": "'{0}' 因為沒有傳回型別註解,且在其中一個傳回運算式中直接或間接參考了自己,所以隱含了傳回型別 'any'。",
|
|
@@ -1724,7 +1917,7 @@
|
|
|
1724
1917
|
"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413": "'{0}' 索引類型 '{1}' 無法指派給 '{2}' 索引類型 '{3}'。",
|
|
1725
1918
|
"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692": "'{0}' 為基元,但 '{1}' 為包裝函式物件。建議盡可能使用 '{0}'。",
|
|
1726
1919
|
"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042": "'{0}' 為類型,無法匯入 JavaScript 檔案。在 JSDoc 類型註釋中使用 '{1}'。",
|
|
1727
|
-
"
|
|
1920
|
+
"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484": "'{0}' 為型別,且在啟用 'verbatimModuleSyntax' 的狀態下,必須透過僅限型別的匯入作業匯入。",
|
|
1728
1921
|
"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842": "'{0}' 是未使用的 '{1}' 重新命名。您是否想要使用它作為類型註釋?",
|
|
1729
1922
|
"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075": "'{0}' 可指派給 '{1}' 類型的條件約束,但可能會將 '{1}' 以不同的條件約束 '{2}' 子類型來具現化。",
|
|
1730
1923
|
"_0_is_automatically_exported_here_18044": "'{0}' 會自動匯出到此處。",
|
|
@@ -1747,11 +1940,14 @@
|
|
|
1747
1940
|
"_0_list_cannot_be_empty_1097": "'{0}' 清單不得為空白。",
|
|
1748
1941
|
"_0_modifier_already_seen_1030": "已有 '{0}' 修飾元。",
|
|
1749
1942
|
"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274": "'{0}' 修飾元只能出現在類別、介面或型別別名的型別參數上",
|
|
1943
|
+
"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277": "'{0}' 修飾元只能出現在方法或類別,或是函式的型別參數中。",
|
|
1750
1944
|
"_0_modifier_cannot_appear_on_a_constructor_declaration_1089": "建構函式宣告不得有 '{0}' 修飾元。",
|
|
1751
1945
|
"_0_modifier_cannot_appear_on_a_module_or_namespace_element_1044": "模組或命名空間元素不能有 '{0}' 修飾元。",
|
|
1752
1946
|
"_0_modifier_cannot_appear_on_a_parameter_1090": "參數不得有 '{0}' 修飾元。",
|
|
1753
1947
|
"_0_modifier_cannot_appear_on_a_type_member_1070": "類型成員不能有 '{0}' 修飾元。",
|
|
1754
1948
|
"_0_modifier_cannot_appear_on_a_type_parameter_1273": "型別參數上不能出現 '{0}' 修飾元",
|
|
1949
|
+
"_0_modifier_cannot_appear_on_a_using_declaration_1491": "'{0}' 修飾元不可出現在 'using' 宣告中。",
|
|
1950
|
+
"_0_modifier_cannot_appear_on_an_await_using_declaration_1495": "'{0}' 修飾元不可出現在 'await using' 宣告中。",
|
|
1755
1951
|
"_0_modifier_cannot_appear_on_an_index_signature_1071": "索引簽章不能有 '{0}' 修飾元。",
|
|
1756
1952
|
"_0_modifier_cannot_appear_on_class_elements_of_this_kind_1031": "不得在此種類別項目中使用 '{0}' 修飾元。",
|
|
1757
1953
|
"_0_modifier_cannot_be_used_here_1042": "無法在此處使用 '{0}' 修飾元。",
|
|
@@ -1759,6 +1955,7 @@
|
|
|
1759
1955
|
"_0_modifier_cannot_be_used_with_1_modifier_1243": "'{0}' 修飾元無法與 '{1}' 修飾元並用。",
|
|
1760
1956
|
"_0_modifier_cannot_be_used_with_a_private_identifier_18019": "'{0}' 修飾元不可搭配私人識別碼一起使用。",
|
|
1761
1957
|
"_0_modifier_must_precede_1_modifier_1029": "'{0}' 修飾元必須在 '{1}' 修飾元之前。",
|
|
1958
|
+
"_0_must_be_followed_by_a_Unicode_property_value_expression_enclosed_in_braces_1531": "'\\{0}' 後必須是以大括弧括住的 Unicode 屬性值運算式。",
|
|
1762
1959
|
"_0_needs_an_explicit_type_annotation_2782": "'{0}' 需要明確的型別註解。",
|
|
1763
1960
|
"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702": "'{0}' 只參考類型,但在這裡用作命名空間。",
|
|
1764
1961
|
"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693": "'{0}' 只會參考類型,但此處將其用為值。",
|
|
@@ -1766,8 +1963,12 @@
|
|
|
1766
1963
|
"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585": "「{0}」僅指一種類型,但在此卻作為值使用。要變更您的目標程式庫嗎? 請嘗試將 `lib` 編譯器選項變更為 es2015 或更新版本。",
|
|
1767
1964
|
"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686": "'{0}' 指的是全域的 UMD,但目前的檔案為模組。請考慮改為新增匯入。",
|
|
1768
1965
|
"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749": "'{0}' 為值,但在此處卻作為類型使用。您是否是指 'typeof {0}'?",
|
|
1769
|
-
"
|
|
1770
|
-
"
|
|
1966
|
+
"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1291": "'{0}' 會解析為宣告,且在啟用 '{1}' 的狀態下,必須先在此檔案中必須標記為僅限型別,才可重新匯出。建議使用匯入了 '{0}' 的 'import type'。",
|
|
1967
|
+
"_0_resolves_to_a_type_and_must_be_marked_type_only_in_this_file_before_re_exporting_when_1_is_enable_1292": "'{0}' 會解析為宣告,且在啟用 '{1}' 的狀態下,必須先在此檔案中必須標記為僅限型別,才可重新匯出。建議使用 'export type { {0} as default }'。",
|
|
1968
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485": "'{0}' 會解析為僅限型別的宣告,且在啟用 'verbatimModuleSyntax' 的狀態下,必須透過僅限型別的匯入作業匯入。",
|
|
1969
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1289": "'{0}' 會解析為僅限型別的宣告,且在啟用 '{1}' 的狀態下,必須先在此檔案中必須標記為僅限型別,才可重新匯出。建議使用匯入了 '{0}' 的 'import type'。",
|
|
1970
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_marked_type_only_in_this_file_before_re_exporting_1290": "'{0}' 會解析為僅限型別的宣告,且在啟用 '{1}' 的狀態下,必須先在此檔案中必須標記為僅限型別,才可重新匯出。建議使用 'export type { {0} as default }'。",
|
|
1971
|
+
"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448": "'{0}' 會解析為僅限型別的宣告,且在啟用 '{1}' 的狀態下,必須透過僅限型別的重新匯出作業重新匯出。",
|
|
1771
1972
|
"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258": "'{0}' 應該在設定 json 檔案的 'compilerOptions' 物件內設定。",
|
|
1772
1973
|
"_0_tag_already_specified_1223": "已指定 '{0}' 標記。",
|
|
1773
1974
|
"_0_was_also_declared_here_6203": "'{0}' 也已宣告於此處。",
|
|
@@ -1780,19 +1981,22 @@
|
|
|
1780
1981
|
"and_here_6204": "及此處。",
|
|
1781
1982
|
"arguments_cannot_be_referenced_in_property_initializers_2815": "屬性初始設定式中不得參考 'arguments'。",
|
|
1782
1983
|
"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: node16+) 作為模組。",
|
|
1984
|
+
"await_expression_cannot_be_used_inside_a_class_static_block_18037": "'await' 運算式無法在類別靜態區塊內使用。",
|
|
1783
1985
|
"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375": "當檔案為模組時,只允許 'await' 運算式位於檔案的最上層,但是此檔案沒有匯入或匯出。請考慮新增空白的 'export {}',使這個檔案成為模組。",
|
|
1784
1986
|
"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308": "只允許在非同步函式中與模組的最上層使用 'await' 運算式。",
|
|
1785
1987
|
"await_expressions_cannot_be_used_in_a_parameter_initializer_2524": "'await' 運算式不得用於參數初始設定式。",
|
|
1786
1988
|
"await_has_no_effect_on_the_type_of_this_expression_80007": "'await' 對此運算式的類型沒有作用。",
|
|
1989
|
+
"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853": "當檔案為模組時,僅能在檔案最上層使用 'await using' 陳述式,但此檔案沒有任何匯入或匯出。建議新增空白的 'export {}',讓此檔案成為模組。",
|
|
1990
|
+
"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852": "'await using' 陳述式僅能在非同步函式內,以及模組的最上層使用。",
|
|
1991
|
+
"await_using_statements_cannot_be_used_inside_a_class_static_block_18054": "'await using' 陳述式無法在類別靜態區塊內使用。",
|
|
1787
1992
|
"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106": "'baseUrl' 選項已設為 '{0}'。此值將用於解析非相對的模組名稱 '{1}'。",
|
|
1993
|
+
"c_must_be_followed_by_an_ASCII_letter_1512": "'\\c' 後必須是 ASCII 字母。",
|
|
1788
1994
|
"can_only_be_used_at_the_start_of_a_file_18026": "'#!' 只能用於檔案開頭。",
|
|
1789
1995
|
"case_or_default_expected_1130": "必須是 'case' 或 'default'。",
|
|
1790
1996
|
"catch_or_finally_expected_1472": "必須是 'catch' 或 'finally'。",
|
|
1791
|
-
"const_declarations_can_only_be_declared_inside_a_block_1156": "只能在區塊內宣告 'const' 宣告。",
|
|
1792
|
-
"const_declarations_must_be_initialized_1155": "'const' 宣告必須初始化。",
|
|
1793
1997
|
"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477": "'const' 列舉成員初始設定式已評估為非有限值。",
|
|
1794
1998
|
"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478": "'const' 列舉成員初始設定式已評估為不允許的值 'NaN'。",
|
|
1795
|
-
"
|
|
1999
|
+
"const_enum_member_initializers_must_be_constant_expressions_2474": "常數列舉成員初始設定式必須為常數運算式。",
|
|
1796
2000
|
"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475": "'const' 列舉只可用於屬性或索引存取運算式中,或用於匯入宣告、匯出指派或類型查詢的右側。",
|
|
1797
2001
|
"constructor_cannot_be_used_as_a_parameter_property_name_2398": "'constructor' 不能作為參數屬性名稱使用。",
|
|
1798
2002
|
"constructor_is_a_reserved_word_18012": "'#constructor' 為保留字。",
|
|
@@ -1811,13 +2015,14 @@
|
|
|
1811
2015
|
"file_6025": "檔案",
|
|
1812
2016
|
"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431": "當檔案為模組時,只允許 'for await' 迴圈位於檔案的最上層,但是此檔案沒有匯入或匯出。請考慮新增空白的 'export {}',使這個檔案成為模組。",
|
|
1813
2017
|
"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103": "只允許在非同步函式中與模組的最上層使用 'for await' 迴圈。",
|
|
2018
|
+
"for_await_loops_cannot_be_used_inside_a_class_static_block_18038": "'for await' 迴圈無法在類別靜態區塊內使用。",
|
|
1814
2019
|
"get_and_set_accessors_cannot_declare_this_parameters_2784": "'get' 和 'set' 存取子不可宣告 'this' 參數。",
|
|
1815
2020
|
"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908": "如果指定 `files`,則為 `[]`,否則為 `[\"**/*\"]5D;`",
|
|
1816
2021
|
"implements_clause_already_seen_1175": "已經有 'implements' 子句。",
|
|
1817
2022
|
"implements_clauses_can_only_be_used_in_TypeScript_files_8005": "'implements' 子句只可用於 TypeScript 檔案中。",
|
|
1818
2023
|
"import_can_only_be_used_in_TypeScript_files_8002": "'import ... =' 只可用於 TypeScript 檔案中。",
|
|
1819
2024
|
"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338": "只允許在條件式類型的 'extends' 子句中使用 'infer' 宣告。",
|
|
1820
|
-
"
|
|
2025
|
+
"k_must_be_followed_by_a_capturing_group_name_enclosed_in_angle_brackets_1510": "'\\k' 後必須是以角括弧括住的擷取群組名稱。",
|
|
1821
2026
|
"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480": "'let' 或 'const' 宣告中不得使用 'let' 作為名稱。",
|
|
1822
2027
|
"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010": "模組 === `AMD` 或 `UMD` 或 `System` 或 `ES6`,則為 `Classic`,否則為 `Node`",
|
|
1823
2028
|
"module_system_or_esModuleInterop_6904": "模組 === \"system\" 或 esModuleInterop",
|
|
@@ -1832,6 +2037,7 @@
|
|
|
1832
2037
|
"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207": "'package.json' 沒有任何符合 '{0}' 版本的 'typesVersions' 項目。",
|
|
1833
2038
|
"package_json_had_a_falsy_0_field_6220": "'package.json' 具有假的 '{0}' 欄位。",
|
|
1834
2039
|
"package_json_has_0_field_1_that_references_2_6101": "'package.json' 有參考 '{2}' 的 '{0}' 欄位 '{1}'。",
|
|
2040
|
+
"package_json_has_a_peerDependencies_field_6281": "'package.json' 具有 'peerDependencies' 欄位。",
|
|
1835
2041
|
"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209": "'package.json' 具有 'typesVersions' 項目 '{0}',其非有效的 SemVer 範圍。",
|
|
1836
2042
|
"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208": "'package.json' 具有符合編譯器版本 '{1}' 的 'typesVersions' 項目 '{0}',要尋找符合模組名稱 '{2}' 的模式。",
|
|
1837
2043
|
"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206": "'package.json' 具有限定版本路徑對應的 'typesVersions' 欄位。",
|
|
@@ -1839,13 +2045,14 @@
|
|
|
1839
2045
|
"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275": "package.js 範圍 '{0}' 對指定名稱 '{1}' 的目標具有無效類型",
|
|
1840
2046
|
"package_json_scope_0_has_no_imports_defined_6273": "package.js 範圍 '{0}' 沒有定義的匯入。",
|
|
1841
2047
|
"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091": "'paths' 選項已指定,將尋找符合模組名稱 '{0}' 的模式。",
|
|
2048
|
+
"q_is_only_available_inside_character_class_1511": "'\\q' 僅可在字元類別中使用。",
|
|
2049
|
+
"q_must_be_followed_by_string_alternatives_enclosed_in_braces_1521": "'\\q' 後必須是字串 (可選擇以大括弧括住該字串)。",
|
|
1842
2050
|
"readonly_modifier_can_only_appear_on_a_property_declaration_or_index_signature_1024": "'readonly' 修飾元只能出現在屬性宣告或索引簽章。",
|
|
1843
2051
|
"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354": "'readonly' 類型修飾元只可用於陣列與元組常值類型。",
|
|
1844
2052
|
"require_call_may_be_converted_to_an_import_80005": "'require' 呼叫可能會轉換為匯入。",
|
|
1845
|
-
"resolution_mode_assertions_are_only_supported_when_moduleResolution_is_node16_or_nodenext_1452": "只有當 'moduleResolution' 為 'node16' 或 'nodenext' 時,才支援 'resolution-mode' 判斷提示。",
|
|
1846
|
-
"resolution_mode_assertions_are_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_wi_4125": "'resolution-mode' 判斷提示不穩定。使用夜間 TypeScript 將此錯誤設為靜音。請嘗試使用 'npm install -D typescript@next' 更新。",
|
|
1847
2053
|
"resolution_mode_can_only_be_set_for_type_only_imports_1454": "只能針對僅限輸入的匯入設定 'resolution-mode'。",
|
|
1848
2054
|
"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455": "'resolution-mode' 是輸入匯入判斷提示唯一有效的索引鍵。",
|
|
2055
|
+
"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463": "'resolution-mode' 是型別匯入屬性唯一有效的索引鍵。",
|
|
1849
2056
|
"resolution_mode_should_be_either_require_or_import_1453": "`resolution-mode` 應該是 `require` 或 `import`。",
|
|
1850
2057
|
"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107": "'rootDirs' 選項已設定。該選項將用於解析相對的模組名稱 '{0}'。",
|
|
1851
2058
|
"super_can_only_be_referenced_in_a_derived_class_2335": "只有衍生類別中才可參考 'super'。",
|
|
@@ -1861,11 +2068,11 @@
|
|
|
1861
2068
|
"this_cannot_be_referenced_in_a_computed_property_name_2465": "計算的屬性名稱中不得參考 'this'。",
|
|
1862
2069
|
"this_cannot_be_referenced_in_a_module_or_namespace_body_2331": "模組或命名空間主體中不得參考 'this'。",
|
|
1863
2070
|
"this_cannot_be_referenced_in_a_static_property_initializer_2334": "靜態屬性初始設定式中不得參考 'this'。",
|
|
1864
|
-
"this_cannot_be_referenced_in_constructor_arguments_2333": "建構函式引數中不得參考 'this'。",
|
|
1865
2071
|
"this_cannot_be_referenced_in_current_location_2332": "目前的位置中不得參考 'this'。",
|
|
1866
2072
|
"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683": "因為 'this' 沒有型別註解,所以隱含具有類型 'any'。",
|
|
1867
2073
|
"true_for_ES2022_and_above_including_ESNext_6930": "ES2022 及以上為 true,包括 ESNext。",
|
|
1868
2074
|
"true_if_composite_false_otherwise_6909": "如果為 `composite`,則為 `true`,否則為 `false`",
|
|
2075
|
+
"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411": "當 'moduleResolution' 為 'node16'、'nodenext' 或 'bundler' 時,為 `true`; 否則為 `false`。",
|
|
1869
2076
|
"tsc_Colon_The_TypeScript_Compiler_6922": "tsc: TypeScript 編譯器",
|
|
1870
2077
|
"type_Colon_6902": "輸入:",
|
|
1871
2078
|
"unique_symbol_types_are_not_allowed_here_1335": "這裡不允許 'unique symbol' 型別。",
|