fix: validate type
This commit is contained in:
@@ -88,7 +88,7 @@ export type ValidateOptions<T, S, F> = {
|
||||
t: TFunction
|
||||
} & F;
|
||||
|
||||
export type Validate<T = any, S = any, F = any> = (value?: T, options?: ValidateOptions<F, S, Partial<F>>) => string | true | Promise<string | true>;
|
||||
export type Validate<T = any, S = any, F = any> = (value: T, options: ValidateOptions<F, S, Partial<F>>) => string | true | Promise<string | true>;
|
||||
|
||||
export type OptionObject = {
|
||||
label: Record<string, string> | string
|
||||
|
||||
Reference in New Issue
Block a user