diff --git a/desc.d.ts b/desc.d.ts deleted file mode 100644 index 7fd18f9..0000000 --- a/desc.d.ts +++ /dev/null @@ -1 +0,0 @@ -declare module "colorspaces" diff --git a/vendor/colorspaces.d.ts b/vendor/colorspaces.d.ts new file mode 100644 index 0000000..d813967 --- /dev/null +++ b/vendor/colorspaces.d.ts @@ -0,0 +1,8 @@ +declare module "colorspaces" { + export type Color = { + is_displayable(): boolean; + as(format: "hex"): string; + }; + + export function make_color(kind: "CIELUV" | "sRGB", value: number[]): Color; +}