Skip to content

afterNavigate's type property type has twice the documentation #15470

@WarningImHack3r

Description

@WarningImHack3r

Describe the bug

The tiniest type bug I could find :D
The documentation of each possible value of type of afterNavigate contains both the values of the type of beforeNavigate (sort of) and the actual values for afterNavigate:

Image

I tried to find an easy fix, and I'm pretty sure the reason is the documentation on NavigationType in both index.d.ts and public.d.ts, but removing it didn't change anything on my side.

Reproduction

Hover over the type value of the navigation parameter of afterNavigate in any IDE. Observed in VSCode, Zed

Logs

System Info

Irrelevant

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions