Skip to content

Commit

Permalink
fix: no TStringifiedParams
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Jan 30, 2023
1 parent c46eea6 commit a2acf25
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/router/src/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ export type RouteOptions<
TAllParentContext extends AnyContext = AnyContext,
TRouteContext extends AnyContext = AnyContext,
TContext extends AnyContext = TRouteContext,
TStringifiedParams = unknown,
> = RouteOptionsBase<TCustomId, TPath> &
FrameworkRouteOptions & {
getParentRoute: () => TParentRoute
Expand Down Expand Up @@ -130,7 +129,9 @@ export type RouteOptions<
) => TParams extends Record<string, any>
? TParams
: 'parseParams must return a Record<string, any>'
stringifyParams?: (params: NoInfer<TParams>) => TStringifiedParams
stringifyParams?: (
params: NoInfer<TParams>,
) => Record<ParsePathParams<TPath>, string>
}
| {
stringifyParams?: never
Expand Down

0 comments on commit a2acf25

Please sign in to comment.