Closed xf3 closed 3 years ago
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
v2.14.6 should fix this.
Fixed, great job, thank you!
Version: 2.14.5
Typescript version: 4.1.2
Code:
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