From 39f3a8a3546b77a9a6d0df78bcf077fa15bfd445 Mon Sep 17 00:00:00 2001 From: Marc MacLeod <847542+marbemac@users.noreply.github.com> Date: Wed, 9 Aug 2023 17:02:55 -0500 Subject: [PATCH] fix: align class value with tailwind-merge --- src/index.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.d.ts b/src/index.d.ts index bc6715a..7a39ac9 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,3 +1,5 @@ +import type {ClassNameValue} from "tailwind-merge"; + import {TVConfig, TWMConfig} from "./config"; import {TVGeneratedScreens} from "./generated"; @@ -7,7 +9,7 @@ import {TVGeneratedScreens} from "./generated"; * ---------------------------------------- */ -export type ClassValue = string | string[] | null | undefined | ClassValue[]; +export type ClassValue = ClassNameValue; export type ClassProp = | {