Skip to content
This repository was archived by the owner on Dec 3, 2022. It is now read-only.

Types are missing and causing errors #42

@shamilovtim

Description

@shamilovtim

Using react-navigation v4

Hook:
const navigation = useNavigation<any>();

Use hook:
navigation.popToTop();

Typescript error:
Property 'popToTop' does not exist on type 'NavigationScreenProp<any, NavigationParams>'.ts(2339)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions