File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -3,15 +3,14 @@ import {
33 SearchString ,
44 BaseLocationHook ,
55 BaseSearchHook ,
6+ HrefsFormatter ,
67} from "./location-hook.js" ;
78
89export type Parser = (
910 route : Path ,
1011 loose ?: boolean
1112) => { pattern : RegExp ; keys : string [ ] } ;
1213
13- export type HrefsFormatter = ( href : string , router : RouterObject ) => string ;
14-
1514// the object returned from `useRouter`
1615export interface RouterObject {
1716 readonly hook : BaseLocationHook ;
Original file line number Diff line number Diff line change @@ -3,15 +3,14 @@ import {
33 SearchString ,
44 BaseLocationHook ,
55 BaseSearchHook ,
6+ HrefsFormatter ,
67} from "./location-hook.js" ;
78
89export type Parser = (
910 route : Path ,
1011 loose ?: boolean
1112) => { pattern : RegExp ; keys : string [ ] } ;
1213
13- export type HrefsFormatter = ( href : string , router : RouterObject ) => string ;
14-
1514// the object returned from `useRouter`
1615export interface RouterObject {
1716 readonly hook : BaseLocationHook ;
You can’t perform that action at this time.
0 commit comments