v2.0.0-next.23
Pre-release
Pre-release
·
0 commits
to main
since this release
Patch Changes
- 12a2500: Accept an explicit
undefinedon every optionalRouteDefinitionproperty (and on the optional properties ofdefineRoute,defineFileRoute, and their returned config types), so route trees produced underexactOptionalPropertyTypes— notablyfileRoutes()applied tofilesystem-routing's generated manifest types, whose leaves carrychildren: undefined— type-check. The runtime already treated absent andundefinedalike; the one presence check (hasOwnProperty("path")) now treats an explicitpath: undefinedas a pathless route too (#598).