generate is not supposed to be a static function

This commit is contained in:
Krueger, Brandon
2015-10-21 08:06:27 -05:00
parent 394deb7d9a
commit 8bf5ea7eb0
+1 -1
View File
@@ -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