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
+2-2
Original file line number
Diff line number
Diff line change
@@ -116,8 +116,8 @@ module ts {
116
116
new_T_cannot_be_used_to_create_an_array_Use_new_Array_T_instead: {code: 1150,category: DiagnosticCategory.Error,key: "'new T[]' cannot be used to create an array. Use 'new Array<T>()' instead."},
117
117
An_enum_member_cannot_have_a_numeric_name: {code: 1151,category: DiagnosticCategory.Error,key: "An enum member cannot have a numeric name."},
118
118
var_let_or_const_expected: {code: 1152,category: DiagnosticCategory.Error,key: "'var', 'let' or 'const' expected."},
119
-
let_variable_declarations_are_only_available_when_targeting_ECMAScript_6_and_higher: {code: 1153,category: DiagnosticCategory.Error,key: "'let' variable declarations are only available when targeting ECMAScript 6 and higher."},
120
-
const_variable_declarations_are_only_available_when_targeting_ECMAScript_6_and_higher: {code: 1154,category: DiagnosticCategory.Error,key: "'const' variable declarations are only available when targeting ECMAScript 6 and higher."},
119
+
let_declarations_are_only_available_when_targeting_ECMAScript_6_and_higher: {code: 1153,category: DiagnosticCategory.Error,key: "'let' declarations are only available when targeting ECMAScript 6 and higher."},
120
+
const_declarations_are_only_available_when_targeting_ECMAScript_6_and_higher: {code: 1154,category: DiagnosticCategory.Error,key: "'const' declarations are only available when targeting ECMAScript 6 and higher."},
121
121
const_must_be_intialized: {code: 1155,category: DiagnosticCategory.Error,key: "const must be intialized."},
122
122
const_must_be_declared_inside_a_block: {code: 1156,category: DiagnosticCategory.Error,key: "const must be declared inside a block."},
123
123
let_must_be_declared_inside_a_block: {code: 1157,category: DiagnosticCategory.Error,key: "let must be declared inside a block."},
tests/cases/compiler/constDeclarations-es5.ts(2,1): error TS1154: 'const' variable declarations are only available when targeting ECMAScript 6 and higher.
2
-
tests/cases/compiler/constDeclarations-es5.ts(3,1): error TS1154: 'const' variable declarations are only available when targeting ECMAScript 6 and higher.
3
-
tests/cases/compiler/constDeclarations-es5.ts(4,1): error TS1154: 'const' variable declarations are only available when targeting ECMAScript 6 and higher.
1
+
tests/cases/compiler/constDeclarations-es5.ts(2,1): error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
2
+
tests/cases/compiler/constDeclarations-es5.ts(3,1): error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
3
+
tests/cases/compiler/constDeclarations-es5.ts(4,1): error TS1154: 'const' declarations are only available when targeting ECMAScript 6 and higher.
0 commit comments