plantain-00 / type-coverage

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

Message "warning: unhandled node kind: 191" #71

Closed aywan closed 3 years ago

aywan commented 3 years ago

Version: 2.14.2

Typescript version: 4.0.5

Environment:

docker, alpine node:12.16.2 custom container node:12.19.1-alpine3.10 - stock, docker hub container

Code:

const useFormProcessing = (): [isProcessing: boolean, changeState: (name:  string, state?: boolean) => void] => {
....
}

Running with debug mode allow to find place where message appears. Problem with Labeled Tuple Elements. If remove labels - all ok. Can you help me to find a problem?

Looks like same issue at type-coverage-report: https://github.com/alexcanessa/typescript-coverage-report/issues/25

plantain-00 commented 3 years ago

v2.14.3 should fix this.

aywan commented 3 years ago

I confirm v2.14.3 fixes the bug