From eea14155aa612649bc969d806ec5df4295945c70 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Sat, 12 Apr 2025 18:28:44 +0200 Subject: [PATCH] fix(types): handle `ClassValue` in `ui` prop Resolves #3860 --- src/runtime/types/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/runtime/types/utils.ts b/src/runtime/types/utils.ts index d3f5b239..c436646a 100644 --- a/src/runtime/types/utils.ts +++ b/src/runtime/types/utils.ts @@ -1,4 +1,5 @@ import type { AcceptableValue as _AcceptableValue } from 'reka-ui' +import type { ClassValue } from 'tailwind-variants' import type { VNode } from 'vue' export interface TightMap { @@ -99,7 +100,7 @@ type ComponentVariants } type ComponentSlots }> = Id<{ - [K in keyof T['slots']]?: string + [K in keyof T['slots']]?: ClassValue }> type GetComponentAppConfig =