Library seems not supported to be used in ts project, no declaration module.
Closed this issue · 3 comments
fidellr commented
Describe the bug
Not supporting ts project, no declaration module was provided by the library, and block development to use inside ts project
Codesandbox example
Create a codesandbox example with the problem you would like to have solved.
To Reproduce
Steps to reproduce the behavior:
- Install library with yarn
- Import inside tsx file
- See error
Could not find a declaration file for module 'react-search-autocomplete'. 'E:/xxx/node_modules/react-search-autocomplete/dist/index.js' implicitly has an 'any' type. Try `npm i --save-dev @types/react-search-autocomplete` if it exists or add a new declaration (.d.ts) file containing `declare module 'react-search-autocomplete';
Expected behavior
Suppport to be use in ts project
gignupg commented
Same issue here!