From 5d105a4ca930ddb05136d31e592af8fa44e97a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20Andr=C3=A9s=20Dorado=20Su=C3=A1rez?= Date: Fri, 17 Mar 2023 04:25:48 -0500 Subject: [PATCH] chore(mod): include Collection on exported members (#25) The Collection class should be an exposable class, so implementors of higher-order components (like templates, base repositories, and similar solutions) can implement them without struggling with typing issues. --- mod.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod.ts b/mod.ts index 58e7f24..be70a5a 100644 --- a/mod.ts +++ b/mod.ts @@ -1,3 +1,3 @@ export * from "./deps.ts"; -export { MongoClient } from "./client.ts"; +export { Collection, MongoClient } from "./client.ts"; export type { MongoClientConstructorOptions } from "./client.ts";