11 lines
153 B
TypeScript
11 lines
153 B
TypeScript
//// [assignFromNumberInterface.ts]
|
|
var x = 1;
|
|
var a: Number;
|
|
x = a;
|
|
a = x;
|
|
|
|
//// [assignFromNumberInterface.js]
|
|
var x = 1;
|
|
var a;
|
|
x = a;
|
|
a = x;
|