mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
204 B
TypeScript
16 lines
204 B
TypeScript
//// [tests/cases/compiler/i3.ts] ////
|
|
|
|
//// [i3.ts]
|
|
interface I3 { one?: number; };
|
|
declare var x: {one: number};
|
|
declare var i: I3;
|
|
|
|
i = x;
|
|
x = i;
|
|
|
|
//// [i3.js]
|
|
"use strict";
|
|
;
|
|
i = x;
|
|
x = i;
|