plantain-00 / type-coverage

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

Message: "warning: unhandled node kind: 193" #73

Closed xf3 closed 3 years ago

xf3 commented 3 years ago

Version: 2.14.5

Typescript version: 4.1.2

Code:

type World = 'world';

export type Greeting = `hello ${World}`;

Similar to https://github.com/plantain-00/type-coverage/issues/71, the problem is caused by newly added Typescript's template literal types: https://devblogs.microsoft.com/typescript/announcing-typescript-4-1/#template-literal-types

plantain-00 commented 3 years ago

v2.14.6 should fix this.

xf3 commented 3 years ago

Fixed, great job, thank you!