plantain-00 / type-coverage

A CLI tool to check type coverage for typescript code
MIT License
1.26k stars 44 forks source link

TypeScript 3.7 optional chaining support #38

Closed darky closed 5 years ago

darky commented 5 years ago

Version(if relevant): 2.3.0

Environment(if relevant):

Code(if relevant):

const obj: {a?: {b: 1}} = {a: {b: 1}}
obj.a?.b;

Expected:

No warning, proper check

Actual:

Warning: unhandled node kind: 60

plantain-00 commented 5 years ago

v2.3.1 should fix this

darky commented 5 years ago

Thanks!