Skip to content

Commit

Permalink
fix: corrected the typing for the resetField function closes #3568
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Nov 6, 2021
1 parent 91155f1 commit 4e9460e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vee-validate/src/types.ts
Expand Up @@ -85,7 +85,7 @@ export interface PrivateFieldContext<TValue = unknown> {
checkedValue?: MaybeRef<TValue>;
uncheckedValue?: MaybeRef<TValue>;
checked?: Ref<boolean>;
resetField(state?: FieldState<TValue>): void;
resetField(state?: Partial<FieldState<TValue>>): void;
handleReset(): void;
validate(opts?: Partial<ValidationOptions>): Promise<ValidationResult>;
handleChange(e: Event | unknown, shouldValidate?: boolean): void;
Expand Down

0 comments on commit 4e9460e

Please sign in to comment.