final-form/react-final-form-arrays

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

ViktorAksionov opened this issue · 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