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
+60-3Lines changed: 60 additions & 3 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,6 +2653,50 @@
2653
2653
"category": "Error",
2654
2654
"code": 2762
2655
2655
},
2656
+
"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'.": {
2657
+
"category": "Error",
2658
+
"code": 2763
2659
+
},
2660
+
"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'.": {
2661
+
"category": "Error",
2662
+
"code": 2764
2663
+
},
2664
+
"Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'.": {
2665
+
"category": "Error",
2666
+
"code": 2765
2667
+
},
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
+
"category": "Error",
2670
+
"code": 2766
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
+
},
2696
+
"Did you forget to use 'await'?": {
2697
+
"category": "Error",
2698
+
"code": 2773
2699
+
},
2656
2700
2657
2701
"Import declaration '{0}' is using private name '{1}'.": {
2658
2702
"category": "Error",
@@ -4218,7 +4262,7 @@
4218
4262
"category": "Error",
4219
4263
"code": 7024
4220
4264
},
4221
-
"Generator implicitly has type '{0}' because it does not yield any values. Consider supplying a return type.": {
4265
+
"Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation.": {
4222
4266
"category": "Error",
4223
4267
"code": 7025
4224
4268
},
@@ -4340,6 +4384,11 @@
4340
4384
"category": "Error",
4341
4385
"code": 7054
4342
4386
},
4387
+
"'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type.": {
4388
+
"category": "Error",
4389
+
"code": 7055
4390
+
},
4391
+
4343
4392
"You cannot rename this element.": {
4344
4393
"category": "Error",
4345
4394
"code": 8000
@@ -5034,6 +5083,14 @@
5034
5083
"category": "Message",
5035
5084
"code": 95080
5036
5085
},
5086
+
"Add 'const' to unresolved variable": {
5087
+
"category": "Message",
5088
+
"code": 95081
5089
+
},
5090
+
"Add 'const' to all unresolved variables": {
5091
+
"category": "Message",
5092
+
"code": 95082
5093
+
},
5037
5094
"No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer.": {
0 commit comments