image icon indicating copy to clipboard operation
image copied to clipboard

`fetchpriority` does not exist in type `ImgHTMLAttributes`

Open stijns96 opened this issue 1 month ago • 1 comments

Add fetchpriority to ImgHTMLAttributes type

Object literal may only specify known properties, and 'fetchpriority' does not exist in type 'ImgHTMLAttributes'.ts-plugin(2353)
NuxtPicture.d.vue.ts(6, 5): The expected type comes from property 'imgAttrs' which is declared here on type '{ legacyFormat?: string | undefined; imgAttrs?: ImgHTMLAttributes | undefined; src?: string | undefined; format?: string | undefined; quality?: string | number | undefined; ... 13 more ...; onError?: ((payload: string | Event) => any) | undefined; } & VNodeProps & AllowedComponentProps & ComponentCustomProps'

stijns96 avatar Nov 11 '25 09:11 stijns96

Linking an upstream issue which will resolve this (has been merged and is now pending a release).

https://github.com/vuejs/core/pull/13370

DamianGlowala avatar Nov 17 '25 20:11 DamianGlowala