Skip to content

Commit

Permalink
chore(mod): include Collection on exported members (#25)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
pandres95 authored Mar 17, 2023
1 parent ee4ba58 commit 5d105a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod.ts
Original file line number Diff line number Diff line change
@@ -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";

0 comments on commit 5d105a4

Please sign in to comment.