mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Merge pull request #31614 from admosity/patch-1
feat(@types/mongodb): export `Condition`
This commit is contained in:
Vendored
+1
-1
@@ -999,7 +999,7 @@ export interface Collection<TSchema = Default> {
|
||||
watch(pipeline?: Object[], options?: ChangeStreamOptions & { startAtClusterTime?: Timestamp, session?: ClientSession }): ChangeStream;
|
||||
}
|
||||
|
||||
type Condition<T, P extends keyof T> = {
|
||||
export type Condition<T, P extends keyof T> = {
|
||||
$eq?: T[P];
|
||||
$gt?: T[P];
|
||||
$gte?: T[P];
|
||||
|
||||
Reference in New Issue
Block a user