TypeScript/tests/baselines/reference/parserFunctionPropertyAssignment3.types

6 lines
201 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/parser/ecmascript5/PropertyAssignments/parserFunctionPropertyAssignment3.ts ===
var v = { "foo"() { } };
>v : { "foo"(): void; }
>{ "foo"() { } } : { "foo"(): void; }
2014-08-15 23:33:16 +02:00