Skip to content

Commit 875f270

Browse files
committed
fix mongodb/mongodb.d.ts
1 parent 72b094e commit 875f270

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mongodb/mongodb.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ declare module "mongodb" {
255255

256256
// Documentation : http://mongodb.github.io/node-mongodb-native/api-generated/collection.html
257257
export interface Collection {
258-
new (db: Db, collectionName: string, pkFactory?: Object, options?: CollectionCreateOptions);
258+
new (db: Db, collectionName: string, pkFactory?: Object, options?: CollectionCreateOptions): Collection; // is this right?
259259

260260
insert(query: any, callback: (err: Error, result: any) => void): void;
261261
insert(query: any, options: { safe?: any; continueOnError?: boolean; keepGoing?: boolean; serializeFunctions?: boolean; }, callback: (err: Error, result: any) => void): void;

0 commit comments

Comments
 (0)