Skip to content

Commit c297bc6

Browse files
committed
Cleaned up the overload of the toString() method on the MUUID interface to work with MongoDB driver V4 & V5
1 parent 2f41bab commit c297bc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/index.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ export interface MUUID extends Binary {
1010
* "B" for 32 digits separated by hyphens, enclosed in braces, e.g. {00000000-0000-0000-0000-000000000000}; or
1111
* "P" for 32 digits separated by hyphens, enclosed in parentheses, e.g. (00000000-0000-0000-0000-000000000000)
1212
*/
13+
toString(format?: "utf8" | "utf-8" | "base64" | "hex"): string;
1314
toString(format?: UUIDFormat): string;
1415
}
1516
export type Mode = {

0 commit comments

Comments
 (0)