Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support typescript #2

Open
hamidfzm opened this issue Mar 14, 2020 · 4 comments
Open

Support typescript #2

hamidfzm opened this issue Mar 14, 2020 · 4 comments

Comments

@hamidfzm
Copy link

None of the react-native hooks projects supports typescript. Please consider adding types.

@divyanshu013
Copy link
Member

Meanwhile would using this package work? https://github.com/react-native-community/hooks#usedeviceorientation

Adding types may take a while.

@iamshadmirza
Copy link

Hey @divyanshu013
Are you still looking to add type definition?
I can take it up and raise a PR.

@divyanshu013
Copy link
Member

Hey, sure, happy to accept PR. Alternatively, you can use the react-native-community package if that works.

@iamshadmirza
Copy link

Okay, react-native-community seems updated. Thanks for the heads up.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants