Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

removeBatch and concat are missing in type definitions #180

Open
MrBlackRain opened this issue Feb 23, 2024 · 1 comment
Open

removeBatch and concat are missing in type definitions #180

MrBlackRain opened this issue Feb 23, 2024 · 1 comment

Comments

@MrBlackRain
Copy link

MrBlackRain commented Feb 23, 2024

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 MrBlackRain changed the title removeBatch and concat is missing in type definitions removeBatch and concat are missing in type definitions Feb 23, 2024
@MrBlackRain
Copy link
Author

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

@MrBlackRain MrBlackRain changed the title removeBatch and concat are missing in type definitions removeBatch and concat are missing in type definitions Feb 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant