diff --git a/.changeset/made-this-up.md b/.changeset/made-this-up.md new file mode 100644 index 000000000000..1d00ee570fc4 --- /dev/null +++ b/.changeset/made-this-up.md @@ -0,0 +1,5 @@ +--- +'svelte': patch +--- + +fix: add `fetchpriority` attribute type diff --git a/packages/svelte/elements.d.ts b/packages/svelte/elements.d.ts index 5c01ef997913..60ab0823cebb 100644 --- a/packages/svelte/elements.d.ts +++ b/packages/svelte/elements.d.ts @@ -762,6 +762,7 @@ export interface HTMLImgAttributes extends HTMLAttributes { 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;