-
Notifications
You must be signed in to change notification settings - Fork 167
Failed to judge when using exports #946
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
idk what typescript feature is called, the lsp just not seems work |
Now I'm using nvim-vtsls as an alternative |
I think you should configure your "compilerOptions": {
"moduleResolution": "nodenext",
"module": "nodenext"
} |
This LSP server doesn't really have any say on how this behaves. The only ones that do are the specific version of TS that you are using and you If it works in vtsls then it could be related to implicit settings that either of those server uses and which could differ since this server has not kept up with upstream changes. But if implicit settings play a role here then that would mean that your |
In my typescript project, I'm using exports in package.json
it should not be error, the program works fine, compiled and be able to run.
In vscode, with the same code, using their typescript lsp, there is no error shown :
when using
ts_ls
in nvim, the code that should be error, nothing happends, seems fine, but its error.In vscode, otherwise, its error, and it's true :
The text was updated successfully, but these errors were encountered: