react-native-video-processing icon indicating copy to clipboard operation
react-native-video-processing copied to clipboard

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

Open JoaquinGiorgis opened this issue 2 years ago • 3 comments

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

JoaquinGiorgis avatar Feb 17 '23 22:02 JoaquinGiorgis

same !

enganasalsaadi avatar Apr 06 '23 10:04 enganasalsaadi

  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';

nirmalswmnthn avatar Apr 27 '23 13:04 nirmalswmnthn