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
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -168,6 +168,7 @@ module ts {
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
170
Invalid_use_of_0_because_class_definition_is_considered_a_strict_mode_code: {code: 1210,category: DiagnosticCategory.Error,key: "Invalid use of '{0}' because class definition is considered a strict mode code "},
171
+
A_class_declaration_without_the_default_modifier_must_have_a_name: {code: 1211,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."},
173
174
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
@@ -506,6 +507,22 @@ module ts {
506
507
Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions: {code: 7024,category: DiagnosticCategory.Error,key: "Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."},
507
508
You_cannot_rename_this_element: {code: 8000,category: DiagnosticCategory.Error,key: "You cannot rename this element."},
508
509
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."},
510
+
import_can_only_be_used_in_a_ts_file: {code: 8002,category: DiagnosticCategory.Error,key: "'import ... =' can only be used in a .ts file."},
511
+
export_can_only_be_used_in_a_ts_file: {code: 8003,category: DiagnosticCategory.Error,key: "'export=' can only be used in a .ts file."},
512
+
type_parameter_declarations_can_only_be_used_in_a_ts_file: {code: 8004,category: DiagnosticCategory.Error,key: "'type parameter declarations' can only be used in a .ts file."},
513
+
implements_clauses_can_only_be_used_in_a_ts_file: {code: 8005,category: DiagnosticCategory.Error,key: "'implements clauses' can only be used in a .ts file."},
514
+
interface_declarations_can_only_be_used_in_a_ts_file: {code: 8006,category: DiagnosticCategory.Error,key: "'interface declarations' can only be used in a .ts file."},
515
+
module_declarations_can_only_be_used_in_a_ts_file: {code: 8007,category: DiagnosticCategory.Error,key: "'module declarations' can only be used in a .ts file."},
516
+
type_aliases_can_only_be_used_in_a_ts_file: {code: 8008,category: DiagnosticCategory.Error,key: "'type aliases' can only be used in a .ts file."},
517
+
_0_can_only_be_used_in_a_ts_file: {code: 8009,category: DiagnosticCategory.Error,key: "'{0}' can only be used in a .ts file."},
518
+
types_can_only_be_used_in_a_ts_file: {code: 8010,category: DiagnosticCategory.Error,key: "'types' can only be used in a .ts file."},
519
+
type_arguments_can_only_be_used_in_a_ts_file: {code: 8011,category: DiagnosticCategory.Error,key: "'type arguments' can only be used in a .ts file."},
520
+
parameter_modifiers_can_only_be_used_in_a_ts_file: {code: 8012,category: DiagnosticCategory.Error,key: "'parameter modifiers' can only be used in a .ts file."},
521
+
can_only_be_used_in_a_ts_file: {code: 8013,category: DiagnosticCategory.Error,key: "'?' can only be used in a .ts file."},
522
+
property_declarations_can_only_be_used_in_a_ts_file: {code: 8014,category: DiagnosticCategory.Error,key: "'property declarations' can only be used in a .ts file."},
523
+
enum_declarations_can_only_be_used_in_a_ts_file: {code: 8015,category: DiagnosticCategory.Error,key: "'enum declarations' can only be used in a .ts file."},
524
+
type_assertion_expressions_can_only_be_used_in_a_ts_file: {code: 8016,category: DiagnosticCategory.Error,key: "'type assertion expressions' can only be used in a .ts file."},
525
+
decorators_can_only_be_used_in_a_ts_file: {code: 8017,category: DiagnosticCategory.Error,key: "'decorators' can only be used in a .ts file."},
509
526
yield_expressions_are_not_currently_supported: {code: 9000,category: DiagnosticCategory.Error,key: "'yield' expressions are not currently supported."},
510
527
Generators_are_not_currently_supported: {code: 9001,category: DiagnosticCategory.Error,key: "Generators are not currently supported."},
511
528
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."},
0 commit comments