3 lines
100 B
TypeScript
3 lines
100 B
TypeScript
|
//@noimplicitany: true
|
||
|
function Point() { this.x = 3; }
|
||
|
var x: any = new Point(); // error at "new"
|