diff --git a/types/test/color.ts b/types/test/color.ts index 870c1cc85..6e29ea03f 100644 --- a/types/test/color.ts +++ b/types/test/color.ts @@ -2,11 +2,10 @@ import Color from "colorjs.io/src/color"; // @ts-expect-error new Color(); -// @ts-expect-error -new Color("srgb", [1, 2, 3]); new Color("red"); new Color(new Color("red")); +new Color("srgb", [1, 2, 3]); new Color("srgb", [1, 2, 3], 1); const color = new Color("red");