oieduardorabelo / use-navigator-online

⚛️ React Hooks to detect when your browser is online/offline.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't find module '@oieduardorabelo/use-navigator-online'

dingshaohua-com opened this issue · comments

`➜ duo-office-editor git:(fix-optimize-nav) ✗ npm install @oieduardorabelo/use-navigator-online

  • @oieduardorabelo/use-navigator-online@1.0.5
    added 1 package from 1 contributor and audited 14386 packages in 8.366s
    found 0 vulnerabilities
    `
    image

hey @dshvv , the error is related to TypeScript types, atm this pkg doesn't have it

the module is working as expected:
https://codesandbox.io/s/keen-villani-1xy56?fontsize=14

hey @dshvv , the error is related to TypeScript types, atm this pkg doesn't have it

the module is working as expected:
https://codesandbox.io/s/keen-villani-1xy56?fontsize=14

You are right, so am I. But I think the author should take care of the users of typescript. After all, more and more people are using it.

nah, I'm good. feel free to submit a pr, otherwise, nah