Closed OliverJAsh closed 5 years ago
When I try to convert this function to a class:
const MyComponent: SFC<Props> = props => true && <div />
I get error:
Property body of ClassMethod expected node to be of a type ["BlockStatement"] but instead got null
@OliverJAsh pushed the fix. Look for it in version 4.2.3. Please validate. The logical operator caused trouble :)
Thank you!
When I try to convert this function to a class:
I get error: