fix: add fetchpriority to image attrs (#10390)

Fixes #8099

---------

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/10403/head
Matt Kane 2 years ago committed by GitHub
parent 18315959c9
commit c15e021e22
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,5 @@
---
'svelte': patch
---
fix: add `fetchpriority` attribute type

@ -762,6 +762,7 @@ export interface HTMLImgAttributes extends HTMLAttributes<HTMLImageElement> {
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;
ismap?: boolean | undefined | null;
loading?: 'eager' | 'lazy' | undefined | null;

Loading…
Cancel
Save