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 {