Open timothyarmes opened 1 year ago
Hi @timothyarmes 👋
Thanks for using this package and thanks for this feadback.
I just fixed the problem with the location of the type declaration files. Please update to version 1.8.3.
I'm afraid your fix hasn't worked. Although there's no longer a nest dist
folder, the index.d.ts
contains:
import Select from "./components/Select";
export default Select;
But ./components does not exist in the distribution:
As a result, there are no types defined at all.
Also note that this file still doesn't export SelectProps, Option, etc.
I think everything should be fine now. Can you test and give me your opinion.
Hi.? I've just installed the latest version. I can now import Select
and its type definition, but your change to export SelectProps
etc. still doesn't work. You can see that dist/index.d.ts only exports the Select type:
import Select from "./components/Select";
export default Select;
Hi,
I just tried installing
react-tailwind-select
, but it failed due to missing typescript types. Looking at the project inside node_modules I see that there's a nesteddist
list folder inside of the maindist
folder. This sub-folder has the types :I suspected a packaging issue, so I installed version 1.7, and that does indeed have the types in the correct location