[mongodb] Removal of unnecessary comments

This commit is contained in:
Hinell
2017-02-08 00:24:44 +03:00
parent 2b3f8e4111
commit bea40de37e

2
mongodb/index.d.ts vendored
View File

@@ -1134,7 +1134,6 @@ export interface Cursor<T> extends Readable {
// http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#batchSize
batchSize(value: number): Cursor<T>;
// 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<T>; // still returns the same type
// http://mongodb.github.io/node-mongodb-native/2.1/api/Cursor.html#close
close(): Promise<CursorResult>;
@@ -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<T> extends Readable {
// http://mongodb.github.io/node-mongodb-native/2.1/api/AggregationCursor.html#batchSize