We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a676efc + 18b1df8 commit e2bdbadCopy full SHA for e2bdbad
1 file changed
src/types.ts
@@ -55,7 +55,7 @@ export interface NavigateOptions<S = unknown> {
55
}
56
57
export interface Navigator {
58
- (to: string, options?: Partial<NavigateOptions>): void;
+ (to: string | number, options?: Partial<NavigateOptions>): void;
59
(delta: number): void;
60
61
0 commit comments