Add types
SeanMcP opened this issue · comments
Sean McPherson commented
Add exported type interfaces for the Astro components.
import {HTMLAttributes} from 'astro/types';
type Props = HTMLAttributes<'svg'>;
Does it have to be an interface
? https://docs.astro.build/en/core-concepts/astro-components/#component-props
Sean McPherson commented
Fixed in #4