Skip to content

Commit 60cb267

Browse files
committed
fix: drop unused HasRequiredInputKeys export
Knip --strict failed CI on an exported type with no consumers.
1 parent 9c3fdd5 commit 60cb267

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

packages/better-call/src/types.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import type {
2-
HasRequiredKeys,
32
InferParamPath,
43
InferParamWildCard,
54
IsEmptyObject,
@@ -206,16 +205,3 @@ export type InputContext<
206205
path?: string;
207206
context?: Record<string, any>;
208207
};
209-
210-
/**
211-
* Check if the InputContext has required keys.
212-
* Body and Query are already-resolved plain types.
213-
*/
214-
export type HasRequiredInputKeys<
215-
Path extends string,
216-
M,
217-
Body,
218-
Query,
219-
ReqHeaders extends boolean,
220-
ReqRequest extends boolean,
221-
> = HasRequiredKeys<InputContext<Path, M, Body, Query, ReqHeaders, ReqRequest>>;

0 commit comments

Comments
 (0)