Skip to content

HTMLImageElement#fetchPriority doesn't list allowed values #60940

@amakhrov

Description

@amakhrov

⚙ Compilation target

es2022

⚙ Library

es2022, dom, dom.iterable

Missing / Incorrect Definition

HTMLImageElement#fetchPriority is typed as string. However, according to MDN, possible values are: high, low, auto

Sample Code

imageEl.fetchPriority = 'high' // no autocompletion for the value

Documentation Link

https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: lib.d.tsThe issue relates to the different libraries shipped with TypeScriptHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions