multiple options for auto import
I have annoying issue with my IDEs, that I get multiple import suggestions so there is no quick way to apply auto import. Maybe someone has quick idea how to fix it? There is one correct import from "solid-js" and other from "solid-js/types...".

4 Replies
It's more annoying in WebStorm (which is my primary IDE) as I have to manually navigate to correct option:

in the meantime before the issue is resolved, you can just remove the types exports in solid-js package.json
I removed all exports from node_modules/solid-js/package.config (if that's what you meant) but that didn't help
it seems that types come from
types/index.d.ts
but I'm not sure how that one should be setupat least for vscode, doing that seems to work for me, you probably need to reindex for webstorm, so that it picks up the right files, but this won't do anything if it over indexes though