From ed7f654bde67229a4f58004d04c63f17dad3942e Mon Sep 17 00:00:00 2001 From: Ugo Stephant Date: Mon, 13 Mar 2023 08:19:40 +0100 Subject: [PATCH] fix(core): better types --- packages/core/lib/colors/index.d.ts | 4 ++-- packages/core/lib/dom/index.d.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/core/lib/colors/index.d.ts b/packages/core/lib/colors/index.d.ts index eb4111ca7..b3f44aa17 100644 --- a/packages/core/lib/colors/index.d.ts +++ b/packages/core/lib/colors/index.d.ts @@ -1,6 +1,6 @@ -export const COLORS: Object; +export const COLORS: object; -export const COLOR_PARSERS: Array; +export const COLOR_PARSERS: Array; export function hsva2hsla({ h, s, v, a }: { h: number; diff --git a/packages/core/lib/dom/index.d.ts b/packages/core/lib/dom/index.d.ts index 01bb899bd..452e42f7f 100644 --- a/packages/core/lib/dom/index.d.ts +++ b/packages/core/lib/dom/index.d.ts @@ -1 +1 @@ -export function ensureNode(selectorOrNode: Node|String): Node|String; +export function ensureNode(selectorOrNode: Node|string): Node|string;