Skip to content

Commit

Permalink
fix #68: Update Cursor to use new MongoDB client cursor type
Browse files Browse the repository at this point in the history
  • Loading branch information
notheotherben committed Feb 11, 2017
1 parent 9161b8a commit 104d967
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Cursor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class Cursor<TDocument extends { _id?: any }, TInstance> {
* @param {MongoDB.Cursor} cursor The MongoDB native cursor object to be wrapped
* @constructor
*/
constructor(private model: Model<TDocument, TInstance>, private conditions: any, public cursor: MongoDB.Cursor) {
constructor(private model: Model<TDocument, TInstance>, private conditions: any, public cursor: MongoDB.Cursor<TDocument>) {

}

Expand Down

0 comments on commit 104d967

Please sign in to comment.