mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
511 B
TypeScript
18 lines
511 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.3.ts] ////
|
|
|
|
//// [awaitUsingDeclarations.3.ts]
|
|
{
|
|
await using d1 = { async [Symbol.asyncDispose]() {} },
|
|
d2 = null,
|
|
d3 = undefined,
|
|
d4 = { [Symbol.dispose]() {} };
|
|
}
|
|
|
|
export {};
|
|
|
|
//// [awaitUsingDeclarations.3.js]
|
|
{
|
|
await using d1 = { async [Symbol.asyncDispose]() { } }, d2 = null, d3 = undefined, d4 = { [Symbol.dispose]() { } };
|
|
}
|
|
export {};
|