From 1ecd8af59fc166a316eb2cac7c74f64a8db7b362 Mon Sep 17 00:00:00 2001 From: upsiflu Date: Fri, 10 Jan 2025 01:13:56 +0100 Subject: [PATCH] refactor(ui): use terser type syntax --- front/src/components/ui/Layout.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/front/src/components/ui/Layout.vue b/front/src/components/ui/Layout.vue index 6061f9aca..e8faa3751 100644 --- a/front/src/components/ui/Layout.vue +++ b/front/src/components/ui/Layout.vue @@ -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