mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-24 02:21:30 -05:00
accept extra parens
This commit is contained in:
@@ -8,7 +8,7 @@ var c = () => ({ name: "foo", message: "bar" });
|
||||
var d = () => ((<Error>({ name: "foo", message: "bar" })));
|
||||
|
||||
//// [arrowFunctionWithObjectLiteralBody5.js]
|
||||
var a = function () { return { name: "foo", message: "bar" }; };
|
||||
var a = function () { return ({ name: "foo", message: "bar" }); };
|
||||
var b = function () { return ({ name: "foo", message: "bar" }); };
|
||||
var c = function () { return ({ name: "foo", message: "bar" }); };
|
||||
var d = function () { return (({ name: "foo", message: "bar" })); };
|
||||
|
||||
Reference in New Issue
Block a user