Skip to content

Commit

Permalink
Merge pull request #26594 from kjin/mongodb-t
Browse files Browse the repository at this point in the history
[mongodb] use T as type rather than value
  • Loading branch information
sandersn committed Jun 18, 2018
2 parents f833fc3 + 2bed737 commit da8f5de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/mongodb/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<U>(transform: (T) => U): Cursor<U>;
map<U>(transform: (document: 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 */
Expand Down

0 comments on commit da8f5de

Please sign in to comment.