mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
447 B
TypeScript
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 {};
|