diff --git a/runtimes/nodejs/src/support/lsp.ts b/runtimes/nodejs/src/support/lsp.ts index f47fb2649e..f33b198d3c 100644 --- a/runtimes/nodejs/src/support/lsp.ts +++ b/runtimes/nodejs/src/support/lsp.ts @@ -104,7 +104,7 @@ export class LspWebSocket { // @ts-ignore if (message?.error?.code === -32601) { // suppress error messages that cause lsp server to shut down - return + return '' as any } if (lsp.Message.isRequest(message)) {