fix: Check errors

Signed-off-by: Florian Bouillon <f.bouillon@aptatio.com>
This commit is contained in:
2023-10-04 17:23:54 +02:00
parent 9a70042506
commit 4a944f9e61
6 changed files with 35 additions and 25 deletions

View File

@@ -7,14 +7,14 @@ import Breadcrumb from 'components/global/Breadcrumb.astro'
export interface Props extends BaseProps {
link?: {
href: string
rel?: string
text?: string
target?: string
}
disabled?: string
rel?: string | undefined
text?: string | undefined
target?: string | undefined
} | undefined
disabled?: string | undefined
breadcrumb: Array<{
text: string
href?: string
href?: string | undefined
}>
}
---

View File

@@ -5,23 +5,23 @@ import IconPNG from '../assets/layouts/Base/favicon.png'
import '@fontsource-variable/lexend'
export interface Props {
siteName?: string
title?: string
description?: string
canonical?: string
image?: Array<typeof IconPNG>
siteName?: string | undefined
title?: string | undefined
description?: string | undefined
canonical?: string | undefined
image?: Array<typeof IconPNG> | undefined
twitter?: {
title?: string
card?: "summary" | "summary_large_image" | "app" | "player"
site?: string
creator?: string
}
title?: string | undefined
card?: "summary" | "summary_large_image" | "app" | "player" | undefined
site?: string | undefined
creator?: string | undefined
} | undefined
og?: {
title?: string
type?: string
description?: string
url?: string
}
title?: string | undefined
type?: string | undefined
description?: string | undefined
url?: string | undefined
} | undefined
}
const props = Astro.props