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

Missing public type FieldArrayRenderProps for importing.

Open viktor-equinix opened this issue 5 years ago • 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'>

viktor-equinix avatar Aug 21 '20 01:08 viktor-equinix