Skip to content

Commit

Permalink
fix: try to fix parseParams types
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Jan 30, 2023
1 parent 050a860 commit 5e20350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/router/src/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export type RouteOptions<
TParentParams extends AnyPathParams = {},
TParams extends Record<ParsePathParams<TPath>, unknown> = Record<
ParsePathParams<TPath>,
string
unknown
>,
TAllParams extends AnyPathParams = {},
TParentContext extends AnyContext = AnyContext,
Expand Down Expand Up @@ -132,7 +132,7 @@ export type RouteOptions<
rawParams: IsAny<TPath, any, Record<ParsePathParams<TPath>, string>>,
) => TParams
stringifyParams: (
params: TParams,
params: NoInfer<TParams>,
) => Record<ParsePathParams<TPath>, string>
}
) &
Expand Down

0 comments on commit 5e20350

Please sign in to comment.