From 0849ffe42cc6da7fbeb22bd17a9ac90893753837 Mon Sep 17 00:00:00 2001 From: Clement Date: Tue, 21 May 2024 12:13:39 +0200 Subject: [PATCH] fix: type issue --- front/src/types.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/front/src/types.d.ts b/front/src/types.d.ts index ee2a0c5..03682a4 100644 --- a/front/src/types.d.ts +++ b/front/src/types.d.ts @@ -1,5 +1,5 @@ import type { AstroComponentFactory } from 'astro/runtime/server/index.js' -import type { HTMLAttributes, ImageMetadata } from 'astro/types' +import type { HTMLAttributes, ImageMetadata, HTMLInputTypeAttribute } from 'astro/types' export interface Post { /** A unique ID number that identifies a post. */ @@ -26,7 +26,7 @@ export interface Post { /** */ category?: Taxonomy /** */ - tags?: Taxonomy[] + tags?: Array /** */ author?: string @@ -167,6 +167,8 @@ export interface Input { label?: string autocomplete?: string placeholder?: string + class?: string + inputClass?: string } export interface Textarea {