Skip to content

Commit 61b6b62

Browse files
Update to TypeScript 3.3.1.
1 parent 5240174 commit 61b6b62

14 files changed

+13855
-7374
lines changed

tsserver/enu/diagnosticMessages.generated.json.lcg

+92-38
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,18 @@
2727
</Str>
2828
<Disp Icon="Str" />
2929
</Item>
30+
<Item ItemId=";A_bigint_literal_cannot_use_exponential_notation_1352" ItemType="0" PsrId="306" Leaf="true">
31+
<Str Cat="Text">
32+
<Val><![CDATA[A bigint literal cannot use exponential notation.]]></Val>
33+
</Str>
34+
<Disp Icon="Str" />
35+
</Item>
36+
<Item ItemId=";A_bigint_literal_must_be_an_integer_1353" ItemType="0" PsrId="306" Leaf="true">
37+
<Str Cat="Text">
38+
<Val><![CDATA[A bigint literal must be an integer.]]></Val>
39+
</Str>
40+
<Disp Icon="Str" />
41+
</Item>
3042
<Item ItemId=";A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463" ItemType="0" PsrId="306" Leaf="true">
3143
<Str Cat="Text">
3244
<Val><![CDATA[A binding pattern parameter cannot be optional in an implementation signature.]]></Val>
@@ -1005,6 +1017,12 @@
10051017
</Str>
10061018
<Disp Icon="Str" />
10071019
</Item>
1020+
<Item ItemId=";An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351" ItemType="0" PsrId="306" Leaf="true">
1021+
<Str Cat="Text">
1022+
<Val><![CDATA[An identifier or keyword cannot immediately follow a numeric literal.]]></Val>
1023+
</Str>
1024+
<Disp Icon="Str" />
1025+
</Item>
10081026
<Item ItemId=";An_implementation_cannot_be_declared_in_ambient_contexts_1183" ItemType="0" PsrId="306" Leaf="true">
10091027
<Str Cat="Text">
10101028
<Val><![CDATA[An implementation cannot be declared in ambient contexts.]]></Val>
@@ -2235,12 +2253,6 @@
22352253
</Str>
22362254
<Disp Icon="Str" />
22372255
</Item>
2238-
<Item ItemId=";Duplicate_declaration_0_2718" ItemType="0" PsrId="306" Leaf="true">
2239-
<Str Cat="Text">
2240-
<Val><![CDATA[Duplicate declaration '{0}'.]]></Val>
2241-
</Str>
2242-
<Disp Icon="Str" />
2243-
</Item>
22442256
<Item ItemId=";Duplicate_function_implementation_2393" ItemType="0" PsrId="306" Leaf="true">
22452257
<Str Cat="Text">
22462258
<Val><![CDATA[Duplicate function implementation.]]></Val>
@@ -2307,6 +2319,12 @@
23072319
</Str>
23082320
<Disp Icon="Str" />
23092321
</Item>
2322+
<Item ItemId=";Duplicate_property_0_2718" ItemType="0" PsrId="306" Leaf="true">
2323+
<Str Cat="Text">
2324+
<Val><![CDATA[Duplicate property '{0}'.]]></Val>
2325+
</Str>
2326+
<Disp Icon="Str" />
2327+
</Item>
23102328
<Item ItemId=";Duplicate_string_index_signature_2374" ItemType="0" PsrId="306" Leaf="true">
23112329
<Str Cat="Text">
23122330
<Val><![CDATA[Duplicate string index signature.]]></Val>
@@ -2403,6 +2421,12 @@
24032421
</Str>
24042422
<Disp Icon="Str" />
24052423
</Item>
2424+
<Item ItemId=";Enable_the_experimentalDecorators_option_in_your_configuration_file_95074" ItemType="0" PsrId="306" Leaf="true">
2425+
<Str Cat="Text">
2426+
<Val><![CDATA[Enable the 'experimentalDecorators' option in your configuration file]]></Val>
2427+
</Str>
2428+
<Disp Icon="Str" />
2429+
</Item>
24062430
<Item ItemId=";Enable_tracing_of_the_name_resolution_process_6085" ItemType="0" PsrId="306" Leaf="true">
24072431
<Str Cat="Text">
24082432
<Val><![CDATA[Enable tracing of the name resolution process.]]></Val>
@@ -3189,12 +3213,6 @@
31893213
</Str>
31903214
<Disp Icon="Str" />
31913215
</Item>
3192-
<Item ItemId=";In_const_enum_declarations_member_initializer_must_be_constant_expression_2474" ItemType="0" PsrId="306" Leaf="true">
3193-
<Str Cat="Text">
3194-
<Val><![CDATA[In 'const' enum declarations member initializer must be constant expression.]]></Val>
3195-
</Str>
3196-
<Disp Icon="Str" />
3197-
</Item>
31983216
<Item ItemId=";Include_modules_imported_with_json_extension_6197" ItemType="0" PsrId="306" Leaf="true">
31993217
<Str Cat="Text">
32003218
<Val><![CDATA[Include modules imported with '.json' extension]]></Val>
@@ -3741,12 +3759,6 @@
37413759
</Str>
37423760
<Disp Icon="Str" />
37433761
</Item>
3744-
<Item ItemId=";Module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct_2497" ItemType="0" PsrId="306" Leaf="true">
3745-
<Str Cat="Text">
3746-
<Val><![CDATA[Module '{0}' resolves to a non-module entity and cannot be imported using this construct.]]></Val>
3747-
</Str>
3748-
<Disp Icon="Str" />
3749-
</Item>
37503762
<Item ItemId=";Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498" ItemType="0" PsrId="306" Leaf="true">
37513763
<Str Cat="Text">
37523764
<Val><![CDATA[Module '{0}' uses 'export =' and cannot be used with 'export *'.]]></Val>
@@ -3867,6 +3879,12 @@
38673879
</Str>
38683880
<Disp Icon="Str" />
38693881
</Item>
3882+
<Item ItemId=";No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743" ItemType="0" PsrId="306" Leaf="true">
3883+
<Str Cat="Text">
3884+
<Val><![CDATA[No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments.]]></Val>
3885+
</Str>
3886+
<Disp Icon="Str" />
3887+
</Item>
38703888
<Item ItemId=";Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515" ItemType="0" PsrId="306" Leaf="true">
38713889
<Str Cat="Text">
38723890
<Val><![CDATA[Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'.]]></Val>
@@ -4671,6 +4689,12 @@
46714689
</Str>
46724690
<Disp Icon="Str" />
46734691
</Item>
4692+
<Item ItemId=";Property_0_was_also_declared_here_2733" ItemType="0" PsrId="306" Leaf="true">
4693+
<Str Cat="Text">
4694+
<Val><![CDATA[Property '{0}' was also declared here.]]></Val>
4695+
</Str>
4696+
<Disp Icon="Str" />
4697+
</Item>
46744698
<Item ItemId=";Property_assignment_expected_1136" ItemType="0" PsrId="306" Leaf="true">
46754699
<Str Cat="Text">
46764700
<Val><![CDATA[Property assignment expected.]]></Val>
@@ -4773,6 +4797,12 @@
47734797
</Str>
47744798
<Disp Icon="Str" />
47754799
</Item>
4800+
<Item ItemId=";Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032" ItemType="0" PsrId="306" Leaf="true">
4801+
<Str Cat="Text">
4802+
<Val><![CDATA[Qualified name '{0}' is not allowed without a leading '@param {object} {1}'.]]></Val>
4803+
</Str>
4804+
<Disp Icon="Str" />
4805+
</Item>
47764806
<Item ItemId=";Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052" ItemType="0" PsrId="306" Leaf="true">
47774807
<Str Cat="Text">
47784808
<Val><![CDATA[Raise error on expressions and declarations with an implied 'any' type.]]></Val>
@@ -5805,6 +5835,18 @@
58055835
</Str>
58065836
<Disp Icon="Str" />
58075837
</Item>
5838+
<Item ItemId=";This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746" ItemType="0" PsrId="306" Leaf="true">
5839+
<Str Cat="Text">
5840+
<Val><![CDATA[This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided.]]></Val>
5841+
</Str>
5842+
<Disp Icon="Str" />
5843+
</Item>
5844+
<Item ItemId=";This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745" ItemType="0" PsrId="306" Leaf="true">
5845+
<Str Cat="Text">
5846+
<Val><![CDATA[This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided.]]></Val>
5847+
</Str>
5848+
<Disp Icon="Str" />
5849+
</Item>
58085850
<Item ItemId=";This_condition_will_always_return_0_since_the_types_1_and_2_have_no_overlap_2367" ItemType="0" PsrId="306" Leaf="true">
58095851
<Str Cat="Text">
58105852
<Val><![CDATA[This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap.]]></Val>
@@ -5823,6 +5865,12 @@
58235865
</Str>
58245866
<Disp Icon="Str" />
58255867
</Item>
5868+
<Item ItemId=";This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497" ItemType="0" PsrId="306" Leaf="true">
5869+
<Str Cat="Text">
5870+
<Val><![CDATA[This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export.]]></Val>
5871+
</Str>
5872+
<Disp Icon="Str" />
5873+
</Item>
58265874
<Item ItemId=";This_parameter_is_not_allowed_with_use_strict_directive_1346" ItemType="0" PsrId="306" Leaf="true">
58275875
<Str Cat="Text">
58285876
<Val><![CDATA[This parameter is not allowed with 'use strict' directive.]]></Val>
@@ -5871,9 +5919,9 @@
58715919
</Str>
58725920
<Disp Icon="Str" />
58735921
</Item>
5874-
<Item ItemId=";Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2_2493" ItemType="0" PsrId="306" Leaf="true">
5922+
<Item ItemId=";Tuple_type_0_of_length_1_has_no_element_at_index_2_2493" ItemType="0" PsrId="306" Leaf="true">
58755923
<Str Cat="Text">
5876-
<Val><![CDATA[Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'.]]></Val>
5924+
<Val><![CDATA[Tuple type '{0}' of length '{1}' has no element at index '{2}'.]]></Val>
58775925
</Str>
58785926
<Disp Icon="Str" />
58795927
</Item>
@@ -5907,18 +5955,6 @@
59075955
</Str>
59085956
<Disp Icon="Str" />
59095957
</Item>
5910-
<Item ItemId=";Type_0_has_no_property_1_2460" ItemType="0" PsrId="306" Leaf="true">
5911-
<Str Cat="Text">
5912-
<Val><![CDATA[Type '{0}' has no property '{1}'.]]></Val>
5913-
</Str>
5914-
<Disp Icon="Str" />
5915-
</Item>
5916-
<Item ItemId=";Type_0_has_no_property_1_and_no_string_index_signature_2459" ItemType="0" PsrId="306" Leaf="true">
5917-
<Str Cat="Text">
5918-
<Val><![CDATA[Type '{0}' has no property '{1}' and no string index signature.]]></Val>
5919-
</Str>
5920-
<Disp Icon="Str" />
5921-
</Item>
59225958
<Item ItemId=";Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739" ItemType="0" PsrId="306" Leaf="true">
59235959
<Str Cat="Text">
59245960
<Val><![CDATA[Type '{0}' is missing the following properties from type '{1}': {2}]]></Val>
@@ -5949,12 +5985,6 @@
59495985
</Str>
59505986
<Disp Icon="Str" />
59515987
</Item>
5952-
<Item ItemId=";Type_0_is_not_an_array_type_Use_compiler_option_downlevelIteration_to_allow_iterating_of_iterators_2568" ItemType="0" PsrId="306" Leaf="true">
5953-
<Str Cat="Text">
5954-
<Val><![CDATA[Type '{0}' is not an array type. Use compiler option '--downlevelIteration' to allow iterating of iterators.]]></Val>
5955-
</Str>
5956-
<Disp Icon="Str" />
5957-
</Item>
59585988
<Item ItemId=";Type_0_is_not_an_array_type_or_a_string_type_2495" ItemType="0" PsrId="306" Leaf="true">
59595989
<Str Cat="Text">
59605990
<Val><![CDATA[Type '{0}' is not an array type or a string type.]]></Val>
@@ -6189,6 +6219,12 @@
61896219
</Str>
61906220
<Disp Icon="Str" />
61916221
</Item>
6222+
<Item ItemId=";Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744" ItemType="0" PsrId="306" Leaf="true">
6223+
<Str Cat="Text">
6224+
<Val><![CDATA[Type parameter defaults can only reference previously declared type parameters.]]></Val>
6225+
</Str>
6226+
<Disp Icon="Str" />
6227+
</Item>
61926228
<Item ItemId=";Type_parameter_list_cannot_be_empty_1098" ItemType="0" PsrId="306" Leaf="true">
61936229
<Str Cat="Text">
61946230
<Val><![CDATA[Type parameter list cannot be empty.]]></Val>
@@ -6387,6 +6423,12 @@
63876423
</Str>
63886424
<Disp Icon="Str" />
63896425
</Item>
6426+
<Item ItemId=";Updating_unchanged_output_timestamps_of_project_0_6371" ItemType="0" PsrId="306" Leaf="true">
6427+
<Str Cat="Text">
6428+
<Val><![CDATA[Updating unchanged output timestamps of project '{0}'...]]></Val>
6429+
</Str>
6430+
<Disp Icon="Str" />
6431+
</Item>
63906432
<Item ItemId=";Use_synthetic_default_member_95016" ItemType="0" PsrId="306" Leaf="true">
63916433
<Str Cat="Text">
63926434
<Val><![CDATA[Use synthetic 'default' member.]]></Val>
@@ -6519,6 +6561,12 @@
65196561
</Str>
65206562
<Disp Icon="Str" />
65216563
</Item>
6564+
<Item ItemId=";_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747" ItemType="0" PsrId="306" Leaf="true">
6565+
<Str Cat="Text">
6566+
<Val><![CDATA['{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'.]]></Val>
6567+
</Str>
6568+
<Disp Icon="Str" />
6569+
</Item>
65226570
<Item ItemId=";_0_expected_1005" ItemType="0" PsrId="306" Leaf="true">
65236571
<Str Cat="Text">
65246572
<Val><![CDATA['{0}' expected.]]></Val>
@@ -6789,6 +6837,12 @@
67896837
</Str>
67906838
<Disp Icon="Str" />
67916839
</Item>
6840+
<Item ItemId=";const_enum_member_initializers_can_only_contain_literal_values_and_other_computed_enum_values_2474" ItemType="0" PsrId="306" Leaf="true">
6841+
<Str Cat="Text">
6842+
<Val><![CDATA[const enum member initializers can only contain literal values and other computed enum values.]]></Val>
6843+
</Str>
6844+
<Disp Icon="Str" />
6845+
</Item>
67926846
<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">
67936847
<Str Cat="Text">
67946848
<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>

0 commit comments

Comments
 (0)