We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
InferParam
1 parent cb4532c commit 03952aaCopy full SHA for 03952aa
1 file changed
src/context.ts
@@ -107,7 +107,7 @@ export type InferInputMethod<
107
export type InferParam<Path extends string> = IsEmptyObject<
108
InferParamPath<Path> & InferParamWildCard<Path>
109
> extends true
110
- ? {}
+ ? Record<string, any> | undefined
111
: Prettify<InferParamPath<Path> & InferParamWildCard<Path>>;
112
113
export type InferParamInput<Path extends string> = IsEmptyObject<
0 commit comments