TypeScript/tests/baselines/reference/nameCollisionsInPropertyAssignments.types

12 lines
227 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/nameCollisionsInPropertyAssignments.ts ===
var x = 1
>x : number
var y = { x() { x++; } };
>y : { x(): void; }
>{ x() { x++; } } : { x(): void; }
2014-08-15 23:33:16 +02:00
>x : () => void
>x++ : number
>x : number