import type { Route } from '@chubbyts/chubbyts-framework/dist/router/route';import type { RoutesByName } from '@chubbyts/chubbyts-framework/dist/router/routes-by-name';const route: Route = ...;const routesByName: RoutesByName = new Map([ ['routeName', route],]) Copy
import type { Route } from '@chubbyts/chubbyts-framework/dist/router/route';import type { RoutesByName } from '@chubbyts/chubbyts-framework/dist/router/routes-by-name';const route: Route = ...;const routesByName: RoutesByName = new Map([ ['routeName', route],])