tsgo preview: import suggestions are not aware of paths
Opened this issue · 5 comments
jpike88 commented
jakebailey commented
What is your tsconfig? Do you have a repo to test?
jpike88 commented
Actually I think it just might be configuration thing that tsgo doesn't support yet.
Is there plans to support importModuleSpecifier: 'non-relative'?
jakebailey commented
Yes, we just don't have any user prefs implemented yet.
robertbenjamin commented
Also been running into I think the same issue:
Cannot find module '@pubsub/events' or its corresponding type declarations.ts(2307)
In my tsconfig.json I have this:
"compilerOptions": {
"paths": {
"@pubsub/*": ["pubSub/client/*"],
// ... other path aliases
}
}
Sounds like this might just not be supported yet? Adding a comment just to track this so I can try the preview again when supported is added, thanks for your work on this, it's exciting!
jakebailey commented
That is unrelated; please file a new issue with a repro.