fix CollectionAggregationOptions.maxTimeMS (#16226)

`maxTimeMS` on `CollectionAggregationOptions` should be `number` not `boolean`
This commit is contained in:
Paul Murray
2017-05-01 16:12:09 -04:00
committed by Mohamed Hegazy
parent 7547cd219a
commit e8d4865015

View File

@@ -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;
}