final-form / react-final-form-arrays

A component for rendering and editing arrays 🏁 React Final Form
MIT License
204 stars 69 forks source link

`removeBatch` and `concat` are missing in type definitions #180

Open MrBlackRain opened 6 months ago

MrBlackRain commented 6 months ago

Are you submitting a bug report or a feature request?

bug report?

What is the current behavior?

There are two missing functions definitions in FieldArrayRenderProps interface removeBatch and concat (index.d.ts). This functions are defined in Final Form Arrays API. They are actually there at runtime, just "invisible" for TypeScript users.

What is the expected behavior?

Definitions in FieldArrayRenderProps should match Final Form Arrays API.

MrBlackRain commented 6 months ago

Both of these functions also never mentioned in the README.md. Is this on purpose?