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

Removes deprecation warning from collection.count, as it uses an undeprecated function internally. #331

Merged
merged 1 commit into from
Feb 5, 2021

Conversation

zkrising
Copy link
Contributor

Hi, another small issue in the .d.ts files - collection.count is marked as deprecated but according to monk docs (and from what I can see) this uses countDocuments internally, which is not deprecated.

@zkrising zkrising mentioned this pull request Jan 28, 2021
@mathieudutour mathieudutour merged commit 027ab43 into Automattic:master Feb 5, 2021
@zkrising zkrising deleted the definitely-typed-fix branch April 26, 2021 16:38
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