Closed scottohara closed 5 years ago
Note that this error now occurs for both
"parserOptions": { "sourceType": "module" }
and
"parserOptions": { "sourceType": "script" }
@scottohara sourceType is not used by parser, there is opened PR with that #583
This issue has been migrated to the new project here: typescript-eslint/typescript-eslint#23
Thanks!
What version of ESLint are you using? 5.11.1
What version of TypeScript are you using? 3.1.1
What version of
typescript-eslint-parser
are you using? Any version from 21.0.0 onwardsWhat code were you trying to parse?
What did you expect to happen? No errors
What happened? In `typescript-eslint-parser@20.1.1, code passes with no errors.
With `typescript-eslint-parser@21.0.0 onwards, the errors below occur: