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
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,7 @@ module ts {
158
158
An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive: {code: 1198,category: DiagnosticCategory.Error,key: "An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."},
Line_terminator_not_permitted_before_arrow: {code: 1200,category: DiagnosticCategory.Error,key: "Line terminator not permitted before arrow."},
161
+
A_type_annotation_on_an_export_statement_is_only_allowed_in_an_ambient_external_module_declaration: {code: 1201,category: DiagnosticCategory.Error,key: "A type annotation on an export statement is only allowed in an ambient external module declaration."},
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."},
163
164
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
tests/cases/compiler/exportDefaultTypeAnnoation.ts(2,18): error TS1201: A type annotation on an export statement is only allowed in an ambient external module declaration.
0 commit comments