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
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -167,6 +167,7 @@ module ts {
167
167
Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name: {code: 1207,category: DiagnosticCategory.Error,key: "Decorators cannot be applied to multiple get/set accessors of the same name."},
168
168
Cannot_compile_non_external_modules_when_the_separateCompilation_flag_is_provided: {code: 1208,category: DiagnosticCategory.Error,key: "Cannot compile non-external modules when the '--separateCompilation' flag is provided."},
169
169
Ambient_const_enums_are_not_allowed_when_the_separateCompilation_flag_is_provided: {code: 1209,category: DiagnosticCategory.Error,key: "Ambient const enums are not allowed when the '--separateCompilation' flag is provided."},
170
+
A_class_declaration_without_the_default_modifier_must_have_a_name: {code: 1210,category: DiagnosticCategory.Error,key: "A class declaration without the 'default' modifier must have a name"},
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."},
172
173
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
tests/cases/compiler/classDeclarationBlockScoping1.ts(5,11): error TS9004: 'class' declarations are only supported directly inside a module or as a top level declaration.
0 commit comments