TypeScript/tests/cases/compiler/typeCheckObjectLiteralMethodBody.ts
2015-06-02 18:21:39 -07:00

2 lines
65 B
TypeScript

//@noImplicitAny: true
var foo = { bar() { return undefined } };