mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
266 B
TypeScript
12 lines
266 B
TypeScript
//// [tests/cases/conformance/statements/VariableStatements/usingDeclarations/usingDeclarations.10.ts] ////
|
|
|
|
//// [usingDeclarations.10.ts]
|
|
declare var x: any;
|
|
if (x) using a = null;
|
|
|
|
|
|
//// [usingDeclarations.10.js]
|
|
"use strict";
|
|
if (x)
|
|
using a = null;
|