mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
fix CollectionAggregationOptions.maxTimeMS (#16226)
`maxTimeMS` on `CollectionAggregationOptions` should be `number` not `boolean`
This commit is contained in:
committed by
Mohamed Hegazy
parent
7547cd219a
commit
e8d4865015
2
types/mongodb/index.d.ts
vendored
2
types/mongodb/index.d.ts
vendored
@@ -634,7 +634,7 @@ export interface CollectionAggregationOptions {
|
||||
allowDiskUse?: boolean;
|
||||
// specifies a cumulative time limit in milliseconds for processing operations
|
||||
// on the cursor. MongoDB interrupts the operation at the earliest following interrupt point.
|
||||
maxTimeMS?: boolean;
|
||||
maxTimeMS?: number;
|
||||
// Allow driver to bypass schema validation in MongoDB 3.2 or higher.
|
||||
bypassDocumentValidation?: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user