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

types(model): add no-generic override for insertMany() with options #14152

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

vkarpov15
Copy link
Collaborator

Fix #13999

Summary

Quick fix to expand the fix for #13957 to also support passing plain InsertManyOptions without lean, rawResult, or ordered

Examples

@hasezoey hasezoey added the typescript Types or Types-test related issue / Pull Request label Dec 5, 2023
@vkarpov15 vkarpov15 added this to the 8.0.3 milestone Dec 5, 2023
@vkarpov15 vkarpov15 merged commit cc46cfb into master Dec 5, 2023
3 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-13999 branch December 5, 2023 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
typescript Types or Types-test related issue / Pull Request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

insertMany return type incompatible with document type
2 participants