6 lines
80 B
TypeScript
6 lines
80 B
TypeScript
|
interface I3 { one?: number; };
|
||
|
var x: {one: number};
|
||
|
var i: I3;
|
||
|
|
||
|
i = x;
|
||
|
x = i;
|