Closed
Description
What code were you trying to parse?
// Please put code here
const obj = {name: ""};
return {
name: obj?.name,
...additionalData,
};
What did you expect to happen?
No error, parses fine, and shows in IDE fine.
Versions
package | version |
---|---|
@typescript-eslint/parser |
^2.3.1 |
TypeScript |
^3.7.0-dev.20191002 |
ESLint |
6.1.0 |
node |
10.16.3 |
npm |
6.9.0 |
Expected to land in 3.7.x from Typescript-
https://github.com/Microsoft/TypeScript/wiki/Roadmap#37-november-2019
microsoft/TypeScript#33294
Relates to #136