You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've spent most of the day trying to find info on this issue, but Google is giving me nothing. We're using [email protected] and Flow version 0.238.2 and running into errors while trying to parse decorators. For example:
@exampleDecorator
class Example extends React.Component { ... }
Results in:
Parsing error: unrecognized character '@'
@exampleDecorator
We're using Webpack + babel-loader with the following plugins to try and make things happen:
We do plan to add support for parsing decorators, but we haven't done so yet given that they aren't standardized yet. https://github.com/tc39/proposal-decorators is at stage 3, so we'll likely be able to implement this feature soon.
I've spent most of the day trying to find info on this issue, but Google is giving me nothing. We're using
[email protected]
and Flow version0.238.2
and running into errors while trying to parse decorators. For example:Results in:
We're using Webpack +
babel-loader
with the following plugins to try and make things happen:Is it true that
hermes-parser
can't deal with decorators or are we missing some obscure config somewhere?The text was updated successfully, but these errors were encountered: