Closed
Description
What code were you trying to parse?
// Parsing error: Cannot read property 'text' of undefined
const foo = 1;
// Parsing error: Cannot read property 'kind' of undefined
(() => { })();
// Parsing error: Cannot use 'in' operator to search for 'name' in undefined
let a: "a" | "b";
What did you expect to happen?
No parsing errors
What actually happened?
Got parsing errors
Versions
package | version |
---|---|
@typescript-eslint/parser |
2.17.0 |
TypeScript |
3.7.5 |
ESLint |
6.8.0 |
node |
10.18.1 |
npm |
6.13.6 |