We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a5da264 + c69185d commit b1465edCopy full SHA for b1465ed
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