Revert validator `allValues` optional argument · final-form/final-form@78604ff

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 78604ff

authored

Revert validator allValues optional argument

1 parent 7912ea9 commit 78604ff

File tree

1 file changed

+

1

-

1

lines changed

1 file changed

+

1

-

1

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -136,7 +136,7 @@ export type Unsubscribe = () => void;

136136
137137

export type FieldValidator<FieldValue> = (

138138

value: FieldValue,

139-

allValues?: object,

139+

allValues: object,

140140

meta?: FieldState<FieldValue>

141141

) => any | Promise<any>

142142

export type GetFieldValidator<FieldValue> = () =>

0 commit comments

Comments

 (0)