Skip to content

Commit d7e3447

Browse files
Removed more unused diagnostics.
1 parent 2bc8359 commit d7e3447

File tree

2 files changed

+0
-30
lines changed

2 files changed

+0
-30
lines changed

src/compiler/diagnosticInformationMap.generated.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,6 @@ module ts {
4545
An_export_assignment_cannot_be_used_in_an_internal_module: { code: 1063, category: DiagnosticCategory.Error, key: "An export assignment cannot be used in an internal module." },
4646
Ambient_enum_elements_can_only_have_integer_literal_initializers: { code: 1066, category: DiagnosticCategory.Error, key: "Ambient enum elements can only have integer literal initializers." },
4747
Unexpected_token_A_constructor_method_accessor_or_property_was_expected: { code: 1068, category: DiagnosticCategory.Error, key: "Unexpected token. A constructor, method, accessor, or property was expected." },
48-
statement: { code: 1069, category: DiagnosticCategory.NoPrefix, key: "statement" },
49-
identifier: { code: 1071, category: DiagnosticCategory.NoPrefix, key: "identifier" },
50-
expression: { code: 1073, category: DiagnosticCategory.NoPrefix, key: "expression" },
51-
parameter: { code: 1076, category: DiagnosticCategory.NoPrefix, key: "parameter" },
52-
type: { code: 1077, category: DiagnosticCategory.NoPrefix, key: "type" },
53-
type_parameter: { code: 1078, category: DiagnosticCategory.NoPrefix, key: "type parameter" },
5448
A_declare_modifier_cannot_be_used_with_an_import_declaration: { code: 1079, category: DiagnosticCategory.Error, key: "A 'declare' modifier cannot be used with an import declaration." },
5549
Octal_literals_are_not_available_when_targeting_ECMAScript_5_and_higher: { code: 1085, category: DiagnosticCategory.Error, key: "Octal literals are not available when targeting ECMAScript 5 and higher." },
5650
An_accessor_cannot_be_declared_in_an_ambient_context: { code: 1086, category: DiagnosticCategory.Error, key: "An accessor cannot be declared in an ambient context." },

src/compiler/diagnosticMessages.json

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -172,30 +172,6 @@
172172
"category": "Error",
173173
"code": 1068
174174
},
175-
"statement": {
176-
"category": "NoPrefix",
177-
"code": 1069
178-
},
179-
"identifier": {
180-
"category": "NoPrefix",
181-
"code": 1071
182-
},
183-
"expression": {
184-
"category": "NoPrefix",
185-
"code": 1073
186-
},
187-
"parameter": {
188-
"category": "NoPrefix",
189-
"code": 1076
190-
},
191-
"type": {
192-
"category": "NoPrefix",
193-
"code": 1077
194-
},
195-
"type parameter": {
196-
"category": "NoPrefix",
197-
"code": 1078
198-
},
199175
"A 'declare' modifier cannot be used with an import declaration.": {
200176
"category": "Error",
201177
"code": 1079

0 commit comments

Comments
 (0)