Skip to content

Commit

Permalink
Removed types for generate method
Browse files Browse the repository at this point in the history
closes #38

Since 2.0.0 the `generate` method has been removed from the ObjectID
class, this updates the types to reflect that.

refs a518e352
  • Loading branch information
allouis committed Aug 25, 2021
1 parent d7d3c5f commit cad382e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions objectid.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,5 @@ declare interface ObjectIDCtor {
createFromHexString(hexString: string): ObjectID;
isValid(hexString: string): boolean;
isValid(ObjectID: ObjectID): boolean;
generate(): string;
generate(time: number): string;
toString(): string;
}

0 comments on commit cad382e

Please sign in to comment.