mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
419 B
Plaintext
11 lines
419 B
Plaintext
awaitUsingDeclarationsInForIn.ts(2,10): error TS1494: The left-hand side of a 'for...in' statement cannot be an 'await using' declaration.
|
|
|
|
|
|
==== awaitUsingDeclarationsInForIn.ts (1 errors) ====
|
|
async function main() {
|
|
for (await using x in {}) {
|
|
~~~~~~~~~~~~~
|
|
!!! error TS1494: The left-hand side of a 'for...in' statement cannot be an 'await using' declaration.
|
|
}
|
|
}
|
|
|