File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,9 @@ export { createNavigationApiRouter } from './navigation-api'
142142export type { Router , RouterOptions , RouterScrollBehavior } from './router'
143143export type { RouterApiOptions } from './navigation-api'
144144export type { TransitionMode , RouterViewTransition } from './transition'
145- export type { ClientRouterOptions } from './client -router'
145+ export type { ModernRouterOptions } from './modern -router-factory '
146146export { injectTransitionMode , transitionModeKey } from './transition'
147- export { createClientRouter } from './client -router'
147+ export { createModernRouter } from './modern -router-factory '
148148
149149export { NavigationFailureType , isNavigationFailure } from './errors'
150150export type {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import type { TransitionMode } from './transition'
44import { createNavigationApiRouter } from './navigation-api'
55import { isBrowser } from './utils'
66
7- export interface ClientRouterOptions {
7+ export interface ModernRouterOptions {
88 /**
99 * Factory function that creates a legacy router instance.
1010 * Typically: () => createRouter({@ history: createWebHistory(), routes })
@@ -27,7 +27,7 @@ export interface ClientRouterOptions {
2727 viewTransition ?: boolean
2828}
2929
30- export function createClientRouter ( options : ClientRouterOptions ) : Router {
30+ export function createModernRouter ( options : ModernRouterOptions ) : Router {
3131 let transitionMode : TransitionMode = 'auto'
3232
3333 if (
You can’t perform that action at this time.
0 commit comments