mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-03 06:17:04 +00:00
Merge pull request #26505 from dobesv/patch-1
mongodb Update generic type of Cursor.map
This commit is contained in:
Vendored
+1
-1
@@ -1252,7 +1252,7 @@ export class Cursor<T = Default> extends Readable {
|
||||
/** http://mongodb.github.io/node-mongodb-native/3.0/api/Cursor.html#limit */
|
||||
limit(value: number): Cursor<T>;
|
||||
/** http://mongodb.github.io/node-mongodb-native/3.0/api/Cursor.html#map */
|
||||
map(transform: Function): Cursor<T>;
|
||||
map<U>(transform: (T) => U): Cursor<U>;
|
||||
/** http://mongodb.github.io/node-mongodb-native/3.0/api/Cursor.html#max */
|
||||
max(max: number): Cursor<T>;
|
||||
/** http://mongodb.github.io/node-mongodb-native/3.0/api/Cursor.html#maxAwaitTimeMS */
|
||||
|
||||
Reference in New Issue
Block a user