From 6f88597c36339a8c7760023f530293a2dceaf493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Torma?= Date: Mon, 25 Jul 2022 17:11:08 +0200 Subject: [PATCH] Added missing "loading" attribute for "IFrameHTMLAttributes" (#4044) * Add missing "loading" attr to iFrame * Add changeset * re-ordering attributes --- .changeset/rude-stingrays-fry.md | 5 +++++ packages/astro/astro-jsx.d.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/rude-stingrays-fry.md diff --git a/.changeset/rude-stingrays-fry.md b/.changeset/rude-stingrays-fry.md new file mode 100644 index 0000000000..53eb404775 --- /dev/null +++ b/.changeset/rude-stingrays-fry.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Added missing "loading" attribute to IFrameHTMLAttributes diff --git a/packages/astro/astro-jsx.d.ts b/packages/astro/astro-jsx.d.ts index 59ef899f2b..ccbb1833bf 100644 --- a/packages/astro/astro-jsx.d.ts +++ b/packages/astro/astro-jsx.d.ts @@ -666,6 +666,7 @@ declare namespace astroHTML.JSX { /** @deprecated */ frameborder?: number | string | undefined | null; height?: number | string | undefined | null; + loading?: 'eager' | 'lazy' | undefined | null; /** @deprecated */ marginheight?: number | string | undefined | null; /** @deprecated */ @@ -679,6 +680,7 @@ declare namespace astroHTML.JSX { src?: string | undefined | null; srcdoc?: string | undefined | null; width?: number | string | undefined | null; + } interface ImgHTMLAttributes extends HTMLAttributes {