Skip to content

Commit

Permalink
generate is not supposed to be a static function
Browse files Browse the repository at this point in the history
  • Loading branch information
Krueger, Brandon authored and Krueger, Brandon committed Oct 21, 2015
1 parent 394deb7 commit 8bf5ea7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mongodb/mongodb.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ declare module "mongodb" {

// Generate a 12 byte id string used in ObjectID's
// time - optional parameter allowing to pass in a second based timestamp
public static generate(time?: number): string;
public generate(time?: number): string;
}

// Class documentation : http://mongodb.github.io/node-mongodb-native/api-bson-generated/binary.html
Expand Down

0 comments on commit 8bf5ea7

Please sign in to comment.