4 lines
89 B
TypeScript
4 lines
89 B
TypeScript
|
var a = { toString: 5 };
|
||
|
var b: {} = a; // ok
|
||
|
var c: Object = a; // should be error
|