Skip to content

[Typescript] NavigationScreenProp is miss some property #6373

@EternalChildren

Description

@EternalChildren

Current Behavior

image
image
image

in fact, the navigation has pop, push, etc. and the document also has a description.
but the type description file think that these methods are missing.

Expected Behavior

fix the wrong NavigationScreenProp Type.

How to reproduce

Using the typescript compiler, it will give an error when using the tsc command.

Your Environment

software version
react-navigation 4.0.10
react-native 0.61.1
node
npm or yarn

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