better-call 1.0.17 → 1.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.cts +1 -1
- package/dist/client.d.ts +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js.map +1 -1
- package/dist/node.d.cts +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/{router-CLKBSbjV.d.cts → router-DcqXHY8X.d.cts} +1 -1
- package/dist/{router-CLKBSbjV.d.ts → router-DcqXHY8X.d.ts} +1 -1
- package/package.json +1 -1
package/dist/node.d.cts
CHANGED
package/dist/node.d.ts
CHANGED
|
@@ -417,7 +417,7 @@ type InferInputMethod<Options extends EndpointOptions, Method = Options["method"
|
|
|
417
417
|
} : {
|
|
418
418
|
method: Method;
|
|
419
419
|
};
|
|
420
|
-
type InferParam<Path extends string> = IsEmptyObject<InferParamPath<Path> & InferParamWildCard<Path>> extends true ?
|
|
420
|
+
type InferParam<Path extends string> = IsEmptyObject<InferParamPath<Path> & InferParamWildCard<Path>> extends true ? Record<string, any> | undefined : Prettify<InferParamPath<Path> & InferParamWildCard<Path>>;
|
|
421
421
|
type InferParamInput<Path extends string> = IsEmptyObject<InferParamPath<Path> & InferParamWildCard<Path>> extends true ? {
|
|
422
422
|
params?: Record<string, any>;
|
|
423
423
|
} : {
|
|
@@ -417,7 +417,7 @@ type InferInputMethod<Options extends EndpointOptions, Method = Options["method"
|
|
|
417
417
|
} : {
|
|
418
418
|
method: Method;
|
|
419
419
|
};
|
|
420
|
-
type InferParam<Path extends string> = IsEmptyObject<InferParamPath<Path> & InferParamWildCard<Path>> extends true ?
|
|
420
|
+
type InferParam<Path extends string> = IsEmptyObject<InferParamPath<Path> & InferParamWildCard<Path>> extends true ? Record<string, any> | undefined : Prettify<InferParamPath<Path> & InferParamWildCard<Path>>;
|
|
421
421
|
type InferParamInput<Path extends string> = IsEmptyObject<InferParamPath<Path> & InferParamWildCard<Path>> extends true ? {
|
|
422
422
|
params?: Record<string, any>;
|
|
423
423
|
} : {
|