mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
mongodb.ObjectID has optional constructor string
This commit is contained in:
parent
c2b5a97965
commit
39daafa17e
2
mongodb/mongodb.d.ts
vendored
2
mongodb/mongodb.d.ts
vendored
@ -109,7 +109,7 @@ declare module "mongodb" {
|
||||
// Class documentation : http://mongodb.github.io/node-mongodb-native/api-bson-generated/objectid.html
|
||||
// Last update: doc. version 1.3.13 (28.08.2013)
|
||||
export class ObjectID {
|
||||
constructor (s: string);
|
||||
constructor (s?: string);
|
||||
|
||||
// Returns the ObjectID id as a 24 byte hex string representation
|
||||
public toHexString() : string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user