diff --git a/mongodb/index.d.ts b/mongodb/index.d.ts index 8355bf12c5..6df1ae0a6e 100644 --- a/mongodb/index.d.ts +++ b/mongodb/index.d.ts @@ -1134,7 +1134,6 @@ export interface Cursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#batchSize batchSize(value: number): Cursor; // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#clone - // https://github.com/christkv/mongodb-core/blob/2.0/lib/cursor.js#L333 clone(): Cursor; // still returns the same type // http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#close close(): Promise; @@ -1226,7 +1225,6 @@ export interface EndCallback { //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#~resultCallback export type AggregationCursorResult = any | void; -// TODO: change to generic version //http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html export interface AggregationCursor extends Readable { // http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize