From eed5f71d672a7a1374df22371d5ca296f49bdf85 Mon Sep 17 00:00:00 2001 From: Remco Haszing Date: Thu, 1 Apr 2021 13:48:53 +0200 Subject: [PATCH] Fix value types MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A mapping consistes of classnames mapped to a value checked its booliness to determine if the classnames should be added. These values may be anything, they’re not related to the allowed class values. --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ab0d0d3..5d721d9 100644 --- a/index.d.ts +++ b/index.d.ts @@ -9,7 +9,7 @@ // Marvin Hagemeister export type Value = string | number | boolean | undefined | null; -export type Mapping = { [key: string]: Value }; +export type Mapping = { [key: string]: any }; export type Argument = Value | Mapping | Argument[]; export function classNames(...args: Argument[]): string;