Skip to content

Commit e2bdbad

Browse files
committed
Merge branch 'main' of github.com:solidjs/solid-router
2 parents a676efc + 18b1df8 commit e2bdbad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export interface NavigateOptions<S = unknown> {
5555
}
5656

5757
export interface Navigator {
58-
(to: string, options?: Partial<NavigateOptions>): void;
58+
(to: string | number, options?: Partial<NavigateOptions>): void;
5959
(delta: number): void;
6060
}
6161

0 commit comments

Comments
 (0)