File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ declare type Location = {
59
59
query ?: Dictionary < string > ;
60
60
params ?: Dictionary < string > ;
61
61
append ? : boolean ;
62
+ replace ? : boolean ;
62
63
}
63
64
64
65
declare type RawLocation = string | Location
Original file line number Diff line number Diff line change @@ -27,8 +27,12 @@ declare class VueRouter {
27
27
go ( n : number ) : void ;
28
28
back ( ) : void ;
29
29
forward ( ) : void ;
30
- getMatchedComponentes ( ) : Component ;
31
- resolve ( to : RawLocation , current ?: Route , append ?: boolean ) : { href : string } ;
30
+ getMatchedComponentes ( to ?: RawLocation ) : Component [ ] ;
31
+ resolve ( to : RawLocation , current ?: Route , append ?: boolean ) : {
32
+ normalizedTo : Location ;
33
+ resolved : Route ;
34
+ href : string ;
35
+ } ;
32
36
33
37
static install : PluginFunction < never > ;
34
38
}
@@ -79,6 +83,8 @@ export interface Location {
79
83
hash ?: string ;
80
84
query ?: Dictionary < string > ;
81
85
params ?: Dictionary < string > ;
86
+ append ?: boolean ;
87
+ replace ?: boolean ;
82
88
}
83
89
84
90
export interface Route {
You can’t perform that action at this time.
0 commit comments