UNPKG
@bfehub/vuepress-theme-vmi
Version:
latest (1.60.0)
1.60.0
1.1.0
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
Vmi theme of VuePress
github.com/bfehub/vmi
@bfehub/vuepress-theme-vmi
/
lib
/
client
/
composables
/
useResolveRouteWithRedirect.d.ts
6 lines
(5 loc)
•
284 B
TypeScript
View Raw
1
2
3
4
5
6
import
type
{
Router
}
from
'vue-router'
;
/** * Resolve a route with redirection */
export
declare
const
useResolveRouteWithRedirect
:
(
to
:
import
(
"vue-router"
).
RouteLocationRaw
,
currentLocation
?:
import
(
"vue-router"
).
RouteLocationNormalizedLoaded
) =>
ReturnType
<
Router
[
'resolve'
]>;