-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Alias paths aren't being resolved by language server #12249
Labels
Comments
You need to add a jsconfig.json referencing that generated tsconfig, else intellisense doesn't know what these references are. We should adjust the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Not being able to go to an implementation of a function when using an alias like default
$lib
or a custom one;Suggestions for typing imports don't work.
Reproduction
Repo with reproduction - https://github.com/Joonel/alias-bug
Create a new empty project, no TS, no JSDoc.
Add any
@custom-alias
for a folder insvelte.config.js
, import a function on+page.svelte
from theindex.js
in that folder, then try to go to the implementation of that function.svelte.config.js
:paths in
./svelte-kit/tsconfig.json
are as expected:Logs
No response
System Info
Severity
serious, but I can work around it
Additional Information
No response
The text was updated successfully, but these errors were encountered: