mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-08 16:40:30 +08:00
generate is not supposed to be a static function
This commit is contained in:
Vendored
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user