We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d758be commit 46badddCopy full SHA for 46baddd
src/router.d.ts
@@ -14,7 +14,7 @@ type NestedArray<T> = Array<T | NestedArray<T>>;
14
* @param url - URL path (e.g. /user/12345)
15
* @param route - URL pattern (e.g. /user/:id)
16
*/
17
-export function exec(url: string, route: string, matches: {
+export function exec(url: string, route: string, matches?: {
18
params: {
19
[param: string]: string;
20
};
0 commit comments