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