react-input-emoji
react-input-emoji copied to clipboard
Could not find a declaration file for module 'react-input-emoji'
This lib does not support tsx
? I'm trying to use this lib within a React app + Typescript (.tsx
). But I'm getting the following error on import
:
Could not find a declaration file for module 'react-input-emoji'
| import InputEmoji from "react-input-emoji";
| ^^^^^^^^^^^^^^^^^^
This lib does not support
tsx
? I'm trying to use this lib within a React app + Typescript (.tsx
). But I'm getting the following error onimport
:Could not find a declaration file for module 'react-input-emoji' | import InputEmoji from "react-input-emoji"; | ^^^^^^^^^^^^^^^^^^
I'm also facing this issue , can you tell me if you solve this or not ?
I am facing the same issue.
same here... is there any plan on adding propoer TS types?
Same issue here but without the use of typescript. How other people are able to use?
[SOLVED] As chatgpt suggested based on the error details from the terminal installing prop-types resolved the issue
npm install prop-types
Good news! I've recently added TypeScript support. Please ensure you have the latest version installed. If you've just updated, you might need to restart your TypeScript server (or your IDE) to pick up the new type definitions.
If you're still facing any issues after updating, please let me know. Thanks for using react-input-emoji
!