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/diagnosticMessages.json
+21-5Lines changed: 21 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -2713,26 +2713,42 @@
2713
2713
"category": "Error",
2714
2714
"code": 2777
2715
2715
},
2716
-
"Type '{0}' is not an array type or a string type. Did you forget to use 'await'?": {
2716
+
"Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator. Did you forget to use 'await'?": {
2717
2717
"category": "Error",
2718
2718
"code": 2778
2719
2719
},
2720
-
"Argument of type '{0}' is not assignable to parameter of type '{1}'. Did you forget to use 'await'?": {
2720
+
"Type '{0}' is not an array type. Did you forget to use 'await'?": {
2721
2721
"category": "Error",
2722
2722
"code": 2779
2723
2723
},
2724
-
"Type '{0}' has no call signatures. Did you forget to use 'await'?": {
2724
+
"Type '{0}' is not an array type or a string type. Did you forget to use 'await'?": {
2725
2725
"category": "Error",
2726
2726
"code": 2780
2727
2727
},
2728
-
"Type '{0}' has no construct signatures. Did you forget to use 'await'?": {
2728
+
"Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator. Did you forget to use 'await'?": {
2729
2729
"category": "Error",
2730
2730
"code": 2781
2731
2731
},
2732
-
"This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap. Did you forget to use 'await'?": {
2732
+
"Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator. Did you forget to use 'await'?": {
2733
2733
"category": "Error",
2734
2734
"code": 2782
2735
2735
},
2736
+
"Argument of type '{0}' is not assignable to parameter of type '{1}'. Did you forget to use 'await'?": {
2737
+
"category": "Error",
2738
+
"code": 2783
2739
+
},
2740
+
"Type '{0}' has no call signatures. Did you forget to use 'await'?": {
2741
+
"category": "Error",
2742
+
"code": 2784
2743
+
},
2744
+
"Type '{0}' has no construct signatures. Did you forget to use 'await'?": {
2745
+
"category": "Error",
2746
+
"code": 2785
2747
+
},
2748
+
"This condition will always return '{0}' since the types '{1}' and '{2}' have no overlap. Did you forget to use 'await'?": {
2749
+
"category": "Error",
2750
+
"code": 2786
2751
+
},
2736
2752
2737
2753
"Import declaration '{0}' is using private name '{1}'.": {
0 commit comments