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
+1 -1
View File
@@ -19,4 +19,4 @@ const { photo, background, ratio, class: className } = Astro.props
const src = `./static/photos/${photo.file}`
---
<!-- Photo -->{background ? <div class:list={className} style={`background-image: url(${src})`} /> : ratio ? <div class:list={['img-responsive', `img-responsive-${ratio}`, className]} style={`background-image: url(${src})`} /> : <img src={src} class:list={className} alt={photo.title} />}
<!-- Photo -->{background ? <div class:list={[className]} style={`background-image: url(${src})`} /> : ratio ? <div class:list={['img-responsive', `img-responsive-${ratio}`, className]} style={`background-image: url(${src})`} /> : <img src={src} class:list={[className]} alt={photo.title} />}