From 5e203507668aa89f2cf9855454f492bfb1a1231d Mon Sep 17 00:00:00 2001 From: Tanner Linsley Date: Mon, 30 Jan 2023 12:14:54 -0700 Subject: [PATCH] fix: try to fix parseParams types --- packages/router/src/route.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/router/src/route.ts b/packages/router/src/route.ts index b3462fad10..d92711185c 100644 --- a/packages/router/src/route.ts +++ b/packages/router/src/route.ts @@ -45,7 +45,7 @@ export type RouteOptions< TParentParams extends AnyPathParams = {}, TParams extends Record, unknown> = Record< ParsePathParams, - string + unknown >, TAllParams extends AnyPathParams = {}, TParentContext extends AnyContext = AnyContext, @@ -132,7 +132,7 @@ export type RouteOptions< rawParams: IsAny, string>>, ) => TParams stringifyParams: ( - params: TParams, + params: NoInfer, ) => Record, string> } ) &