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
@@ -338,6 +338,7 @@ module ts {
338
338
The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern: {code: 2491,category: DiagnosticCategory.Error,key: "The left-hand side of a 'for...in' statement cannot be a destructuring pattern."},
Tuple_type_0_with_length_1_cannot_be_assigned_to_tuple_with_length_2: {code: 2493,category: DiagnosticCategory.Error,key: "Tuple type '{0}' with length '{1}' cannot be assigned to tuple with length '{2}'."},
341
+
Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher: {code: 2494,category: DiagnosticCategory.Error,key: "Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."},
341
342
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
342
343
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}'."},
343
344
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/statements/for-ofStatements/ES5For-of12.ts(1,1): error TS2482: 'for...of' statements are only available when targeting ECMAScript 6 or higher.
1
+
tests/cases/conformance/statements/for-ofStatements/ES5For-of12.ts(1,6): error TS2461: Type 'undefined' is not an array type.
0 commit comments