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
+4-2Lines changed: 4 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -179,8 +179,8 @@ namespace ts {
179
179
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"},
180
180
Identifier_expected_0_is_a_reserved_word_in_strict_mode: {code: 1212,category: DiagnosticCategory.Error,key: "Identifier expected. '{0}' is a reserved word in strict mode"},
181
181
Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: {code: 1213,category: DiagnosticCategory.Error,key: "Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."},
182
-
Type_expected_0_is_a_reserved_word_in_strict_mode: {code: 1215,category: DiagnosticCategory.Error,key: "Type expected. '{0}' is a reserved word in strict mode"},
183
-
Type_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode: {code: 1216,category: DiagnosticCategory.Error,key: "Type expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."},
182
+
Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode: {code: 1214,category: DiagnosticCategory.Error,key: "Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."},
183
+
Invalid_use_of_0_Modules_are_automatically_in_strict_mode: {code: 1215,category: DiagnosticCategory.Error,key: "Invalid use of '{0}'. Modules are automatically in strict mode."},
184
184
Export_assignment_is_not_supported_when_module_flag_is_system: {code: 1218,category: DiagnosticCategory.Error,key: "Export assignment is not supported when '--module' flag is 'system'."},
185
185
Experimental_support_for_decorators_is_a_feature_that_is_subject_to_change_in_a_future_release_Specify_experimentalDecorators_to_remove_this_warning: {code: 1219,category: DiagnosticCategory.Error,key: "Experimental support for decorators is a feature that is subject to change in a future release. Specify '--experimentalDecorators' to remove this warning."},
186
186
Generators_are_only_available_when_targeting_ECMAScript_6_or_higher: {code: 1220,category: DiagnosticCategory.Error,key: "Generators are only available when targeting ECMAScript 6 or higher."},
@@ -398,6 +398,8 @@ namespace ts {
398
398
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."},
399
399
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."},
400
400
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."},
401
+
yield_expressions_cannot_be_used_in_a_parameter_initializer: {code: 2523,category: DiagnosticCategory.Error,key: "'yield' expressions cannot be used in a parameter initializer."},
402
+
await_expressions_cannot_be_used_in_a_parameter_initializer: {code: 2524,category: DiagnosticCategory.Error,key: "'await' expressions cannot be used in a parameter initializer."},
401
403
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
402
404
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}'."},
403
405
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}'."},
0 commit comments