File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ export function handleRouteEntered (route: Route) {
150
150
}
151
151
}
152
152
153
- export function getTargetRouterViewDepth ( target ) {
153
+ export function getTargetRouterViewDepth ( target : any ) {
154
154
return target && target . $vnode && target . $vnode . data ? target . $vnode . data . routerViewDepth
155
155
: null
156
156
}
Original file line number Diff line number Diff line change @@ -354,12 +354,13 @@ interface RouteConfigMultipleViews extends _RouteConfigBase {
354
354
}
355
355
356
356
export type RouteConfig = RouteConfigSingleView | RouteConfigMultipleViews
357
+ export type VueInstance = Dictionary < Vue >
357
358
358
359
export interface RouteRecord {
359
360
path : string
360
361
regex : RegExp
361
362
components : Dictionary < Component >
362
- instances : Dictionary < Vue >
363
+ instances : VueInstance
363
364
name ?: string
364
365
parent ?: RouteRecord
365
366
redirect ?: RedirectOption
@@ -380,7 +381,7 @@ export interface RouteRecord {
380
381
export interface RouteRecordPublic {
381
382
path : string
382
383
components : Dictionary < Component >
383
- instances : Dictionary < Vue >
384
+ instances : VueInstance
384
385
name ?: string
385
386
redirect ?: RedirectOption
386
387
meta : any
You can’t perform that action at this time.
0 commit comments