File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
packages/router/src/types Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,9 @@ export interface MatcherLocationAsPath {
59
59
export interface MatcherLocationAsName {
60
60
name : RouteRecordName
61
61
// to allow checking location.path == null
62
+ /**
63
+ * Ignored path property since we are dealing with a relative location. Only `undefined` is allowed.
64
+ */
62
65
path ?: undefined
63
66
params ?: RouteParams
64
67
}
@@ -68,6 +71,9 @@ export interface MatcherLocationAsName {
68
71
*/
69
72
export interface MatcherLocationAsRelative {
70
73
// to allow checking location.path == null
74
+ /**
75
+ * Ignored path property since we are dealing with a relative location. Only `undefined` is allowed.
76
+ */
71
77
path ?: undefined
72
78
params ?: RouteParams
73
79
}
@@ -78,6 +84,9 @@ export interface MatcherLocationAsRelative {
78
84
export interface LocationAsRelativeRaw {
79
85
name ?: RouteRecordName
80
86
// to allow checking location.path == null
87
+ /**
88
+ * Ignored path property since we are dealing with a relative location. Only `undefined` is allowed.
89
+ */
81
90
path ?: undefined
82
91
params ?: RouteParamsRaw
83
92
}
You can’t perform that action at this time.
0 commit comments