mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
353 B
TypeScript
16 lines
353 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsInForIn.ts] ////
|
|
|
|
//// [awaitUsingDeclarationsInForIn.ts]
|
|
async function main() {
|
|
for (await using x in {}) {
|
|
}
|
|
}
|
|
|
|
|
|
//// [awaitUsingDeclarationsInForIn.js]
|
|
"use strict";
|
|
async function main() {
|
|
for (await using x in {}) {
|
|
}
|
|
}
|