diff --git a/examples/blog/src/components/HeaderLink.astro b/examples/blog/src/components/HeaderLink.astro index e8e2e103b455..3dd439be1af6 100644 --- a/examples/blog/src/components/HeaderLink.astro +++ b/examples/blog/src/components/HeaderLink.astro @@ -1,5 +1,7 @@ --- -export interface Props extends astroHTML.JSX.AnchorHTMLAttributes {} +import type { HTMLAttributes } from 'astro/types'; + +type Props = HTMLAttributes<'a'>; const { href, class: className, ...props } = Astro.props;