You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A_class_declaration_without_the_default_modifier_must_have_a_name: {code: 1211,category: DiagnosticCategory.Error,key: "A class declaration without the 'default' modifier must have a name"},
172
172
Identifier_expected_0_is_a_reserved_word_in_strict_mode: {code: 1212,category: DiagnosticCategory.Error,key: "Identifier expected. '{0}' is a reserved word in strict mode"},
173
173
Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: {code: 1213,category: DiagnosticCategory.Error,key: "Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."},
174
-
Type_expected_0_is_a_reserved_word_in_strict_mode: {code: 1215,category: DiagnosticCategory.Error,key: "Type expected. '{0}' is a reserved word in strict mode"},
175
-
Type_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: {code: 1216,category: DiagnosticCategory.Error,key: "Type expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."},
174
+
Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: {code: 1214,category: DiagnosticCategory.Error,key: "Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."},
175
+
Invalid_use_of_0_Modules_are_automatically_in_strict_mode: {code: 1215,category: DiagnosticCategory.Error,key: "Invalid use of '{0}'. Modules are automatically in strict mode."},
176
176
Export_assignment_is_not_supported_when_module_flag_is_system: {code: 1218,category: DiagnosticCategory.Error,key: "Export assignment is not supported when '--module' flag is 'system'."},
177
177
Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Specify_experimentalDecorators_to_remove_this_warning: {code: 1219,category: DiagnosticCategory.Error,key: "Experimental support for decorators is a feature that is subject to change in a future release. Specify '--experimentalDecorators' to remove this warning."},
178
178
Generators_are_only_available_when_targeting_ECMAScript_6_or_higher: {code: 1220,category: DiagnosticCategory.Error,key: "Generators are only available when targeting ECMAScript 6 or higher."},
@@ -186,6 +186,11 @@ module ts {
186
186
A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods: {code: 1228,category: DiagnosticCategory.Error,key: "A type predicate is only allowed in return type position for functions and methods."},
187
187
A_type_predicate_cannot_reference_a_rest_parameter: {code: 1229,category: DiagnosticCategory.Error,key: "A type predicate cannot reference a rest parameter."},
188
188
A_type_predicate_cannot_reference_element_0_in_a_binding_pattern: {code: 1230,category: DiagnosticCategory.Error,key: "A type predicate cannot reference element '{0}' in a binding pattern."},
189
+
An_export_assignment_can_only_be_used_in_a_module: {code: 1231,category: DiagnosticCategory.Error,key: "An export assignment can only be used in a module."},
190
+
An_import_declaration_can_only_be_used_in_a_namespace_or_module: {code: 1232,category: DiagnosticCategory.Error,key: "An import declaration can only be used in a namespace or module."},
191
+
An_export_declaration_can_only_be_used_in_a_module: {code: 1233,category: DiagnosticCategory.Error,key: "An export declaration can only be used in a module."},
192
+
An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file: {code: 1234,category: DiagnosticCategory.Error,key: "An ambient module declaration is only allowed at the top level in a file."},
193
+
A_namespace_declaration_is_only_allowed_in_a_namespace_or_module: {code: 1235,category: DiagnosticCategory.Error,key: "A namespace declaration is only allowed in a namespace or module."},
Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor: {code: 2301,category: DiagnosticCategory.Error,key: "Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."},
191
196
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
0 commit comments