Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
izica committed Jun 26, 2024
1 parent 7652f38 commit 922efc4
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion dist/hooks/useSearchParams.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { z } from "zod";
export declare const useSearchParams: <T extends Record<string, z.ZodType>>(config: (zod: typeof z) => T) => ({ [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; } | ((entry: Record<string, any>) => void))[];
import { setSearchParams } from "../helpers/setSearchParams";
export declare const useSearchParams: <T extends Record<string, z.ZodType>>(config: (zod: typeof z) => T) => [z.infer<z.ZodObject<T, "strip", z.ZodTypeAny, { [k in keyof z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>]: z.objectUtil.addQuestionMarks<z.baseObjectOutputType<T>, any>[k]; }, { [k_1 in keyof z.baseObjectInputType<T>]: z.baseObjectInputType<T>[k_1]; }>>, typeof setSearchParams];
//# sourceMappingURL=useSearchParams.d.ts.map
2 changes: 1 addition & 1 deletion dist/hooks/useSearchParams.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/index.cjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 922efc4

Please sign in to comment.