-
Notifications
You must be signed in to change notification settings - Fork 106
Open
Description
( Possibly related to js2flowchart )
When trying to parse certain ES6+ syntax, the AST parser throw an error:
Error at parseCodeToAST: This experimental syntax requires enabling the parser plugin: 'classProperties' (XX:YY)
An example of this code would be:
class ExampleComponent extends React.Component {
constructor(props) {
super(props)
}
// Error triggers on the line below
state = {
isLoading: false
}
// . . .
}How does one enable classProperties over @ codecrumbs?
Metadata
Metadata
Assignees
Labels
No labels