6 lines
212 B
Text
6 lines
212 B
Text
=== tests/cases/conformance/parser/ecmascript5/PropertyAssignments/parserFunctionPropertyAssignment1.ts ===
|
|
var v = { foo() { } };
|
|
>v : { foo(): void; }
|
|
>{ foo() { } } : { foo(): void; }
|
|
>foo : () => void
|
|
|