File tree 2 files changed +0
-16
lines changed
2 files changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -69,14 +69,6 @@ export function template(ctx: Context) {
69
69
: [route: Route, params: Rest["params"], query?: Rest["query"]]
70
70
): string;
71
71
72
- export function $params<
73
- Route extends keyof RoutesWithParams,
74
- Params extends RoutesWithParams[Route]["params"]
75
- >(
76
- route: Route,
77
- params: { readonly [key: string]: string | undefined }
78
- ): {[K in keyof Params]: string};
79
-
80
72
export function $routeId(routeId: RouteId): RouteId;
81
73
}` ;
82
74
} ;
Original file line number Diff line number Diff line change @@ -175,14 +175,6 @@ exports[`gen route types 1`] = `
175
175
: [route: Route, params: Rest["params"], query?: Rest["query"]]
176
176
): string;
177
177
178
- export function $params<
179
- Route extends keyof RoutesWithParams,
180
- Params extends RoutesWithParams[Route]["params"]
181
- >(
182
- route: Route,
183
- params: { readonly [key : string ]: string | undefined }
184
- ): { [K in keyof Params ]: string } ;
185
-
186
178
export function $routeId(routeId: RouteId): RouteId;
187
179
}"
188
180
`;
You can’t perform that action at this time.
0 commit comments