I've been attempting to utilize the package @twilio-conversations
in my React TypeScript project.
However, during compilation, I encountered the following error:
./src/components/communications/conversations/ConversationsSetup.tsx
Module not found: Can't resolve '@twilio-conversations' in ...
Even after declaring the module in the definition file @types/alltypes.d.ts
like this: [
declare module "@twilio-conversations"
], the issue persists.
Interestingly, when using JavaScript, everything runs smoothly without any errors.
If anyone else is experiencing a similar problem, please share your insights!