react-modal-video
react-modal-video copied to clipboard
Typescript compatible issue
This package isn't working with using typescript.
Could you support this issue?
Thanks in advance
Wondering if there's any plan or update on this.
Running into the same issue.
same here
hey @AleksMeshkov, I was able to silence the warning by adding this folder under types
so i created a types
folder in root, then a sub-folder called react-modal-video
and then created an index.d.ts
file with `declare module 'react-modal-video' in it. that's it.
you can see here: https://github.com/christiandavidturner/Disney-Plus-Plus/tree/main/types/react-modal-video
If someone still need this:
npm i --save-dev @types/react-modal-video