TypeScript/tests/baselines/reference/parserFunctionPropertyAssignment3.types
2014-08-15 14:37:48 -07:00

7 lines
236 B
Plaintext

=== tests/cases/conformance/parser/ecmascript5/PropertyAssignments/parserFunctionPropertyAssignment3.ts ===
var v = { "foo"() { } };
>v : { "foo": () => void; }
>{ "foo"() { } } : { "foo": () => void; }
>"foo"() { } : () => void