Skip to content

Commit 4c8b979

Browse files
committed
Update LKG
1 parent 533572b commit 4c8b979

26 files changed

+5312
-2636
lines changed

lib/enu/diagnosticMessages.generated.json.lcg

Lines changed: 61 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,12 @@
303303
</Str>
304304
<Disp Icon="Str" />
305305
</Item>
306+
<Item ItemId=";A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_7038" ItemType="0" PsrId="306" Leaf="true">
307+
<Str Cat="Text">
308+
<Val><![CDATA[A namespace-style import cannot be called or constructed, and will cause a failure at runtime.]]></Val>
309+
</Str>
310+
<Disp Icon="Str" />
311+
</Item>
306312
<Item ItemId=";A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371" ItemType="0" PsrId="306" Leaf="true">
307313
<Str Cat="Text">
308314
<Val><![CDATA[A parameter initializer is only allowed in a function or constructor implementation.]]></Val>
@@ -831,6 +837,18 @@
831837
</Str>
832838
<Disp Icon="Str" />
833839
</Item>
840+
<Item ItemId=";An_index_signature_parameter_type_cannot_be_a_type_alias_Consider_writing_0_Colon_1_Colon_2_instead_1336" ItemType="0" PsrId="306" Leaf="true">
841+
<Str Cat="Text">
842+
<Val><![CDATA[An index signature parameter type cannot be a type alias. Consider writing '[{0}: {1}]5D;: {2}' instead.]]></Val>
843+
</Str>
844+
<Disp Icon="Str" />
845+
</Item>
846+
<Item ItemId=";An_index_signature_parameter_type_cannot_be_a_union_type_Consider_using_a_mapped_object_type_instead_1337" ItemType="0" PsrId="306" Leaf="true">
847+
<Str Cat="Text">
848+
<Val><![CDATA[An index signature parameter type cannot be a union type. Consider using a mapped object type instead.]]></Val>
849+
</Str>
850+
<Disp Icon="Str" />
851+
</Item>
834852
<Item ItemId=";An_index_signature_parameter_type_must_be_string_or_number_1023" ItemType="0" PsrId="306" Leaf="true">
835853
<Str Cat="Text">
836854
<Val><![CDATA[An index signature parameter type must be 'string' or 'number'.]]></Val>
@@ -1191,6 +1209,24 @@
11911209
</Str>
11921210
<Disp Icon="Str" />
11931211
</Item>
1212+
<Item ItemId=";Cannot_invoke_an_object_which_is_possibly_null_2721" ItemType="0" PsrId="306" Leaf="true">
1213+
<Str Cat="Text">
1214+
<Val><![CDATA[Cannot invoke an object which is possibly 'null'.]]></Val>
1215+
</Str>
1216+
<Disp Icon="Str" />
1217+
</Item>
1218+
<Item ItemId=";Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723" ItemType="0" PsrId="306" Leaf="true">
1219+
<Str Cat="Text">
1220+
<Val><![CDATA[Cannot invoke an object which is possibly 'null' or 'undefined'.]]></Val>
1221+
</Str>
1222+
<Disp Icon="Str" />
1223+
</Item>
1224+
<Item ItemId=";Cannot_invoke_an_object_which_is_possibly_undefined_2722" ItemType="0" PsrId="306" Leaf="true">
1225+
<Str Cat="Text">
1226+
<Val><![CDATA[Cannot invoke an object which is possibly 'undefined'.]]></Val>
1227+
</Str>
1228+
<Disp Icon="Str" />
1229+
</Item>
11941230
<Item ItemId=";Cannot_re_export_a_type_when_the_isolatedModules_flag_is_provided_1205" ItemType="0" PsrId="306" Leaf="true">
11951231
<Str Cat="Text">
11961232
<Val><![CDATA[Cannot re-export a type when the '--isolatedModules' flag is provided.]]></Val>
@@ -1875,6 +1911,12 @@
18751911
</Str>
18761912
<Disp Icon="Str" />
18771913
</Item>
1914+
<Item ItemId=";Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037" ItemType="0" PsrId="306" Leaf="true">
1915+
<Str Cat="Text">
1916+
<Val><![CDATA[Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.]]></Val>
1917+
</Str>
1918+
<Disp Icon="Str" />
1919+
</Item>
18781920
<Item ItemId=";Enables_experimental_support_for_ES7_async_functions_6068" ItemType="0" PsrId="306" Leaf="true">
18791921
<Str Cat="Text">
18801922
<Val><![CDATA[Enables experimental support for ES7 async functions.]]></Val>
@@ -3603,6 +3645,12 @@
36033645
</Str>
36043646
<Disp Icon="Str" />
36053647
</Item>
3648+
<Item ItemId=";Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416" ItemType="0" PsrId="306" Leaf="true">
3649+
<Str Cat="Text">
3650+
<Val><![CDATA[Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'.]]></Val>
3651+
</Str>
3652+
<Disp Icon="Str" />
3653+
</Item>
36063654
<Item ItemId=";Property_0_in_type_1_is_not_assignable_to_type_2_2603" ItemType="0" PsrId="306" Leaf="true">
36073655
<Str Cat="Text">
36083656
<Val><![CDATA[Property '{0}' in type '{1}' is not assignable to type '{2}'.]]></Val>
@@ -3837,6 +3885,12 @@
38373885
</Str>
38383886
<Disp Icon="Str" />
38393887
</Item>
3888+
<Item ItemId=";Replace_import_with_0_95015" ItemType="0" PsrId="306" Leaf="true">
3889+
<Str Cat="Text">
3890+
<Val><![CDATA[Replace import with '{0}'.]]></Val>
3891+
</Str>
3892+
<Disp Icon="Str" />
3893+
</Item>
38403894
<Item ItemId=";Report_error_when_not_all_code_paths_in_function_return_a_value_6075" ItemType="0" PsrId="306" Leaf="true">
38413895
<Str Cat="Text">
38423896
<Val><![CDATA[Report error when not all code paths in function return a value.]]></Val>
@@ -5181,6 +5235,12 @@
51815235
</Str>
51825236
<Disp Icon="Str" />
51835237
</Item>
5238+
<Item ItemId=";Use_synthetic_default_member_95016" ItemType="0" PsrId="306" Leaf="true">
5239+
<Str Cat="Text">
5240+
<Val><![CDATA[Use synthetic 'default' member.]]></Val>
5241+
</Str>
5242+
<Disp Icon="Str" />
5243+
</Item>
51845244
<Item ItemId=";Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494" ItemType="0" PsrId="306" Leaf="true">
51855245
<Str Cat="Text">
51865246
<Val><![CDATA[Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher.]]></Val>
@@ -5513,7 +5573,7 @@
55135573
</Item>
55145574
<Item ItemId=";const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475" ItemType="0" PsrId="306" Leaf="true">
55155575
<Str Cat="Text">
5516-
<Val><![CDATA['const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment.]]></Val>
5576+
<Val><![CDATA['const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query.]]></Val>
55175577
</Str>
55185578
<Disp Icon="Str" />
55195579
</Item>

lib/es/diagnosticMessages.generated.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@
221221
"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_proper_2424": "La clase '{0}' define la función miembro de instancia como '{1}', pero la clase extendida '{2}' la define como propiedad de miembro de instancia.",
222222
"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425": "La clase '{0}' define la propiedad de miembro de instancia como '{1}', pero la clase extendida '{2}' la define como función miembro de instancia.",
223223
"Class_0_incorrectly_extends_base_class_1_2415": "La clase '{0}' extiende la clase base '{1}' de forma incorrecta.",
224-
"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720": "Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?",
224+
"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720": "La clase \"{0}\" no implementa correctamente la clase \"{1}\". ¿Pretendía extender \"{1}\" y heredar sus miembros como una subclase?",
225225
"Class_0_incorrectly_implements_interface_1_2420": "La clase '{0}' implementa la interfaz '{1}' de forma incorrecta.",
226226
"Class_0_used_before_its_declaration_2449": "Se ha usado la clase \"{0}\" antes de declararla.",
227227
"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025": "Las declaraciones de clase no pueden tener más de una etiqueta \"@augments\" o \"@extends\".",

0 commit comments

Comments
 (0)