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
+14-3
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,10 @@ namespace ts {
200
200
Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression: {code: 1239,category: DiagnosticCategory.Error,key: "Unable to resolve signature of parameter decorator when called as an expression."},
201
201
Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression: {code: 1240,category: DiagnosticCategory.Error,key: "Unable to resolve signature of property decorator when called as an expression."},
202
202
Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression: {code: 1241,category: DiagnosticCategory.Error,key: "Unable to resolve signature of method decorator when called as an expression."},
203
+
abstract_modifier_can_only_appear_on_a_class_or_method_declaration: {code: 1242,category: DiagnosticCategory.Error,key: "'abstract' modifier can only appear on a class or method declaration."},
204
+
_0_modifier_cannot_be_used_with_1_modifier: {code: 1243,category: DiagnosticCategory.Error,key: "'{0}' modifier cannot be used with '{1}' modifier."},
205
+
Abstract_methods_can_only_appear_within_an_abstract_class: {code: 1244,category: DiagnosticCategory.Error,key: "Abstract methods can only appear within an abstract class."},
206
+
Method_0_cannot_have_an_implementation_because_it_is_marked_abstract: {code: 1245,category: DiagnosticCategory.Error,key: "Method '{0}' cannot have an implementation because it is marked abstract."},
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."},
205
209
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
@@ -235,10 +239,10 @@ namespace ts {
235
239
this_cannot_be_referenced_in_a_static_property_initializer: {code: 2334,category: DiagnosticCategory.Error,key: "'this' cannot be referenced in a static property initializer."},
236
240
super_can_only_be_referenced_in_a_derived_class: {code: 2335,category: DiagnosticCategory.Error,key: "'super' can only be referenced in a derived class."},
237
241
super_cannot_be_referenced_in_constructor_arguments: {code: 2336,category: DiagnosticCategory.Error,key: "'super' cannot be referenced in constructor arguments."},
238
-
Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: {code: 2337,category: DiagnosticCategory.Error,key: "Super calls are not permitted outside constructors or in nested functions inside constructors"},
239
-
super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: {code: 2338,category: DiagnosticCategory.Error,key: "'super' property access is permitted only in a constructor, member function, or member accessor of a derived class"},
242
+
Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors: {code: 2337,category: DiagnosticCategory.Error,key: "Super calls are not permitted outside constructors or in nested functions inside constructors."},
243
+
super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class: {code: 2338,category: DiagnosticCategory.Error,key: "'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."},
240
244
Property_0_does_not_exist_on_type_1: {code: 2339,category: DiagnosticCategory.Error,key: "Property '{0}' does not exist on type '{1}'."},
241
-
Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: {code: 2340,category: DiagnosticCategory.Error,key: "Only public and protected methods of the base class are accessible via the 'super' keyword"},
245
+
Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword: {code: 2340,category: DiagnosticCategory.Error,key: "Only public and protected methods of the base class are accessible via the 'super' keyword."},
242
246
Property_0_is_private_and_only_accessible_within_class_1: {code: 2341,category: DiagnosticCategory.Error,key: "Property '{0}' is private and only accessible within class '{1}'."},
243
247
An_index_expression_argument_must_be_of_type_string_number_symbol_or_any: {code: 2342,category: DiagnosticCategory.Error,key: "An index expression argument must be of type 'string', 'number', 'symbol, or 'any'."},
244
248
Type_0_does_not_satisfy_the_constraint_1: {code: 2344,category: DiagnosticCategory.Error,key: "Type '{0}' does not satisfy the constraint '{1}'."},
@@ -397,6 +401,13 @@ namespace ts {
397
401
No_base_constructor_has_the_specified_number_of_type_arguments: {code: 2508,category: DiagnosticCategory.Error,key: "No base constructor has the specified number of type arguments."},
398
402
Base_constructor_return_type_0_is_not_a_class_or_interface_type: {code: 2509,category: DiagnosticCategory.Error,key: "Base constructor return type '{0}' is not a class or interface type."},
399
403
Base_constructors_must_all_have_the_same_return_type: {code: 2510,category: DiagnosticCategory.Error,key: "Base constructors must all have the same return type."},
404
+
Cannot_create_an_instance_of_the_abstract_class_0: {code: 2511,category: DiagnosticCategory.Error,key: "Cannot create an instance of the abstract class '{0}'."},
405
+
Overload_signatures_must_all_be_abstract_or_not_abstract: {code: 2512,category: DiagnosticCategory.Error,key: "Overload signatures must all be abstract or not abstract."},
406
+
Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression: {code: 2513,category: DiagnosticCategory.Error,key: "Abstract method '{0}' in class '{1}' cannot be accessed via super expression."},
407
+
Classes_containing_abstract_methods_must_be_marked_abstract: {code: 2514,category: DiagnosticCategory.Error,key: "Classes containing abstract methods must be marked abstract."},
408
+
Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2: {code: 2515,category: DiagnosticCategory.Error,key: "Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."},
409
+
All_declarations_of_an_abstract_method_must_be_consecutive: {code: 2516,category: DiagnosticCategory.Error,key: "All declarations of an abstract method must be consecutive."},
410
+
Constructor_objects_of_abstract_type_cannot_be_assigned_to_constructor_objects_of_non_abstract_type: {code: 2517,category: DiagnosticCategory.Error,key: "Constructor objects of abstract type cannot be assigned to constructor objects of non-abstract type"},
400
411
Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions: {code: 2520,category: DiagnosticCategory.Error,key: "Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."},
401
412
Expression_resolves_to_variable_declaration_0_that_compiler_uses_to_support_async_functions: {code: 2521,category: DiagnosticCategory.Error,key: "Expression resolves to variable declaration '{0}' that compiler uses to support async functions."},
402
413
The_arguments_object_cannot_be_referenced_in_an_async_arrow_function_Consider_using_a_standard_async_function_expression: {code: 2522,category: DiagnosticCategory.Error,key: "The 'arguments' object cannot be referenced in an async arrow function. Consider using a standard async function expression."},
0 commit comments