Open akira-n-aunif opened 6 years ago
NG let a = () => /* = */ { return 'b' }
let a = () => /* = */ { return 'b' }
OK let a = () => { /* = */ return 'b' }
let a = () => { /* = */ return 'b' }
OK let a = () /* = */ => { return 'b' }
let a = () /* = */ => { return 'b' }
I found this issue in @material/select/foundation.js L55 ( Material components web )
That's a bug in https://github.com/Rich-Harris/buble/blob/584082a152aedeab0c49ab69852a4c7ee0f00ee5/src/program/types/ArrowFunctionExpression.js#L23.
NG
let a = () => /* = */ { return 'b' }
OK
let a = () => { /* = */ return 'b' }
OK
let a = () /* = */ => { return 'b' }
I found this issue in @material/select/foundation.js L55 ( Material components web )