react-final-form-arrays icon indicating copy to clipboard operation
react-final-form-arrays copied to clipboard

Missing field *length* in flow type in *fields*

Open ViktorAksionov opened this issue 3 years ago • 0 comments

Due missing field length in fields by accessing it i get flow type error despite the fact that this field exists.

Are you submitting a bug report or a feature request?

Bug

What is the current behavior?

Missing flow type for a field length

in here:

export type FieldArrayRenderProps = {
  fields: {
   ...
    length: number,  // <<== this line need to be added
  },
  meta: Meta
}

What is the expected behavior?

Need to add missing type

What's your environment?

Latest version of Final Form Arrays

ViktorAksionov avatar May 31 '21 23:05 ViktorAksionov