Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update some built-in Types definitions #48

Open
zourdyzou opened this issue Sep 23, 2022 · 1 comment
Open

Update some built-in Types definitions #48

zourdyzou opened this issue Sep 23, 2022 · 1 comment

Comments

@zourdyzou
Copy link

zourdyzou commented Sep 23, 2022

What is the current behavior?
Throws an error exception in my machine. it says "error TS2304: Cannot find name 'PositionError'"

To Reproduce
Steps to reproduce the behavior:

First of all, It's a great library and tools to use some utilities using hooks and also a nice alternative to the react-use library. I see an error on a few built-in Types such as Geolocation API

What is the expected behavior?
I expect to upgrade some built-in type definitions to follow the recent typescript stable version

Screenshots
I don't have the screenshots but instead found this discussion in regard to this matter.

Information about:

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • React version [e.g. 22]
  • use-haki version [eg. 1.1.0]

Additional context
Add any other context about the problem here.

Live version

It would be nice if you paste link to your JSFiddle or CodeSandbox example below.

@github-actions
Copy link

Thank you for creating your first issue! I will check it as soon as I can :)

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

No branches or pull requests

1 participant