gorhom / react-native-sticky-item

An interactive sticky item inspired by Facebook Stories.
MIT License
891 stars 48 forks source link

chore: fix types path #25

Open matheusmatos opened 2 years ago

matheusmatos commented 2 years ago

I got this error on VSCode and can't compile my project.

Could not find a declaration file for module '@gorhom/sticky-item'. 'node_modules/@gorhom/sticky-item/lib/commonjs/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/gorhom__sticky-item` if it exists or add a new declaration (.d.ts) file containing `declare module '@gorhom/sticky-item';` ts(7016)

This PR contains a simple fix for that.

Thanks!