diff --git a/packages/mongo/package.js b/packages/mongo/package.js index 7e8aecae0d..b6bb78b9ea 100644 --- a/packages/mongo/package.js +++ b/packages/mongo/package.js @@ -102,7 +102,9 @@ Package.onUse(function (api) { api.addFiles("remote_collection_driver.ts", "server"); api.addFiles("collection/collection.js", ["client", "server"]); api.addFiles("connection_options.ts", "server"); - // For zodern:types to pick up our published types + // For zodern:types to pick up our published types. + // Both the .d.ts file and package-types.json must be published + api.addAssets("mongo.d.ts", "server"); api.addAssets("package-types.json", "server"); });