mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-23 11:42:36 +08:00
generate is not supposed to be a static function
This commit is contained in:
1 parent
394deb7d9a
commit
8bf5ea7eb0
1 file changed
+1
-1
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