summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.changeset/orange-badgers-fly.md5
-rw-r--r--packages/astro/astro-jsx.d.ts1
2 files changed, 6 insertions, 0 deletions
diff --git a/.changeset/orange-badgers-fly.md b/.changeset/orange-badgers-fly.md
new file mode 100644
index 000000000..e9f997ec3
--- /dev/null
+++ b/.changeset/orange-badgers-fly.md
@@ -0,0 +1,5 @@
+---
+'astro': patch
+---
+
+Fix missing `referrerpolicy` on ScriptHTMLAttributes
diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts
index 93888c826..a04d755ec 100644
--- a/packages/astro/astro-jsx.d.ts
+++ b/packages/astro/astro-jsx.d.ts
@@ -901,6 +901,7 @@ declare namespace astroHTML.JSX {
crossorigin?: string | undefined | null;
defer?: boolean | string | undefined | null;
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
+ referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
integrity?: string | undefined | null;
nomodule?: boolean | string | undefined | null;
nonce?: string | undefined | null;