summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/four-kangaroos-develop.md5
-rw-r--r--packages/astro/astro-jsx.d.ts4
2 files changed, 8 insertions, 1 deletions
diff --git a/.changeset/four-kangaroos-develop.md b/.changeset/four-kangaroos-develop.md
new file mode 100644
index 000000000..f7e6bc1a4
--- /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 `<link>` element.
diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts
index 39cb40f61..e8b1e5e47 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;