Add missing fetchpriority
attribute to ImgHTMLAttributes
(#5433)
This commit is contained in:
parent
bbb329e65e
commit
936c1e411d
2 changed files with 9 additions and 0 deletions
5
.changeset/clever-queens-beam.md
Normal file
5
.changeset/clever-queens-beam.md
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Add missing `fetchpriority` attribute to img, link, script and iframe elements
|
4
packages/astro/astro-jsx.d.ts
vendored
4
packages/astro/astro-jsx.d.ts
vendored
|
@ -663,6 +663,7 @@ declare namespace astroHTML.JSX {
|
|||
allow?: string | undefined | null;
|
||||
allowfullscreen?: boolean | string | undefined | null;
|
||||
allowtransparency?: boolean | string | undefined | null;
|
||||
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
|
||||
/** @deprecated */
|
||||
frameborder?: number | string | undefined | null;
|
||||
height?: number | string | undefined | null;
|
||||
|
@ -686,6 +687,7 @@ declare namespace astroHTML.JSX {
|
|||
alt?: string | undefined | null;
|
||||
crossorigin?: 'anonymous' | 'use-credentials' | '' | undefined | null;
|
||||
decoding?: 'async' | 'auto' | 'sync' | undefined | null;
|
||||
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
|
||||
height?: number | string | undefined | null;
|
||||
loading?: 'eager' | 'lazy' | undefined | null;
|
||||
referrerpolicy?: HTMLAttributeReferrerPolicy | undefined | null;
|
||||
|
@ -784,6 +786,7 @@ declare namespace astroHTML.JSX {
|
|||
crossorigin?: boolean | string | 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;
|
||||
|
@ -893,6 +896,7 @@ declare namespace astroHTML.JSX {
|
|||
charset?: string | undefined | null;
|
||||
crossorigin?: string | undefined | null;
|
||||
defer?: boolean | string | undefined | null;
|
||||
fetchpriority?: 'auto' | 'high' | 'low' | undefined | null;
|
||||
integrity?: string | undefined | null;
|
||||
nomodule?: boolean | string | undefined | null;
|
||||
nonce?: string | undefined | null;
|
||||
|
|
Loading…
Reference in a new issue