type RouteState = { base: string, params: Record<string, string>, routes?: Record<string, Route>, }
packages / workbench / src / router / routes.ts