Open bbrk24 opened 1 month ago
undo := => engine = Engine.fromJSON json if json? := history.pop()
const undo = () =>(const json? = history.pop()? engine = Engine.fromJSON(json):void 0)
Workaround: put the function body on the next line
A workaround for now:
So this is probably specific to the "don't wrap fat arrow in braces if it's a one-line expression" rule.
Workaround: put the function body on the next line