11 lines
235 B
Text
11 lines
235 B
Text
=== tests/cases/compiler/nameCollisionsInPropertyAssignments.ts ===
|
|
var x = 1
|
|
>x : number
|
|
|
|
var y = { x() { x++; } };
|
|
>y : { x: () => void; }
|
|
>{ x() { x++; } } : { x: () => void; }
|
|
>x : () => void
|
|
>x++ : number
|
|
>x : number
|
|
|