Skip to content

Commit

Permalink
Merge pull request #33 from Aeonrush/master
Browse files Browse the repository at this point in the history
Add missed TS definitions for setMachineID and getMachineID
  • Loading branch information
williamkapke authored Jun 26, 2020
2 parents d8227b2 + c4db929 commit adc38d2
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion objectid.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for bson-objectid 1.1.5
// Type definitions for bson-objectid 1.3.1
// Project: bson-objectid
// Definitions by: Marcel Ernst <https://www.marcel-ernst.de>
import { Buffer } from 'buffer';
Expand All @@ -12,6 +12,9 @@ declare class ObjectID {
static generate(): string;
static generate(time: number): string;
static toString():string;
static setMachineID(id: number): void;
static setMachineID(id: string): void;
static getMachineID(): number;

constructor();
constructor(time: number);
Expand Down

0 comments on commit adc38d2

Please sign in to comment.