diff --git a/types/mongodb/index.d.ts b/types/mongodb/index.d.ts index 3657a3a651..230f593094 100644 --- a/types/mongodb/index.d.ts +++ b/types/mongodb/index.d.ts @@ -1848,9 +1848,9 @@ export type CommandCursorResult = object | null; /** http://mongodb.github.io/node-mongodb-native/3.1/api/CommandCursor.html */ export class CommandCursor extends Readable { /** http://mongodb.github.io/node-mongodb-native/3.1/api/CommandCursor.html#hasNext */ - hasNext(): Promise; + hasNext(): Promise; /** http://mongodb.github.io/node-mongodb-native/3.1/api/CommandCursor.html#hasNext */ - hasNext(callback: MongoCallback): void; + hasNext(callback: MongoCallback): void; /** http://mongodb.github.io/node-mongodb-native/3.1/api/CommandCursor.html#batchSize */ batchSize(value: number): CommandCursor; /** http://mongodb.github.io/node-mongodb-native/3.1/api/CommandCursor.html#clone */