Enable astro/tsconfigs/strictest in the shared package (#2836)

This commit is contained in:
Paweł Kuna
2026-08-08 01:27:03 +02:00
committed by GitHub
parent 16e1403bc8
commit e520b327c1
57 changed files with 147 additions and 116 deletions
+2 -2
View File
@@ -10,10 +10,10 @@ interface Props {
class?: string
}
const { title, as: TitleTag = 'h3', light, class: className } = Astro.props
const { title, as: TitleTag = 'h3', light, class: className }: Props = Astro.props
---
<div class:list={['card-header', light && 'card-header-light', className]}>
{title && <TitleTag class="card-title">{title}</TitleTag>}
{title && <TitleTag class:list={['card-title']}>{title}</TitleTag>}
<slot />
</div>