mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-03-29 00:18:20 +08:00
Add "toString()" for ObjectID (#12463)
This commit is contained in:
committed by
Masahiro Wakame
parent
b006daa1c6
commit
f555feb4fc
2
mongodb/index.d.ts
vendored
2
mongodb/index.d.ts
vendored
@@ -426,6 +426,8 @@ export class ObjectID {
|
||||
getTimestamp(): Date;
|
||||
// Returns the ObjectID id as a 24 byte hex string representation
|
||||
toHexString(): string;
|
||||
// Returns the ObjectID id as a 24 byte hex string representation
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
// Class documentation : http://mongodb.github.io/node-mongodb-native/2.1/api/Binary.html
|
||||
|
||||
Reference in New Issue
Block a user