From 4c5a81b0e4a50cf0305eef497fd7ff51db4c91e3 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..61b7be1 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -1,3 +1,5 @@ +import type {ClassNameValue as ClassValue} 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}; export type ClassProp = | {