refactor(ui): use terser type syntax

This commit is contained in:
upsiflu 2025-01-10 01:13:56 +01:00
parent 9539e1af79
commit 1ecd8af59f
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ const props = defineProps<{
noWrap?: true,
} & { [P in "stack" | "grid" | "flex" | "columns" | "row" | "page"]?: true | string }
& { [C in "nav" | "aside" | "header" | "footer" | "main" | "label" | "form" | "h1" | "h2" | "h3" | "h4" | "h5"]?: true }
& { [G in 'no-gap' | 'gap-4' | 'gap-8' | 'gap-12' | 'gap-16' | 'gap-64' | 'gap-auto' ]?: true }
& { [G in 'no-gap' | `gap-${'4' | '8' | '12' | '16' | '32' | '64' | 'auto'}` ]?: true }
& (PastelProps | ColorProps | DefaultProps)
& RaisedProps
& VariantProps