mirror of
https://github.com/tabler/tabler.git
synced 2026-08-29 13:21:29 +04:00
Enable astro/tsconfigs/strictest in the shared package (#2836)
This commit is contained in:
@@ -11,7 +11,7 @@ interface Props {
|
||||
[key: string]: unknown
|
||||
}
|
||||
|
||||
const { as: Element = 'div', size, class: className, ...rest } = Astro.props
|
||||
const { as: Element = 'div', size, class: className, ...rest }: Props = Astro.props
|
||||
---
|
||||
|
||||
<Element class:list={['card', size && `card-${size}`, className]} {...rest}>
|
||||
|
||||
Reference in New Issue
Block a user