Skip to content

Commit f612efb

Browse files
committed
- Fix to mongodb.d.ts
1 parent c864aed commit f612efb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mongodb.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,14 +239,14 @@ declare module "mongodb" {
239239
rewind() : Cursor;
240240
toArray(callback: (err: any, results: any[]) => any) : void;
241241
each(callback: (err: Error, item: any) => void) : void;
242-
count(callback: (err: any, count: Number) => void) : void;
242+
count(callback: (err: any, count: number) => void) : void;
243243

244244
sort(keyOrList : any, callback? : (err, result) => void): Cursor;
245245
sort(keyOrList : String, direction : any, callback? : (err, result) => void): Cursor;
246246

247-
limit(limit: Number, callback?: (err, result) => void): Cursor;
247+
limit(limit: number, callback?: (err, result) => void): Cursor;
248248
setReadPreference(readPreferences, tags, callback?): Cursor;
249-
skip(skip: Number, callback?: (err, result) => void): Cursor;
249+
skip(skip: number, callback?: (err, result) => void): Cursor;
250250
batchSize(batchSize, callback: (err, result) => void): Cursor;
251251

252252
nextObject(callback: (err:any, doc: any) => void);

0 commit comments

Comments
 (0)