typescript hangs when compiling plugin with tsc 4.5 #175
-
i'm not sure if this s a typescript or a unified issue, but i'm having trouble compiling a simple plugin with ts 4.5 (tsc just hangs): could somebody try building this example: https://github.com/stefanprobst/issue-tsc notes:
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Given that it works in 4.4 and breaks in 4.5 I tend do think this is a TS bug. 🤔 But we may end up having to update unified if the answer is similar to microsoft/TypeScript#26314 or microsoft/TypeScript#25942 (comment) |
Beta Was this translation helpful? Give feedback.
-
This has been resolved in TypeScript 4.6 https://devblogs.microsoft.com/typescript/announcing-typescript-4-6/#improved-recursion-depth-checks
|
Beta Was this translation helpful? Give feedback.
Given that it works in 4.4 and breaks in 4.5 I tend do think this is a TS bug. 🤔
Maybe an edge case with https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/#tailrec-conditional ?
But we may end up having to update unified if the answer is similar to microsoft/TypeScript#26314 or microsoft/TypeScript#25942 (comment)