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
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -99,7 +99,9 @@ module ts {
99
99
A_constructor_implementation_cannot_be_declared_in_an_ambient_context: {code: 1111,category: DiagnosticCategory.Error,key: "A constructor implementation cannot be declared in an ambient context."},
100
100
A_class_member_cannot_be_declared_optional: {code: 1112,category: DiagnosticCategory.Error,key: "A class member cannot be declared optional."},
101
101
A_default_clause_cannot_appear_more_than_once_in_a_switch_statement: {code: 1113,category: DiagnosticCategory.Error,key: "A 'default' clause cannot appear more than once in a 'switch' statement."},
102
-
Object_literal_cannot_contain_more_than_one_property_with_the_same_name_in_the_strict_mode: {code: 1114,category: DiagnosticCategory.Error,key: "Object literal cannot contain more than one property with the same name in the strict mode."},
102
+
An_object_literal_cannot_have_multiple_properties_with_the_same_name_in_strict_mode: {code: 1114,category: DiagnosticCategory.Error,key: "An object literal cannot have multiple properties with the same name in strict mode."},
103
+
An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name: {code: 1115,category: DiagnosticCategory.Error,key: "An object literal cannot have multiple get/set accessors with the same name."},
104
+
An_object_literal_cannot_have_property_and_accessor_with_the_same_name: {code: 1116,category: DiagnosticCategory.Error,key: "An object literal cannot have property and accessor with the same name."},
new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead: {code: 2068,category: DiagnosticCategory.Error,key: "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead."},
105
107
Multiple_constructor_implementations_are_not_allowed: {code: 2070,category: DiagnosticCategory.Error,key: "Multiple constructor implementations are not allowed."},
0 commit comments