Deno LSP: Severe slowdown/crash triggered by recursive conditional types with generic arrow function
βοΈVS Code / LSPπ§βπ»JS / TS Development
I have found some weird bug where the Deno LSP loops and crashes, I've tried to look up the
but there were no stack traces besides some error logs about timeouts and restarts.
The recreational code snippet will be posted down below to avoid the character limitations.
The bug is possibly related to TypeScript's
I've tried runnning my snippet without the LSP and noted that TypeScript has the same sort of problems without being unresponsive.
idea.log, but there were no stack traces besides some error logs about timeouts and restarts.
The recreational code snippet will be posted down below to avoid the character limitations.
The bug is possibly related to TypeScript's
Type instantiation is excessively deep and possibly infinite..I've tried runnning my snippet without the LSP and noted that TypeScript has the same sort of problems without being unresponsive.
