thisbeyond / solid-select

The Select component for Solid.
https://solid-select.com
MIT License
172 stars 18 forks source link

Incorrect type definition? #50

Closed bartoszkrawczyk2 closed 2 months ago

bartoszkrawczyk2 commented 9 months ago

Hi,

I'm using vite 4.4.5 with TS+solid preset

When I try to import solid-select I'm getting:

Could not find a declaration file for module '@thisbeyond/solid-select'. '/path/to/my/project/node_modules/@thisbeyond/solid-select/dist/esm/index.js' implicitly has an 'any' type.
  There are types at '/path/to/my/project/node_modules/@thisbeyond/solid-select/dist/types/index.d.ts', but this result could not be resolved when respecting package.json "exports". The '@thisbeyond/solid-select' library may need to update its package.json or typings.ts(7016)

How can this be fixed?

Thanks

martinpengellyphillips commented 2 months ago

Release 0.15.0 has now been published which should address this.