TypeScript/tests/cases/compiler/anyAsReturnTypeForNewOnCall.ts

14 lines
98 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
function Point(x, y) {
this.x = x;
this.y = y;
}
var o = new Point(3, 4);
var xx = o.x;