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
Copy file name to clipboardExpand all lines: src/compiler/diagnosticInformationMap.generated.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,6 @@ module ts {
48
48
Accessors_are_only_available_when_targeting_ECMAScript_5_and_higher: {code: 1056,category: DiagnosticCategory.Error,key: "Accessors are only available when targeting ECMAScript 5 and higher."},
49
49
Enum_member_must_have_initializer: {code: 1061,category: DiagnosticCategory.Error,key: "Enum member must have initializer."},
50
50
An_export_assignment_cannot_be_used_in_an_internal_module: {code: 1063,category: DiagnosticCategory.Error,key: "An export assignment cannot be used in an internal module."},
51
-
An_enum_member_cannot_have_a_numeric_name: {code: 1065,category: DiagnosticCategory.Error,key: "An enum member cannot have a numeric name."},
52
51
Ambient_enum_elements_can_only_have_integer_literal_initializers: {code: 1066,category: DiagnosticCategory.Error,key: "Ambient enum elements can only have integer literal initializers."},
53
52
Unexpected_token_A_constructor_method_accessor_or_property_was_expected: {code: 1068,category: DiagnosticCategory.Error,key: "Unexpected token. A constructor, method, accessor, or property was expected."},
54
53
A_declare_modifier_cannot_be_used_with_an_import_declaration: {code: 1079,category: DiagnosticCategory.Error,key: "A 'declare' modifier cannot be used with an import declaration."},
@@ -115,6 +114,7 @@ module ts {
115
114
Cannot_compile_external_modules_unless_the_module_flag_is_provided: {code: 1148,category: DiagnosticCategory.Error,key: "Cannot compile external modules unless the '--module' flag is provided."},
116
115
Filename_0_differs_from_already_included_filename_1_only_in_casing: {code: 1149,category: DiagnosticCategory.Error,key: "Filename '{0}' differs from already included filename '{1}' only in casing"},
117
116
new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead: {code: 1150,category: DiagnosticCategory.Error,key: "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead."},
117
+
An_enum_member_cannot_have_a_numeric_name: {code: 1151,category: DiagnosticCategory.Error,key: "An enum member cannot have a numeric name."},
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."},
120
120
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
0 commit comments