final-form/react-final-form-arrays

Missing public type FieldArrayRenderProps for importing.

viktor-equinix opened this issue · 0 comments

Are you submitting a bug report or a feature request?

Feature request

What is the current behavior?

Missing public type FieldArrayRenderProps, instead of that now I need to import from private place which can be changed in any version

import type { FieldArrayRenderProps } from 'react-final-form-arrays/dist/types'; // <-- this
...
type FinalFormArrayFieldType = $PropertyType<FieldArrayRenderProps, 'fields'>

What is the expected behavior?

import type { FieldArrayRenderProps } from 'react-final-form-arrays'; // <-- expect this
...
type FinalFormArrayFieldType = $PropertyType<FieldArrayRenderProps, 'fields'>