This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
Support leading slash imports using "paths" in tsconfig.json #680
Open
Description
Hello,
It seems this language server does not support the import style of
import Hello from '/folder/hello';
using the tsconfig.json
setting:
// ...
"paths": {
/* Support absolute /imports/* with a leading '/' */
"/*": ["*"]
},
// ...
Test case: https://github.com/javoire/sourcegraph-javascript-typescript-langserver-testcase
VSCode supports it (which I believe uses tsserver, and https://github.com/theia-ide/typescript-language-server supports it.
Here's an example result from me using Neovim and https://github.com/autozimu/LanguageClient-neovim:
Cheers
Metadata
Metadata
Assignees
Labels
No labels