Files
tsgo/testdata/baselines/reference/submodule/conformance/awaitUsingDeclarations.2(target=esnext).js

16 lines
447 B
TypeScript

//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.2.ts] ////
//// [awaitUsingDeclarations.2.ts]
{
await using d1 = { async [Symbol.asyncDispose]() {} },
d2 = { async [Symbol.asyncDispose]() {} };
}
export {};
//// [awaitUsingDeclarations.2.js]
{
await using d1 = { async [Symbol.asyncDispose]() { } }, d2 = { async [Symbol.asyncDispose]() { } };
}
export {};