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
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
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."},
342
+
Type_0_is_not_an_array_type_or_a_string_type: {code: 2461,category: DiagnosticCategory.Error,key: "Type '{0}' is not an array type or a string type."},
342
343
Import_declaration_0_is_using_private_name_1: {code: 4000,category: DiagnosticCategory.Error,key: "Import declaration '{0}' is using private name '{1}'."},
343
344
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}'."},
344
345
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}'."},
Copy file name to clipboardExpand all lines: tests/baselines/reference/ES5For-ofTypeCheck10.errors.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,11 +1,11 @@
1
-
tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts(1,15): error TS2461: Type 'StringIterator' is not an array type.
1
+
tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts(1,15): error TS2461: Type 'StringIterator' is not an array type or a string type.
2
2
tests/cases/conformance/statements/for-ofStatements/ES5For-ofTypeCheck10.ts(11,6): error TS2304: Cannot find name 'Symbol'.
0 commit comments