Skip to content

VSCode IntelliSense / TypeScript sometimes pulls types from solid-js/types/server/reactive.js #2441

Answered by greypants
fongandrew asked this question in Q&A
Discussion options

You must be logged in to vote

I had the same issue with createStore auto-suggesting importing from "solid-js/store/types/server.js" instead of "solid-js/store"

I was able to work around the issue by adding this regex to the TypeScript > Preferences: Auto Import Specifier Exclude regexes setting in VS Code:

solid-js\/.*\/types.*

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@fongandrew
Comment options

Comment options

You must be logged in to vote
1 reply
@fongandrew
Comment options

Answer selected by fongandrew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants