From 71cca574f105c2c004f7992f361bb757a8148cb0 Mon Sep 17 00:00:00 2001 From: zkldi Date: Thu, 28 Jan 2021 12:33:03 +0000 Subject: [PATCH] Removes deprecation warning from collection.count, as it uses an undeprecated function internally. --- index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index a1ecc4d..3365147 100644 --- a/index.d.ts +++ b/index.d.ts @@ -144,8 +144,7 @@ declare module "monk" { ): void; /** - * http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#count - * @deprecated Use countDocuments or estimatedDocumentCount + * http://mongodb.github.io/node-mongodb-native/3.1/api/Collection.html#countDocuments */ count( query?: FilterQuery,