Project Init

This commit is contained in:
Muluhabt
2026-05-29 15:23:46 +03:00
commit 2fbc557aac
67387 changed files with 6063341 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
import { FieldValues, Resolver } from 'react-hook-form';
import { Infer, Struct, validate } from 'superstruct';
export declare function superstructResolver<Input extends FieldValues, Context, Output>(schema: Struct<Input, any>, schemaOptions?: Parameters<typeof validate>[2], resolverOptions?: {
raw?: false;
}): Resolver<Input, Context, Infer<typeof schema>>;
export declare function superstructResolver<Input extends FieldValues, Context, Output>(schema: Struct<Input, any>, schemaOptions: Parameters<typeof validate>[2] | undefined, resolverOptions: {
raw: true;
}): Resolver<Input, Context, Input>;