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
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -303,6 +303,7 @@ module ts {
303
303
this_cannot_be_referenced_in_a_computed_property_name: {code: 2465,category: DiagnosticCategory.Error,key: "'this' cannot be referenced in a computed property name."},
304
304
super_cannot_be_referenced_in_a_computed_property_name: {code: 2466,category: DiagnosticCategory.Error,key: "'super' cannot be referenced in a computed property name."},
305
305
A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type: {code: 2466,category: DiagnosticCategory.Error,key: "A computed property name cannot reference a type parameter from its containing type."},
306
+
Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_6_and_higher: {code: 2468,category: DiagnosticCategory.Error,key: "Spread operator in 'new' expressions is only available when targeting ECMAScript 6 and higher."},
306
307
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
307
308
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}'."},
308
309
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}'."},
tests/cases/conformance/expressions/functionCalls/callWithSpread.ts(52,21): error TS2468: Spread operator in 'new' expressions is only available when targeting ECMAScript 6 and higher.
0 commit comments