react-chatbot-kit icon indicating copy to clipboard operation
react-chatbot-kit copied to clipboard

Typescript Types

Open TheCollinsByte opened this issue 2 years ago • 2 comments

Failed to use the Chatbot library because I am using typescript within my project and the types are missing I was asking how a you providing the typescript types because I can't find the @types/react-chatbot-kit package from the npm registry.

TheCollinsByte avatar Dec 05 '23 21:12 TheCollinsByte

There seems to be a problem with the node_modules package generated for versions starting from 2.2.0. The src folder with typescript source files is missing. The problem doesn't occur for versions <=2.1.2. Screenshot 2023-12-09 at 12 49 59 Screenshot 2023-12-09 at 12 51 15

aamikus avatar Dec 09 '23 11:12 aamikus

Suggestion on fixing the problem is to use the previous version or there is another hack on the problem will using the latest version.

TheCollinsByte avatar Dec 09 '23 11:12 TheCollinsByte