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.
1 parent c5fe1b4 commit d32cf13Copy full SHA for d32cf13
src/utils/base.ts
@@ -43,7 +43,7 @@ export function handleEden<T, E = unknown>(
43
*/
44
export function safeParse<T extends TSchema>(
45
checker: ReturnType<typeof TypeCompiler.Compile<T>>,
46
- value: unknown,
+ value: Partial<Static<T>>,
47
):
48
| { success: true; data: Static<T> }
49
| { success: false; errors: { message: string }[] } {
0 commit comments