From 9e1858847b61531236eb0d5f9a23b51c82002d22 Mon Sep 17 00:00:00 2001 From: Louca Dufault <40028187+loucadufault@users.noreply.github.com> Date: Thu, 6 Jan 2022 23:26:39 -0500 Subject: [PATCH] new keyword for constructor --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 0a560f1..bb38578 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,7 +7,7 @@ const DEFAULT_COLOR_FORMAT = "hex"; const DEFAULT_IS_RAW = false; -const encoder = UuidEncoder("base10"); +const encoder = new UuidEncoder("base10"); type SupportedColorNotations = "hex" | "rgb" | "hsl";