HTMLImageElement#fetchPriority doesn't list allowed values #60940
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
⚙ Compilation target
es2022
⚙ Library
es2022, dom, dom.iterable
Missing / Incorrect Definition
HTMLImageElement#fetchPriority
is typed asstring
. However, according to MDN, possible values are:high
,low
,auto
Sample Code
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority
The text was updated successfully, but these errors were encountered: