Closed bturner1273 closed 3 years ago
Nevermind I saw you have this file in dist. However I still had to declare the library as a module in global.d.ts. Any suggestions on using your .d.ts file properly?
I don't think you need to do anything other than npm install. If you see this file in the dist
folder locally, then typescript should be able to find the types.
Ahh okey dokey I must have it configured wrong/looking in the wrong place for types thank you!
just wondering if this is something you might consider. I have one I use locally which you can feel free to use, there are just a few types I couldn't fully flesh out from the docs so I set them to any.
react-dropdown-tree-select.d.ts:
Edit: I can't say I really know the intricacies of creating the @types/react-dropdown-tree-select and whether you would need to drastically change anything in the lib itself to support the types but I am happy to contribute if there is any extra help needed