Skip to content

[Docs]: redundant step 2 in middleware docs #13984

@Moonflower-labs

Description

@Moonflower-labs

Describe what's incorrect/missing in the documentation

Since react router 7.6.0, typegen also creates types for future flags, hence no need for the user to explicitly declare the type module, as shown in step 2 of middleware docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions