mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
371 B
Plaintext
11 lines
371 B
Plaintext
awaitUsingDeclarationsInForOf.3.ts(2,22): error TS1492: 'await using' declarations may not have binding patterns.
|
|
|
|
|
|
==== awaitUsingDeclarationsInForOf.3.ts (1 errors) ====
|
|
async function main() {
|
|
for (await using {} of []) {
|
|
~~
|
|
!!! error TS1492: 'await using' declarations may not have binding patterns.
|
|
}
|
|
}
|
|
|