Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11439,7 +11439,7 @@ interface HTMLImageElement extends HTMLElement {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
decoding: "async" | "sync" | "auto";
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
fetchPriority: string;
fetchPriority: "high" | "low" | "auto";
/**
* Sets or retrieves the height of the object.
*
Expand Down Expand Up @@ -11958,7 +11958,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */
disabled: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
fetchPriority: string;
fetchPriority: "high" | "low" | "auto";
/**
* Sets or retrieves a destination URL or an anchor point.
*
Expand Down Expand Up @@ -13004,7 +13004,7 @@ interface HTMLScriptElement extends HTMLElement {
*/
event: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */
fetchPriority: string;
fetchPriority: "high" | "low" | "auto";
/**
* Sets or retrieves the object that is bound to the event script.
* @deprecated
Expand Down
6 changes: 3 additions & 3 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11425,7 +11425,7 @@ interface HTMLImageElement extends HTMLElement {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/decoding) */
decoding: "async" | "sync" | "auto";
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLImageElement/fetchPriority) */
fetchPriority: string;
fetchPriority: "high" | "low" | "auto";
/**
* Sets or retrieves the height of the object.
*
Expand Down Expand Up @@ -11943,7 +11943,7 @@ interface HTMLLinkElement extends HTMLElement, LinkStyle {
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/disabled) */
disabled: boolean;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLLinkElement/fetchPriority) */
fetchPriority: string;
fetchPriority: "high" | "low" | "auto";
/**
* Sets or retrieves a destination URL or an anchor point.
*
Expand Down Expand Up @@ -12985,7 +12985,7 @@ interface HTMLScriptElement extends HTMLElement {
*/
event: string;
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLScriptElement/fetchPriority) */
fetchPriority: string;
fetchPriority: "high" | "low" | "auto";
/**
* Sets or retrieves the object that is bound to the event script.
* @deprecated
Expand Down
27 changes: 27 additions & 0 deletions inputfiles/overridingTypes.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -3609,6 +3609,33 @@
}
}
}
},
"HTMLImageElement": {
"properties": {
"property": {
"fetchPriority": {
"overrideType": "\"high\" | \"low\" | \"auto\""
}
}
}
},
"HTMLLinkElement": {
"properties": {
"property": {
"fetchPriority": {
"overrideType": "\"high\" | \"low\" | \"auto\""
}
}
}
},
"HTMLScriptElement": {
"properties": {
"property": {
"fetchPriority": {
"overrideType": "\"high\" | \"low\" | \"auto\""
}
}
}
}
}
},
Expand Down
Loading