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
{{ message }}
This repository was archived by the owner on Jan 19, 2019. It is now read-only.
@ibufu do you have jsx: true in your parserOptions? That is the only way I can reproduce this.
Please see #399 for more information about this. Essentially when jsx: true, you cannot use ambiguous TS constructs such as the <> syntax for type assertions. You could refactor your code to use the as syntax instead.
I will close this out for now, but please let me know if my assumption about you using jsx is not accurate.
What version of TypeScript are you using?
v2.5.3
What version of
typescript-eslint-parser
are you using?latest
What code were you trying to parse?
What did you expect to happen?
What happened?
parsing error.
The text was updated successfully, but these errors were encountered: