mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
498 B
TypeScript
18 lines
498 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarationsInForAwaitOf.2.ts] ////
|
|
|
|
//// [awaitUsingDeclarationsInForAwaitOf.2.ts]
|
|
// https://github.com/microsoft/TypeScript/issues/55555
|
|
|
|
async function test() {
|
|
for await (await using of of of) {};
|
|
}
|
|
|
|
|
|
//// [awaitUsingDeclarationsInForAwaitOf.2.js]
|
|
"use strict";
|
|
// https://github.com/microsoft/TypeScript/issues/55555
|
|
async function test() {
|
|
for await (await using of of of) { }
|
|
;
|
|
}
|