Skip to content

Commit 7da084d

Browse files
committed
fix: change type of route() to Router
1 parent 6602f0e commit 7da084d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/js/types/ziggy.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
import { Config, RouteParams } from 'ziggy-js';
1+
import { RouteParams, Router } from 'ziggy-js';
22

33
declare global {
4-
function route(): Config;
4+
function route(): Router;
55
function route(name: string, params?: RouteParams<typeof name> | undefined, absolute?: boolean): string;
66
}
77

0 commit comments

Comments
 (0)