You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Incorrect TS7022 error displayed by Language Server in VSCode #766
It's not likely that this issue is in this server. I would suggest reporting it in the typescript repo since it reproduces with VSCode also which doesn't use this server.
Tsc and ts playground don’t report the error. It’s only reproducible in
vscode and, presumably, probably with ts lang server. I couldn’t quite
figure out the ts server api to confirm, though…
Maybe you could try the repro and check? Then at least we could narrow it to VSCode...
I can reproduce the issue but this server is just a thin LSP layer on top of the Typescript tsserver API.
I can address issues that are specific to this LSP layer maintained here but if the issue appears to be deep in typescript's core then I'm not willing to spend hours or days of my free time debugging the issue.
Since it reproduces in VSCode, creating a bug report in Typescript repo should get the attention of the right people. It looks like an issue that is specific to the tsserver API that Typescript exposes and that's why it reproduces both in VSCode and with this server which is based on VSCode's implementation.
Activity
martaver commentedon Oct 7, 2023
I added
tsserver.logto the repro, which covers starting TS Language Server and making a change to the file.martaver commentedon Oct 7, 2023
Possibly related to issue: microsoft/vscode#177595
rchl commentedon Oct 20, 2023
Based on the linked issue it seems like the issue was fixed in typescript.
martaver commentedon Oct 23, 2023
Based on the repro I provided, in
vscode insiderswithtypescript@beta, the error is still present. This issue should still be open.rchl commentedon Oct 23, 2023
It's not likely that this issue is in this server. I would suggest reporting it in the typescript repo since it reproduces with VSCode also which doesn't use this server.
martaver commentedon Oct 23, 2023
rchl commentedon Oct 23, 2023
I can reproduce the issue but this server is just a thin LSP layer on top of the Typescript tsserver API.
I can address issues that are specific to this LSP layer maintained here but if the issue appears to be deep in typescript's core then I'm not willing to spend hours or days of my free time debugging the issue.
Since it reproduces in VSCode, creating a bug report in Typescript repo should get the attention of the right people. It looks like an issue that is specific to the tsserver API that Typescript exposes and that's why it reproduces both in VSCode and with this server which is based on VSCode's implementation.