mongodb-aggregation-dts

JSON →
library 0.1.2 ·javascript
verified Jun 7, 2026

Type definitions for MongoDB aggregation pipelines and operators not provided by the native MongoDB driver (0.1.2). Extends Collection#aggregate with full type info for pipeline stages and operators like $lookup, $group, $unwind, etc. Works with TypeScript 5.0+ and mongodb driver 5.0+. Ships bundled TS types. No diagnostics due to loose native types. Intended for editor intellisense only; will be archived when native support lands (track NODE-5863). Alternative to manual $project typing or generic casts.