From fad07d1373069c9ab38c5e8be997321bc1fbe25b Mon Sep 17 00:00:00 2001 From: Filip Sobol Date: Tue, 3 Jun 2025 10:22:41 +0200 Subject: [PATCH] Use opaque string --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ae8328f..17a8892 100644 --- a/index.d.ts +++ b/index.d.ts @@ -1,5 +1,5 @@ export default function parse(color: string): { - space: 'rgb' | 'hsl' | 'hwb' | 'cmyk' | 'lab' | 'lch' | 'oklab' | 'oklch' | string; + space: 'rgb' | 'hsl' | 'hwb' | 'cmyk' | 'lab' | 'lch' | 'oklab' | 'oklch' | ({} & string); values: number[]; alpha: number; }