Skip to content

Commit

Permalink
fix: add fetchpriority to image attrs (#10390)
Browse files Browse the repository at this point in the history
Fixes #8099

---------

Co-authored-by: Simon H <[email protected]>
  • Loading branch information
ascorbic and dummdidumm authored Feb 5, 2024
1 parent 1831595 commit c15e021
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/made-this-up.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'svelte': patch
---

fix: add `fetchpriority` attribute type
1 change: 1 addition & 0 deletions packages/svelte/elements.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c15e021

Please sign in to comment.