GeorgeHop / react-native-country-codes-picker

⚡ ⚡ ⚡This lib. provide multi lang. country picker with search functionality. Fully crossplatform and supported on React-native and expo. Didn't find your country ? Just add the required countries or locales and make a PR.⚡ ⚡ ⚡
https://github.com/GeorgeHop/react-native-country-codes-picker
MIT License
151 stars 80 forks source link

Issue with lint #22

Closed umangloria closed 2 years ago

umangloria commented 2 years ago

Getting this error: node_modules/react-native-country-codes-picker/index.tsx(16,33): error TS7016: Could not find a declaration file for module './helpers/useKeyboardStatus'. '/Users/../../node_modules/react-native-country-codes-picker/helpers/useKeyboardStatus.js' implicitly has an 'any' type.

Not sure how to fix it! Can anyone help with this?

GeorgeHop commented 2 years ago

Hi! Hmmm checking

umangloria commented 2 years ago

Hi! Hmmm checking

Thanks, Let me know if you need any additional information from my side, This happens when we perform yarn run lint && yarn run check-typescript

GeorgeHop commented 2 years ago

Please check version 2.0.2 it might be because this useKeyboardStatus hook was not refactored to TS.

umangloria commented 2 years ago

Trying now.

umangloria commented 2 years ago

Got another error which is straightforward to fix, Opened PR, feel free to discard PR as well. :) And Thank you for the fixing the issue swiftly.

https://github.com/GeorgeHop/react-native-country-codes-picker/pull/23

umangloria commented 2 years ago

Just let me know once you release a new version so I can update the version on my side and close this issue.

GeorgeHop commented 2 years ago

Published fix

umangloria commented 2 years ago

Amazing thank you so much.