Skip to content

TypeScript on event listener wrong return type #430

@RWOverdijk

Description

@RWOverdijk

https://github.com/mauron85/react-native-background-geolocation/blob/master/index.d.ts

The type definition claims that void is returned, but the README says an unsubscribe function is being returned.

Which one is true? And if it's the README, how do you maintain the types file, manually? In which case I can submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleauto labeled abandoned issues after a period of inactivity

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions