Skip to content

fix(types): add insertMany array overload with options #13931

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

Merged
merged 1 commit into from
Oct 4, 2023

Conversation

t1bb4r
Copy link
Contributor

@t1bb4r t1bb4r commented Oct 4, 2023

Summary
This solves a typescript problem we are having with using options and insertMany, issue #13930. In this PR I have added an additional overload when inserting an array with options.

Examples
See the test case and bug report for examples

Copy link
Collaborator

@vkarpov15 vkarpov15 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

@vkarpov15 vkarpov15 added this to the 7.5.4 milestone Oct 4, 2023
@vkarpov15 vkarpov15 merged commit ef012b3 into Automattic:master Oct 4, 2023
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

Successfully merging this pull request may close these issues.

2 participants