|
141 | 141 | </Str> |
142 | 142 | <Disp Icon="Str" /> |
143 | 143 | </Item> |
144 | | - <Item ItemId=";A_computed_property_name_in_a_class_property_declaration_must_directly_refer_to_a_built_in_symbol_1166" ItemType="0" PsrId="306" Leaf="true"> |
| 144 | + <Item ItemId=";A_computed_property_name_in_a_class_property_declaration_must_refer_to_an_expression_whose_type_is_a_1166" ItemType="0" PsrId="306" Leaf="true"> |
145 | 145 | <Str Cat="Text"> |
146 | | - <Val><![CDATA[A computed property name in a class property declaration must directly refer to a built-in symbol.]]></Val> |
147 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
148 | | - <Val><![CDATA[类属性声明中的计算属性名必须直接引用内置符号。]]></Val> |
149 | | - </Tgt> |
| 146 | + <Val><![CDATA[A computed property name in a class property declaration must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
150 | 147 | </Str> |
151 | 148 | <Disp Icon="Str" /> |
152 | 149 | </Item> |
153 | | - <Item ItemId=";A_computed_property_name_in_a_method_overload_must_directly_refer_to_a_built_in_symbol_1168" ItemType="0" PsrId="306" Leaf="true"> |
| 150 | + <Item ItemId=";A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168" ItemType="0" PsrId="306" Leaf="true"> |
154 | 151 | <Str Cat="Text"> |
155 | | - <Val><![CDATA[A computed property name in a method overload must directly refer to a built-in symbol.]]></Val> |
156 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
157 | | - <Val><![CDATA[方法重载中的计算属性名必须直接引用内置符号。]]></Val> |
158 | | - </Tgt> |
| 152 | + <Val><![CDATA[A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
159 | 153 | </Str> |
160 | 154 | <Disp Icon="Str" /> |
161 | 155 | </Item> |
162 | | - <Item ItemId=";A_computed_property_name_in_a_type_literal_must_directly_refer_to_a_built_in_symbol_1170" ItemType="0" PsrId="306" Leaf="true"> |
| 156 | + <Item ItemId=";A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170" ItemType="0" PsrId="306" Leaf="true"> |
163 | 157 | <Str Cat="Text"> |
164 | | - <Val><![CDATA[A computed property name in a type literal must directly refer to a built-in symbol.]]></Val> |
165 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
166 | | - <Val><![CDATA[类型文本中的计算属性名必须直接引用内置符号。]]></Val> |
167 | | - </Tgt> |
| 158 | + <Val><![CDATA[A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
168 | 159 | </Str> |
169 | 160 | <Disp Icon="Str" /> |
170 | 161 | </Item> |
171 | | - <Item ItemId=";A_computed_property_name_in_an_ambient_context_must_directly_refer_to_a_built_in_symbol_1165" ItemType="0" PsrId="306" Leaf="true"> |
| 162 | + <Item ItemId=";A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165" ItemType="0" PsrId="306" Leaf="true"> |
172 | 163 | <Str Cat="Text"> |
173 | | - <Val><![CDATA[A computed property name in an ambient context must directly refer to a built-in symbol.]]></Val> |
174 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
175 | | - <Val><![CDATA[环境上下文中的计算属性名必须直接引用内置符号。]]></Val> |
176 | | - </Tgt> |
| 164 | + <Val><![CDATA[A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
177 | 165 | </Str> |
178 | 166 | <Disp Icon="Str" /> |
179 | 167 | </Item> |
180 | | - <Item ItemId=";A_computed_property_name_in_an_interface_must_directly_refer_to_a_built_in_symbol_1169" ItemType="0" PsrId="306" Leaf="true"> |
| 168 | + <Item ItemId=";A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169" ItemType="0" PsrId="306" Leaf="true"> |
181 | 169 | <Str Cat="Text"> |
182 | | - <Val><![CDATA[A computed property name in an interface must directly refer to a built-in symbol.]]></Val> |
183 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
184 | | - <Val><![CDATA[接口中的计算属性名必须直接引用内置符号。]]></Val> |
185 | | - </Tgt> |
| 170 | + <Val><![CDATA[A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type.]]></Val> |
186 | 171 | </Str> |
187 | 172 | <Disp Icon="Str" /> |
188 | 173 | </Item> |
|
519 | 504 | </Str> |
520 | 505 | <Disp Icon="Str" /> |
521 | 506 | </Item> |
| 507 | + <Item ItemId=";A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331" ItemType="0" PsrId="306" Leaf="true"> |
| 508 | + <Str Cat="Text"> |
| 509 | + <Val><![CDATA[A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'.]]></Val> |
| 510 | + </Str> |
| 511 | + <Disp Icon="Str" /> |
| 512 | + </Item> |
| 513 | + <Item ItemId=";A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330" ItemType="0" PsrId="306" Leaf="true"> |
| 514 | + <Str Cat="Text"> |
| 515 | + <Val><![CDATA[A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'.]]></Val> |
| 516 | + </Str> |
| 517 | + <Disp Icon="Str" /> |
| 518 | + </Item> |
522 | 519 | <Item ItemId=";A_required_parameter_cannot_follow_an_optional_parameter_1016" ItemType="0" PsrId="306" Leaf="true"> |
523 | 520 | <Str Cat="Text"> |
524 | 521 | <Val><![CDATA[A required parameter cannot follow an optional parameter.]]></Val> |
|
765 | 762 | </Str> |
766 | 763 | <Disp Icon="Str" /> |
767 | 764 | </Item> |
| 765 | + <Item ItemId=";A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332" ItemType="0" PsrId="306" Leaf="true"> |
| 766 | + <Str Cat="Text"> |
| 767 | + <Val><![CDATA[A variable whose type is a 'unique symbol' type must be 'const'.]]></Val> |
| 768 | + </Str> |
| 769 | + <Disp Icon="Str" /> |
| 770 | + </Item> |
768 | 771 | <Item ItemId=";A_yield_expression_is_only_allowed_in_a_generator_body_1163" ItemType="0" PsrId="306" Leaf="true"> |
769 | 772 | <Str Cat="Text"> |
770 | 773 | <Val><![CDATA[A 'yield' expression is only allowed in a generator body.]]></Val> |
|
2577 | 2580 | </Str> |
2578 | 2581 | <Disp Icon="Str" /> |
2579 | 2582 | </Item> |
| 2583 | + <Item ItemId=";Duplicate_declaration_0_2718" ItemType="0" PsrId="306" Leaf="true"> |
| 2584 | + <Str Cat="Text"> |
| 2585 | + <Val><![CDATA[Duplicate declaration '{0}'.]]></Val> |
| 2586 | + </Str> |
| 2587 | + <Disp Icon="Str" /> |
| 2588 | + </Item> |
2580 | 2589 | <Item ItemId=";Duplicate_function_implementation_2393" ItemType="0" PsrId="306" Leaf="true"> |
2581 | 2590 | <Str Cat="Text"> |
2582 | 2591 | <Val><![CDATA[Duplicate function implementation.]]></Val> |
|
2925 | 2934 | </Str> |
2926 | 2935 | <Disp Icon="Str" /> |
2927 | 2936 | </Item> |
2928 | | - <Item ItemId=";Expected_0_arguments_but_got_a_minimum_of_1_2556" ItemType="0" PsrId="306" Leaf="true"> |
| 2937 | + <Item ItemId=";Expected_0_arguments_but_got_1_or_more_2556" ItemType="0" PsrId="306" Leaf="true"> |
2929 | 2938 | <Str Cat="Text"> |
2930 | | - <Val><![CDATA[Expected {0} arguments, but got a minimum of {1}.]]></Val> |
2931 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
2932 | | - <Val><![CDATA[应有 {0} 个参数,但获得最小值 {1} 个。]]></Val> |
2933 | | - </Tgt> |
| 2939 | + <Val><![CDATA[Expected {0} arguments, but got {1} or more.]]></Val> |
2934 | 2940 | </Str> |
2935 | 2941 | <Disp Icon="Str" /> |
2936 | 2942 | </Item> |
|
2961 | 2967 | </Str> |
2962 | 2968 | <Disp Icon="Str" /> |
2963 | 2969 | </Item> |
2964 | | - <Item ItemId=";Expected_at_least_0_arguments_but_got_a_minimum_of_1_2557" ItemType="0" PsrId="306" Leaf="true"> |
| 2970 | + <Item ItemId=";Expected_at_least_0_arguments_but_got_1_or_more_2557" ItemType="0" PsrId="306" Leaf="true"> |
2965 | 2971 | <Str Cat="Text"> |
2966 | | - <Val><![CDATA[Expected at least {0} arguments, but got a minimum of {1}.]]></Val> |
2967 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
2968 | | - <Val><![CDATA[应有至少 {0} 个参数,但获得最小值 {1} 个。]]></Val> |
2969 | | - </Tgt> |
| 2972 | + <Val><![CDATA[Expected at least {0} arguments, but got {1} or more.]]></Val> |
2970 | 2973 | </Str> |
2971 | 2974 | <Disp Icon="Str" /> |
2972 | 2975 | </Item> |
|
4122 | 4125 | </Str> |
4123 | 4126 | <Disp Icon="Str" /> |
4124 | 4127 | </Item> |
| 4128 | + <Item ItemId=";JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028" ItemType="0" PsrId="306" Leaf="true"> |
| 4129 | + <Str Cat="Text"> |
| 4130 | + <Val><![CDATA[JSDoc '...' may only appear in the last parameter of a signature.]]></Val> |
| 4131 | + <Tgt Cat="Text" Stat="Loc" Orig="New"> |
| 4132 | + <Val><![CDATA[JSDoc "..." 可能仅出现在签名的最后一个参数中。]]></Val> |
| 4133 | + </Tgt> |
| 4134 | + </Str> |
| 4135 | + <Disp Icon="Str" /> |
| 4136 | + </Item> |
4125 | 4137 | <Item ItemId=";JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024" ItemType="0" PsrId="306" Leaf="true"> |
4126 | 4138 | <Str Cat="Text"> |
4127 | 4139 | <Val><![CDATA[JSDoc '@param' tag has name '{0}', but there is no parameter with that name.]]></Val> |
|
4491 | 4503 | </Str> |
4492 | 4504 | <Disp Icon="Str" /> |
4493 | 4505 | </Item> |
| 4506 | + <Item ItemId=";Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101" ItemType="0" PsrId="306" Leaf="true"> |
| 4507 | + <Str Cat="Text"> |
| 4508 | + <Val><![CDATA[Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'.]]></Val> |
| 4509 | + </Str> |
| 4510 | + <Disp Icon="Str" /> |
| 4511 | + </Item> |
| 4512 | + <Item ItemId=";Method_0_of_exported_interface_has_or_is_using_private_name_1_4102" ItemType="0" PsrId="306" Leaf="true"> |
| 4513 | + <Str Cat="Text"> |
| 4514 | + <Val><![CDATA[Method '{0}' of exported interface has or is using private name '{1}'.]]></Val> |
| 4515 | + </Str> |
| 4516 | + <Disp Icon="Str" /> |
| 4517 | + </Item> |
4494 | 4518 | <Item ItemId=";Modifiers_cannot_appear_here_1184" ItemType="0" PsrId="306" Leaf="true"> |
4495 | 4519 | <Str Cat="Text"> |
4496 | 4520 | <Val><![CDATA[Modifiers cannot appear here.]]></Val> |
|
5634 | 5658 | </Str> |
5635 | 5659 | <Disp Icon="Str" /> |
5636 | 5660 | </Item> |
| 5661 | + <Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098" ItemType="0" PsrId="306" Leaf="true"> |
| 5662 | + <Str Cat="Text"> |
| 5663 | + <Val><![CDATA[Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val> |
| 5664 | + </Str> |
| 5665 | + <Disp Icon="Str" /> |
| 5666 | + </Item> |
| 5667 | + <Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099" ItemType="0" PsrId="306" Leaf="true"> |
| 5668 | + <Str Cat="Text"> |
| 5669 | + <Val><![CDATA[Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'.]]></Val> |
| 5670 | + </Str> |
| 5671 | + <Disp Icon="Str" /> |
| 5672 | + </Item> |
| 5673 | + <Item ItemId=";Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100" ItemType="0" PsrId="306" Leaf="true"> |
| 5674 | + <Str Cat="Text"> |
| 5675 | + <Val><![CDATA[Public method '{0}' of exported class has or is using private name '{1}'.]]></Val> |
| 5676 | + </Str> |
| 5677 | + <Disp Icon="Str" /> |
| 5678 | + </Item> |
5637 | 5679 | <Item ItemId=";Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029" ItemType="0" PsrId="306" Leaf="true"> |
5638 | 5680 | <Str Cat="Text"> |
5639 | 5681 | <Val><![CDATA[Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val> |
|
5661 | 5703 | </Str> |
5662 | 5704 | <Disp Icon="Str" /> |
5663 | 5705 | </Item> |
| 5706 | + <Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095" ItemType="0" PsrId="306" Leaf="true"> |
| 5707 | + <Str Cat="Text"> |
| 5708 | + <Val><![CDATA[Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val> |
| 5709 | + </Str> |
| 5710 | + <Disp Icon="Str" /> |
| 5711 | + </Item> |
| 5712 | + <Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096" ItemType="0" PsrId="306" Leaf="true"> |
| 5713 | + <Str Cat="Text"> |
| 5714 | + <Val><![CDATA[Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'.]]></Val> |
| 5715 | + </Str> |
| 5716 | + <Disp Icon="Str" /> |
| 5717 | + </Item> |
| 5718 | + <Item ItemId=";Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097" ItemType="0" PsrId="306" Leaf="true"> |
| 5719 | + <Str Cat="Text"> |
| 5720 | + <Val><![CDATA[Public static method '{0}' of exported class has or is using private name '{1}'.]]></Val> |
| 5721 | + </Str> |
| 5722 | + <Disp Icon="Str" /> |
| 5723 | + </Item> |
5664 | 5724 | <Item ItemId=";Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026" ItemType="0" PsrId="306" Leaf="true"> |
5665 | 5725 | <Str Cat="Text"> |
5666 | 5726 | <Val><![CDATA[Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named.]]></Val> |
|
6447 | 6507 | </Str> |
6448 | 6508 | <Disp Icon="Str" /> |
6449 | 6509 | </Item> |
| 6510 | + <Item ItemId=";Subsequent_property_declarations_must_have_the_same_type_Property_0_has_type_1_at_2_but_here_has_typ_2717" ItemType="0" PsrId="306" Leaf="true"> |
| 6511 | + <Str Cat="Text"> |
| 6512 | + <Val><![CDATA[Subsequent property declarations must have the same type. Property '{0}' has type '{1}' at {2}, but here has type '{3}'.]]></Val> |
| 6513 | + </Str> |
| 6514 | + <Disp Icon="Str" /> |
| 6515 | + </Item> |
6450 | 6516 | <Item ItemId=";Subsequent_variable_declarations_must_have_the_same_type_Variable_0_has_type_1_at_2_but_here_has_typ_2403" ItemType="0" PsrId="306" Leaf="true"> |
6451 | 6517 | <Str Cat="Text"> |
6452 | 6518 | <Val><![CDATA[Subsequent variable declarations must have the same type. Variable '{0}' has type '{1}' at {2}, but here has type '{3}'.]]></Val> |
|
6669 | 6735 | </Str> |
6670 | 6736 | <Disp Icon="Str" /> |
6671 | 6737 | </Item> |
6672 | | - <Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_this_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true"> |
| 6738 | + <Item ItemId=";The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527" ItemType="0" PsrId="306" Leaf="true"> |
6673 | 6739 | <Str Cat="Text"> |
6674 | | - <Val><![CDATA[The inferred type of '{0}' references an inaccessible 'this' type. A type annotation is necessary.]]></Val> |
6675 | | - <Tgt Cat="Text" Stat="Loc" Orig="New"> |
6676 | | - <Val><![CDATA[“{0}”的推断类型引用不可访问的 "this" 类型。需要类型批注。]]></Val> |
6677 | | - </Tgt> |
| 6740 | + <Val><![CDATA[The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary.]]></Val> |
6678 | 6741 | </Str> |
6679 | 6742 | <Disp Icon="Str" /> |
6680 | 6743 | </Item> |
|
8724 | 8787 | </Str> |
8725 | 8788 | <Disp Icon="Str" /> |
8726 | 8789 | </Item> |
| 8790 | + <Item ItemId=";unique_symbol_types_are_not_allowed_here_1335" ItemType="0" PsrId="306" Leaf="true"> |
| 8791 | + <Str Cat="Text"> |
| 8792 | + <Val><![CDATA['unique symbol' types are not allowed here.]]></Val> |
| 8793 | + </Str> |
| 8794 | + <Disp Icon="Str" /> |
| 8795 | + </Item> |
| 8796 | + <Item ItemId=";unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334" ItemType="0" PsrId="306" Leaf="true"> |
| 8797 | + <Str Cat="Text"> |
| 8798 | + <Val><![CDATA['unique symbol' types are only allowed on variables in a variable statement.]]></Val> |
| 8799 | + </Str> |
| 8800 | + <Disp Icon="Str" /> |
| 8801 | + </Item> |
| 8802 | + <Item ItemId=";unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333" ItemType="0" PsrId="306" Leaf="true"> |
| 8803 | + <Str Cat="Text"> |
| 8804 | + <Val><![CDATA['unique symbol' types may not be used on a variable declaration with a binding name.]]></Val> |
| 8805 | + </Str> |
| 8806 | + <Disp Icon="Str" /> |
| 8807 | + </Item> |
8727 | 8808 | <Item ItemId=";with_statements_are_not_allowed_in_an_async_function_block_1300" ItemType="0" PsrId="306" Leaf="true"> |
8728 | 8809 | <Str Cat="Text"> |
8729 | 8810 | <Val><![CDATA['with' statements are not allowed in an async function block.]]></Val> |
|
0 commit comments