diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index feb12923aa..15e21d2b43 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -999,7 +999,7 @@ export interface Collection { watch(pipeline?: Object[], options?: ChangeStreamOptions & { startAtClusterTime?: Timestamp, session?: ClientSession }): ChangeStream; } -type Condition = { +export type Condition = { $eq?: T[P]; $gt?: T[P]; $gte?: T[P];