shahen94 / react-native-video-processing

Native Video editing/trimming/compressing :movie_camera: library for React-Native
https://shahen94.github.io/react-native-video-processing/
MIT License
1.24k stars 321 forks source link

Could not find a declaration file for module 'react-native-video-processing' #389

Open JoaquinGiorgis opened 1 year ago

JoaquinGiorgis commented 1 year ago

Could not find a declaration file for module 'react-native-video-processing'.

'c:/Users/Joaqu/OneDrive/Escritorio/AwesomeProject/node_modules/react-native-video-processing/index.js' implicitly has an 'any' type.

software version
react-native-video-processing ^1.7.2
react-native 0.71.3
node 16.16.0
enganasalsaadi commented 1 year ago

same !

nirmalswmnthn commented 1 year ago
  1. Check for @types folder in root of the project, if not exist create @types folder in the root of the project.
  2. Inside that add react-native-video-processing.d.ts file.
  3. within the d.ts file write, declare module 'react-native-video-processing';