Skip to content

v2.0.0-next.23

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 08 Sep 17:28
· 0 commits to main since this release
eaab77d

Patch Changes

  • 12a2500: Accept an explicit undefined on every optional RouteDefinition property (and on the optional properties of defineRoute, defineFileRoute, and their returned config types), so route trees produced under exactOptionalPropertyTypes — notably fileRoutes() applied to filesystem-routing's generated manifest types, whose leaves carry children: undefined — type-check. The runtime already treated absent and undefined alike; the one presence check (hasOwnProperty("path")) now treats an explicit path: undefined as a pathless route too (#598).