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