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: .github/workflows/close-issues.yml
+6-2Lines changed: 6 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,9 +31,9 @@ jobs:
31
31
32
32
close_issues() {
33
33
echo "Closing issues marked as '$1'."
34
-
for issue in $(gh issue list --label "$1" --repo ${{ github.repository }} --state open --search "updated:<$DATE" --json number --jq '.[].number'); do
34
+
for issue in $(gh issue list --limit 100 --label "$1" --repo ${{ github.repository }} --state open --search "updated:<$DATE" --json number --jq '.[].number'); do
gh issue close $issue --repo ${{ github.repository }} --reason "not planned" --comment "This issue has been marked as '$1' and has seen no recent activity. It has been automatically closed for house-keeping purposes."
36
+
gh issue close $issue --repo ${{ github.repository }} --reason "not planned" --comment "This issue has been marked as \"$1\" and has seen no recent activity. It has been automatically closed for house-keeping purposes."
Copy file name to clipboardExpand all lines: src/compiler/diagnosticMessages.json
+56-8Lines changed: 56 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -451,18 +451,14 @@
451
451
"category": "Error",
452
452
"code": 1149
453
453
},
454
-
"'const' declarations must be initialized.": {
454
+
"'{0}' declarations must be initialized.": {
455
455
"category": "Error",
456
456
"code": 1155
457
457
},
458
-
"'const' declarations can only be declared inside a block.": {
458
+
"'{0}' declarations can only be declared inside a block.": {
459
459
"category": "Error",
460
460
"code": 1156
461
461
},
462
-
"'let' declarations can only be declared inside a block.": {
463
-
"category": "Error",
464
-
"code": 1157
465
-
},
466
462
"Unterminated template literal.": {
467
463
"category": "Error",
468
464
"code": 1160
@@ -1601,6 +1597,26 @@
1601
1597
"category": "Error",
1602
1598
"code": 1490
1603
1599
},
1600
+
"'{0}' modifier cannot appear on a 'using' declaration.": {
1601
+
"category": "Error",
1602
+
"code": 1491
1603
+
},
1604
+
"'{0}' declarations may not have binding patterns.": {
1605
+
"category": "Error",
1606
+
"code": 1492
1607
+
},
1608
+
"The left-hand side of a 'for...in' statement cannot be a 'using' declaration.": {
1609
+
"category": "Error",
1610
+
"code": 1493
1611
+
},
1612
+
"The left-hand side of a 'for...in' statement cannot be an 'await using' declaration.": {
1613
+
"category": "Error",
1614
+
"code": 1494
1615
+
},
1616
+
"'{0}' modifier cannot appear on an 'await using' declaration.": {
1617
+
"category": "Error",
1618
+
"code": 1495
1619
+
},
1604
1620
1605
1621
"The types of '{0}' are incompatible between these types.": {
1606
1622
"category": "Error",
@@ -3623,6 +3639,26 @@
3623
3639
"category": "Error",
3624
3640
"code": 2849
3625
3641
},
3642
+
"The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'.": {
3643
+
"category": "Error",
3644
+
"code": 2850
3645
+
},
3646
+
"The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'.": {
3647
+
"category": "Error",
3648
+
"code": 2851
3649
+
},
3650
+
"'await using' statements are only allowed within async functions and at the top levels of modules.": {
3651
+
"category": "Error",
3652
+
"code": 2852
3653
+
},
3654
+
"'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module.": {
3655
+
"category": "Error",
3656
+
"code": 2853
3657
+
},
3658
+
"Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher.": {
3659
+
"category": "Error",
3660
+
"code": 2854
3661
+
},
3626
3662
3627
3663
"Import declaration '{0}' is using private name '{1}'.": {
3628
3664
"category": "Error",
@@ -4329,6 +4365,14 @@
4329
4365
"category": "Error",
4330
4366
"code": 5108
4331
4367
},
4368
+
"Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'.": {
4369
+
"category": "Error",
4370
+
"code": 5109
4371
+
},
4372
+
"Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'.": {
4373
+
"category": "Error",
4374
+
"code": 5110
4375
+
},
4332
4376
4333
4377
"Generates a sourcemap for each corresponding '.d.ts' file.": {
4334
4378
"category": "Message",
@@ -7749,11 +7793,11 @@
7749
7793
"category": "Error",
7750
7794
"code": 18036
7751
7795
},
7752
-
"Await expression cannot be used inside a class static block.": {
7796
+
"'await' expression cannot be used inside a class static block.": {
7753
7797
"category": "Error",
7754
7798
"code": 18037
7755
7799
},
7756
-
"'For await' loops cannot be used inside a class static block.": {
7800
+
"'for await' loops cannot be used inside a class static block.": {
7757
7801
"category": "Error",
7758
7802
"code": 18038
7759
7803
},
@@ -7812,5 +7856,9 @@
7812
7856
"Its type '{0}' is not a valid JSX element type.": {
7813
7857
"category": "Error",
7814
7858
"code": 18053
7859
+
},
7860
+
"'await using' statements cannot be used inside a class static block.": {
0 commit comments