mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
374 B
TypeScript
13 lines
374 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.15.ts] ////
|
|
|
|
//// [awaitUsingDeclarations.15.ts]
|
|
async function f() {
|
|
await using _ = { async [Symbol.asyncDispose]() {} };
|
|
}
|
|
|
|
//// [awaitUsingDeclarations.15.js]
|
|
"use strict";
|
|
async function f() {
|
|
await using _ = { async [Symbol.asyncDispose]() { } };
|
|
}
|