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

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

Open IgorRain opened this issue 1 year ago • 1 comments

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.

IgorRain avatar Feb 23 '24 14:02 IgorRain