5 lines
188 B
TypeScript
5 lines
188 B
TypeScript
//// [typeCheckObjectLiteralMethodBody.ts]
|
|
var foo = { bar() { return undefined } };
|
|
|
|
//// [typeCheckObjectLiteralMethodBody.js]
|
|
var foo = { bar: function () { return undefined; } };
|