Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Failed to judge when using exports #946

Open
@riparuk

Description

@riparuk

In my typescript project, I'm using exports in package.json

Image The `ts_la` can't detect the alias path that I'm using. I'm using the lsp in nvim with lspconfig, in nvim it shows like this : Image

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 :

Image

when using ts_ls in nvim, the code that should be error, nothing happends, seems fine, but its error.

Image

In vscode, otherwise, its error, and it's true :

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions