plantain-00 / type-coverage

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

Doesn't recognize BigInt from TypeScript 3.2 #8

Closed karol-majewski closed 5 years ago

karol-majewski commented 5 years ago

Version(if relevant): 1.6.1

Environment(if relevant):

TypeScript 3.2.2

Code(if relevant):

type Primitive =
  | boolean
  | number
  | bigint
  | string
  | symbol
  | null
  | undefined;

Expected:

No error nor warning.

Actual:

A warning about bigint is emitted.

node: typings/global.d.ts:12:7: bigint 146(kind) warning: unhandled node kind: 146

plantain-00 commented 5 years ago

Thanks for report this, v1.6.2 should fix this

karol-majewski commented 5 years ago

It did, thank you. 🙇