File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ export function createRouterMatcher(
85
85
mainNormalizedRecord . aliasOf = originalRecord && originalRecord . record
86
86
const options : PathParserOptions = mergeOptions ( globalOptions , record )
87
87
// generate an array of records to correctly handle aliases
88
- const normalizedRecords : typeof mainNormalizedRecord [ ] = [
88
+ const normalizedRecords : ( typeof mainNormalizedRecord ) [ ] = [
89
89
mainNormalizedRecord ,
90
90
]
91
91
if ( 'alias' in record ) {
Original file line number Diff line number Diff line change @@ -396,7 +396,7 @@ export function createRouter(options: RouterOptions): Router {
396
396
parentOrRoute : RouteRecordName | RouteRecordRaw ,
397
397
route ?: RouteRecordRaw
398
398
) {
399
- let parent : Parameters < typeof matcher [ 'addRoute' ] > [ 1 ] | undefined
399
+ let parent : Parameters < ( typeof matcher ) [ 'addRoute' ] > [ 1 ] | undefined
400
400
let record : RouteRecordRaw
401
401
if ( isRouteName ( parentOrRoute ) ) {
402
402
parent = matcher . getRecordMatcher ( parentOrRoute )
You can’t perform that action at this time.
0 commit comments