File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11import type { ClassValue , HTMLAnchorAttributes } from "svelte/elements" ;
2- import type { SvelteURL } from "svelte/reactivity" ;
32
43/**
54 * Defines the data type of all `hash` properties found in almost all of the library's components.
@@ -157,7 +156,7 @@ export interface Location {
157156 /**
158157 * Gets a reactive URL object with the current window's URL.
159158 */
160- readonly url : SvelteURL ;
159+ readonly url : URL ;
161160 /**
162161 * Gets the current hash path or paths, depending on how the library was initialized.
163162 *
@@ -445,9 +444,10 @@ export type InitOptions = RoutingOptions & {
445444export interface HistoryApi extends History {
446445 /**
447446 * Reactive URL object that reflects the current location.
447+ *
448448 * Implementations should ensure this stays synchronized with navigation changes.
449449 */
450- readonly url : SvelteURL ;
450+ readonly url : URL ;
451451
452452 /**
453453 * Cleans up event listeners and resources used by the HistoryApi implementation.
You can’t perform that action at this time.
0 commit comments