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

fix(index.d.ts): fix typings in Merge stage #11132

Merged
merged 1 commit into from
Dec 23, 2021
Merged

fix(index.d.ts): fix typings in Merge stage #11132

merged 1 commit into from
Dec 23, 2021

Conversation

DavideViolante
Copy link
Contributor

Fixes #11109.
Thanks to @gabrie-allaigre

Correctly assign types of whenMatched case according to official docs:
https://docs.mongodb.com/manual/reference/operator/aggregation/merge/

Fix Merge pipeline types on whenMatched case.
@DavideViolante DavideViolante changed the title fix(index.d.ts): fix Merge pipeline types fix(index.d.ts): fix typings in Merge stage Dec 22, 2021
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 merged commit dbb7ed6 into Automattic:master Dec 23, 2021
@vkarpov15 vkarpov15 added this to the 6.1.4 milestone Dec 23, 2021
@DavideViolante DavideViolante deleted the patch-2 branch December 23, 2021 17:00
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.

[TypeScript] PipelineStage.Merge interface definition is wrong
2 participants