summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2019-04-02 15:47:36 -0700
committerNick Van Doorn <vandoorn.nick@gmail.com>2019-04-02 15:47:36 -0700
commit88258a0f4bd1d1b980a1c2757e7fce932968215a (patch)
treeac8519919ebc7ddc57a857574ab2dd255bf9b385
parente2e9b7d8d055037d9a2c409952d99383a9ccbdd4 (diff)
Remove type annotation
-rw-r--r--src/use-geolocation.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/use-geolocation.js b/src/use-geolocation.js
index 9ab3f99..2e46070 100644
--- a/src/use-geolocation.js
+++ b/src/use-geolocation.js
@@ -15,7 +15,7 @@ export const useGeolocation = () => {
timestamp: Date.now()
})
let mounted = true
- let watchId: any
+ let watchId
const onEvent = event => {
if (mounted) {