We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f911c5e commit 5ae6361Copy full SHA for 5ae6361
resources/js/types/ziggy.d.ts
@@ -1,7 +1,7 @@
1
-import { Config, RouteParams } from 'ziggy-js';
+import { RouteParams, Router } from 'ziggy-js';
2
3
declare global {
4
- function route(): Config;
+ function route(): Router;
5
function route(name: string, params?: RouteParams<typeof name> | undefined, absolute?: boolean): string;
6
}
7
0 commit comments