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
+36-7Lines changed: 36 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -1764,7 +1764,7 @@
1764
1764
"category": "Error",
1765
1765
"code": 2489
1766
1766
},
1767
-
"The type returned by the 'next()' method of an iterator must have a 'value' property.": {
1767
+
"The type returned by the '{0}()' method of an iterator must have a 'value' property.": {
1768
1768
"category": "Error",
1769
1769
"code": 2490
1770
1770
},
@@ -1992,7 +1992,7 @@
1992
1992
"category": "Error",
1993
1993
"code": 2546
1994
1994
},
1995
-
"The type returned by the 'next()' method of an async iterator must be a promise for a type with a 'value' property.": {
1995
+
"The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property.": {
1996
1996
"category": "Error",
1997
1997
"code": 2547
1998
1998
},
@@ -2653,22 +2653,46 @@
2653
2653
"category": "Error",
2654
2654
"code": 2762
2655
2655
},
2656
-
"No overload matches this call.": {
2656
+
"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'.": {
2657
2657
"category": "Error",
2658
2658
"code": 2763
2659
2659
},
2660
-
"The last overload gave the following error.": {
2660
+
"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'.": {
2661
2661
"category": "Error",
2662
2662
"code": 2764
2663
2663
},
2664
-
"The last overload is declared here.": {
2664
+
"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'.": {
2665
2665
"category": "Error",
2666
2666
"code": 2765
2667
2667
},
2668
-
"Overload {0} of {1}, '{2}', gave the following error.": {
2668
+
"Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'.": {
2669
2669
"category": "Error",
2670
2670
"code": 2766
2671
2671
},
2672
+
"The '{0}' property of an iterator must be a method.": {
2673
+
"category": "Error",
2674
+
"code": 2767
2675
+
},
2676
+
"The '{0}' property of an async iterator must be a method.": {
2677
+
"category": "Error",
2678
+
"code": 2768
2679
+
},
2680
+
"No overload matches this call.": {
2681
+
"category": "Error",
2682
+
"code": 2769
2683
+
},
2684
+
"The last overload gave the following error.": {
2685
+
"category": "Error",
2686
+
"code": 2770
2687
+
},
2688
+
"The last overload is declared here.": {
2689
+
"category": "Error",
2690
+
"code": 2771
2691
+
},
2692
+
"Overload {0} of {1}, '{2}', gave the following error.": {
2693
+
"category": "Error",
2694
+
"code": 2772
2695
+
},
2672
2696
2673
2697
"Import declaration '{0}' is using private name '{1}'.": {
2674
2698
"category": "Error",
@@ -4230,7 +4254,7 @@
4230
4254
"category": "Error",
4231
4255
"code": 7024
4232
4256
},
4233
-
"Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type.": {
4257
+
"Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation.": {
4234
4258
"category": "Error",
4235
4259
"code": 7025
4236
4260
},
@@ -4352,6 +4376,11 @@
4352
4376
"category": "Error",
4353
4377
"code": 7054
4354
4378
},
4379
+
"'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type.": {
0 commit comments