From 871adec39a00f49a0b798ab262eeb47b7e8ed53f Mon Sep 17 00:00:00 2001 From: Tobias Lohse Date: Fri, 30 Jun 2023 18:21:19 -0500 Subject: [PATCH] fix type for random option --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index d7dd525..fccc626 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,7 +5,7 @@ declare namespace cuid2 { } export function init(options?: { - random?: number + random?: () => number counter?: () => number length?: number fingerprint?: string