diff --git a/.changeset/four-kangaroos-develop.md b/.changeset/four-kangaroos-develop.md new file mode 100644 index 0000000000..f7e6bc1a49 --- /dev/null +++ b/.changeset/four-kangaroos-develop.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Lets TypeScript know about the "blocking" and "disabled" attributes of the `` element. diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 39cb40f61b..e8b1e5e473 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -837,10 +837,12 @@ declare namespace astroHTML.JSX { interface LinkHTMLAttributes extends HTMLAttributes { as?: string | undefined | null; + blocking?: 'render' | undefined | null; crossorigin?: boolean | string | undefined | null; + disabled?: boolean | undefined | null; + fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; href?: string | URL | undefined | null; hreflang?: string | undefined | null; - fetchpriority?: 'auto' | 'high' | 'low' | undefined | null; integrity?: string | undefined | null; media?: string | undefined | null; imagesrcset?: string | undefined | null;