diff --git a/src/card/src/Card.tsx b/src/card/src/Card.tsx index badeb0e3e..4ee914dc2 100644 --- a/src/card/src/Card.tsx +++ b/src/card/src/Card.tsx @@ -144,7 +144,7 @@ export default defineComponent({ 'n-card--hoverable': hoverable } ]} - style={this.cssVars as any} + style={this.cssVars as CSSProperties} > {$slots.cover ? ( <div class="n-card-cover">{renderSlot($slots, 'cover')}</div>