yuanfux / react-native-hsv-color-picker

a react native HSV(hue, saturation, value) color picker
https://snack.expo.io/@fuyuanx/react-native-hsv-color-picker
48 stars 41 forks source link

TS7016 TypeScript Error @types/react-native-hsv-color-picker is not found #40

Open oguzhnatly opened 2 years ago

oguzhnatly commented 2 years ago

TS7016: Could not find a declaration file for module 'react-native-hsv-color-picker'. '/Users/oguzhan/dev/upay-mobile-frontend/node_modules/react-native-hsv-color-picker/src/index.js' implicitly has an 'any' type.   Try npm i --save-dev @types/react-native-hsv-color-picker if it exists or add a new declaration (.d.ts) file containing declare module 'react-native-hsv-color-picker';

$ npm i --save-dev @types/react-native-hsv-color-picker
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/@types%2freact-native-hsv-color-picker - Not found
npm ERR! 404 
npm ERR! 404  '@types/react-native-hsv-color-picker@latest' is not in the npm registry.