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
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -179,6 +179,13 @@ module ts {
179
179
Generators_are_not_allowed_in_an_ambient_context: {code: 1221,category: DiagnosticCategory.Error,key: "Generators are not allowed in an ambient context."},
180
180
An_overload_signature_cannot_be_declared_as_a_generator: {code: 1222,category: DiagnosticCategory.Error,key: "An overload signature cannot be declared as a generator."},
181
181
_0_tag_already_specified: {code: 1223,category: DiagnosticCategory.Error,key: "'{0}' tag already specified."},
182
+
Signature_0_must_have_a_type_predicate: {code: 1224,category: DiagnosticCategory.Error,key: "Signature '{0}' must have a type predicate."},
Type_predicate_0_is_not_assignable_to_1: {code: 1226,category: DiagnosticCategory.Error,key: "Type predicate '{0}' is not assignable to '{1}'."},
185
+
Parameter_0_is_not_in_the_same_position_as_parameter_1: {code: 1227,category: DiagnosticCategory.Error,key: "Parameter '{0}' is not in the same position as parameter '{1}'."},
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
+
A_type_predicate_cannot_reference_a_rest_parameter: {code: 1229,category: DiagnosticCategory.Error,key: "A type predicate cannot reference a rest parameter."},
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."},
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."},
184
191
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
0 commit comments