Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ export interface FieldRenderProps {
// TODO: Make a diff of `FieldState` without all the functions
active: boolean
dirty: boolean
error: boolean
error: any
initial: boolean
invalid: boolean
pristine: boolean
submitError: boolean
submitError: any
submitFailed: boolean
submitSucceeded: boolean
touched: boolean
Expand Down
4 changes: 2 additions & 2 deletions src/types.js.flow
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export type FieldRenderProps = {
// TODO: Make a diff of `FieldState` without all the functions
active: boolean,
dirty: boolean,
error: boolean,
error: any,
initial: boolean,
invalid: boolean,
pristine: boolean,
submitError: boolean,
submitError: any,
submitFailed: boolean,
submitSucceeded: boolean,
touched: boolean,
Expand Down