mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
24 lines
447 B
TypeScript
24 lines
447 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.14.ts] ////
|
|
|
|
//// [awaitUsingDeclarations.14.ts]
|
|
class C {
|
|
static {
|
|
await using x = null;
|
|
{
|
|
await using y = null;
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
//// [awaitUsingDeclarations.14.js]
|
|
"use strict";
|
|
class C {
|
|
static {
|
|
await using x = null;
|
|
{
|
|
await using y = null;
|
|
}
|
|
}
|
|
}
|