From edf47a7c30b378b28279b9298dd6387d6990cd3f Mon Sep 17 00:00:00 2001 From: mineejo Date: Fri, 24 Nov 2023 10:20:10 +0300 Subject: [PATCH] fix: export "is" functions --- color/is/mod.ts | 4 ++++ color/mod.ts | 2 ++ mod.ts | 3 ++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 color/is/mod.ts diff --git a/color/is/mod.ts b/color/is/mod.ts new file mode 100644 index 0000000..71a9422 --- /dev/null +++ b/color/is/mod.ts @@ -0,0 +1,4 @@ +// Copyright 2023 mineejo. All rights reserved. MIT license. + +export { isRgb } from "./isRgb.ts"; +export { isRgba } from "./isRgba.ts"; diff --git a/color/mod.ts b/color/mod.ts index 770c6b6..03948b3 100644 --- a/color/mod.ts +++ b/color/mod.ts @@ -2,5 +2,7 @@ export { rgbColorWheel } from "./rgb_color_wheel.ts"; +export * from "./is/mod.ts"; + export type { Rgb } from "./rgb.ts"; export type { Rgba } from "./rgba.ts"; diff --git a/mod.ts b/mod.ts index 7ada4bf..c86db61 100644 --- a/mod.ts +++ b/mod.ts @@ -12,5 +12,6 @@ export { AdvancedColor } from "./advanced_color.ts"; export { ColorComponent } from "./color_component.ts"; export * from "./color_effects/mod.ts"; +export * from "./color/is/mod.ts"; -export type * from "./color/mod.ts"; +export type { Rgb, Rgba } from "./color/mod.ts";