TS and JS Grammar Extension version: 0.0.41 / latest
Code
Fails to properly identify TM scopes if return value is wrapped with braces
const func = () => (
getValue()
)
const Comp = () => (
class extends React.Component {
}
)
Scopes properly identified without braces
const func = () =>
getValue()
const Comp = () =>
class extends React.Component {
}