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-3
Original file line number
Diff line number
Diff line change
@@ -161,14 +161,15 @@ module ts {
161
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."},
162
162
Import_assignment_cannot_be_used_when_targeting_ECMAScript_6_or_higher_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_or_import_d_from_mod_instead: {code: 1202,category: DiagnosticCategory.Error,key: "Import assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"' or 'import d from \"mod\"' instead."},
163
163
Export_assignment_cannot_be_used_when_targeting_ECMAScript_6_or_higher_Consider_using_export_default_instead: {code: 1203,category: DiagnosticCategory.Error,key: "Export assignment cannot be used when targeting ECMAScript 6 or higher. Consider using 'export default' instead."},
164
-
Cannot_compile_external_modules_into_amd_or_commonjs_when_targeting_es6_or_higher: {code: 1204,category: DiagnosticCategory.Error,key: "Cannot compile external modules into amd or commonjs when targeting es6 or higher."},
164
+
Cannot_compile_external_modules_into_amd_system_or_commonjs_when_targeting_es6_or_higher: {code: 1204,category: DiagnosticCategory.Error,key: "Cannot compile external modules into amd, system or commonjs when targeting es6 or higher."},
165
165
Decorators_are_only_available_when_targeting_ECMAScript_5_and_higher: {code: 1205,category: DiagnosticCategory.Error,key: "Decorators are only available when targeting ECMAScript 5 and higher."},
166
166
Decorators_are_not_valid_here: {code: 1206,category: DiagnosticCategory.Error,key: "Decorators are not valid here."},
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
170
Invalid_use_of_0_Class_definitions_are_automatically_in_strict_mode: {code: 1210,category: DiagnosticCategory.Error,key: "Invalid use of '{0}'. Class definitions are automatically in strict mode."},
171
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"},
172
+
Export_assignment_is_not_supported_with_module_flag_is_system: {code: 1212,category: DiagnosticCategory.Error,key: "Export assignment is not supported with '--module' flag is 'system'."},
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."},
174
175
Static_members_cannot_reference_class_type_parameters: {code: 2302,category: DiagnosticCategory.Error,key: "Static members cannot reference class type parameters."},
@@ -456,7 +457,7 @@ module ts {
456
457
Do_not_emit_comments_to_output: {code: 6009,category: DiagnosticCategory.Message,key: "Do not emit comments to output."},
457
458
Do_not_emit_outputs: {code: 6010,category: DiagnosticCategory.Message,key: "Do not emit outputs."},
Argument_for_module_option_must_be_commonjs_or_amd: {code: 6046,category: DiagnosticCategory.Error,key: "Argument for '--module' option must be 'commonjs' or 'amd'."},
481
+
Argument_for_module_option_must_be_commonjs_system_or_amd: {code: 6046,category: DiagnosticCategory.Error,key: "Argument for '--module' option must be 'commonjs', 'system' or 'amd'."},
481
482
Argument_for_target_option_must_be_es3_es5_or_es6: {code: 6047,category: DiagnosticCategory.Error,key: "Argument for '--target' option must be 'es3', 'es5', or 'es6'."},
482
483
Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1: {code: 6048,category: DiagnosticCategory.Error,key: "Locale must be of the form <language> or <language>-<territory>. For example '{0}' or '{1}'."},
0 commit comments