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-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -353,8 +353,8 @@ module ts {
353
353
The_arguments_object_cannot_be_referenced_in_an_arrow_function_Consider_using_a_standard_function_expression: {code: 2496,category: DiagnosticCategory.Error,key: "The 'arguments' object cannot be referenced in an arrow function. Consider using a standard function expression."},
354
354
External_module_0_resolves_to_a_non_module_entity_and_cannot_be_imported_using_this_construct: {code: 2497,category: DiagnosticCategory.Error,key: "External module '{0}' resolves to a non-module entity and cannot be imported using this construct."},
355
355
External_module_0_uses_export_and_cannot_be_used_with_export_Asterisk: {code: 2498,category: DiagnosticCategory.Error,key: "External module '{0}' uses 'export =' and cannot be used with 'export *'."},
356
-
An_interface_can_only_extend_a_type_reference: {code: 2499,category: DiagnosticCategory.Error,key: "An interface can only extend a type reference."},
357
-
A_class_can_only_implement_type_references: {code: 2500,category: DiagnosticCategory.Error,key: "A class can only implement type references."},
356
+
An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments: {code: 2499,category: DiagnosticCategory.Error,key: "An interface can only extend an identifier/qualified-name with optional type arguments."},
357
+
A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments: {code: 2500,category: DiagnosticCategory.Error,key: "A class can only implement an identifier/qualified-name with optional type arguments."},
358
358
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
359
359
Type_parameter_0_of_exported_class_has_or_is_using_private_name_1: {code: 4002,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported class has or is using private name '{1}'."},
360
360
Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1: {code: 4004,category: DiagnosticCategory.Error,key: "Type parameter '{0}' of exported interface has or is using private name '{1}'."},
@@ -507,7 +507,7 @@ module ts {
507
507
You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library: {code: 8001,category: DiagnosticCategory.Error,key: "You cannot rename elements that are defined in the standard TypeScript library."},
508
508
yield_expressions_are_not_currently_supported: {code: 9000,category: DiagnosticCategory.Error,key: "'yield' expressions are not currently supported."},
509
509
Generators_are_not_currently_supported: {code: 9001,category: DiagnosticCategory.Error,key: "Generators are not currently supported."},
510
-
Only_type_references_are_currently_supported_in_a_class_extends_clauses: {code: 9002,category: DiagnosticCategory.Error,key: "Only type references are currently supported in a class 'extends' clauses."},
510
+
Only_identifiers_Slashqualified_names_with_optional_type_arguments_are_currently_supported_in_a_class_extends_clauses: {code: 9002,category: DiagnosticCategory.Error,key: "Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses."},
511
511
class_expressions_are_not_currently_supported: {code: 9003,category: DiagnosticCategory.Error,key: "'class' expressions are not currently supported."},
512
512
class_declarations_are_only_supported_directly_inside_a_module_or_as_a_top_level_declaration: {code: 9004,category: DiagnosticCategory.Error,key: "'class' declarations are only supported directly inside a module or as a top level declaration."},
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts(8,18): error TS2304: Cannot find name 'Null'.
7
-
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts(9,19): error TS9002: Only type references are currently supported in a class 'extends' clauses.
7
+
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts(9,19): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
8
8
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts(10,18): error TS2304: Cannot find name 'undefined'.
9
9
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts(11,18): error TS2304: Cannot find name 'Undefined'.
10
10
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive.ts(14,18): error TS2311: A class may only extend another class.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts(4,19): error TS9002: Only type references are currently supported in a class 'extends' clauses.
2
+
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendingPrimitive2.ts(4,19): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
Copy file name to clipboardExpand all lines: tests/baselines/reference/classExtendsEveryObjectType.errors.txt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(4,17): error TS2311: A class may only extend another class.
2
-
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(6,18): error TS9002: Only type references are currently supported in a class 'extends' clauses.
2
+
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(6,18): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(8,18): error TS2304: Cannot find name 'x'.
5
5
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(11,18): error TS2304: Cannot find name 'M'.
6
6
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(14,18): error TS2304: Cannot find name 'foo'.
7
-
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(16,18): error TS9002: Only type references are currently supported in a class 'extends' clauses.
7
+
tests/cases/conformance/classes/classDeclarations/classHeritageSpecification/classExtendsEveryObjectType.ts(16,18): error TS9002: Only identifiers/qualified-names with optional type arguments are currently supported in a class 'extends' clauses.
0 commit comments