| 28 | |
| 29 | // the object returned from `useRouter` |
| 30 | export interface RouterObject { |
| 31 | readonly hook: BaseLocationHook; |
| 32 | readonly searchHook: BaseSearchHook; |
| 33 | readonly base: Path; |
| 34 | readonly ownBase: Path; |
| 35 | readonly parser: Parser; |
| 36 | readonly ssrPath?: Path; |
| 37 | readonly ssrSearch?: SearchString; |
| 38 | readonly ssrContext?: SsrContext; |
| 39 | readonly hrefs: HrefsFormatter; |
| 40 | readonly aroundNav: AroundNavHandler; |
| 41 | } |
| 42 | |
| 43 | // state captured during SSR render |
| 44 | export type SsrContext = { |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…