mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
432 B
TypeScript
16 lines
432 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/awaitUsingDeclarations.16.ts] ////
|
|
|
|
//// [awaitUsingDeclarations.16.ts]
|
|
declare namespace N {
|
|
await using x: { [Symbol.asyncDispose](): Promise<void> };
|
|
await using y: null;
|
|
}
|
|
declare module 'M' {
|
|
await using x: { [Symbol.asyncDispose](): Promise<void> };
|
|
await using y: null;
|
|
}
|
|
|
|
|
|
//// [awaitUsingDeclarations.16.js]
|
|
"use strict";
|