Skip to content

Commit

Permalink
Merge pull request #60 from MrLoh/patch-1
Browse files Browse the repository at this point in the history
fix type for random option
  • Loading branch information
ericelliott authored Aug 8, 2023
2 parents afc73f4 + 871adec commit 4dfcf63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ declare namespace cuid2 {
}

export function init(options?: {
random?: number
random?: () => number
counter?: () => number
length?: number
fingerprint?: string
Expand Down

0 comments on commit 4dfcf63

Please sign in to comment.