Skip to content

Commit 4dca126

Browse files
committed
fix: Update MDN references and change types to Set<string> in generated definitions
1 parent 170165b commit 4dca126

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

baselines/dom.generated.d.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -9931,7 +9931,7 @@ interface GlobalEventHandlers {
99319931
* Fires immediately after the browser loads the object.
99329932
* @param ev The event.
99339933
*
9934-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
9934+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
99359935
*/
99369936
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
99379937
/**
@@ -10743,8 +10743,6 @@ interface HTMLDialogElement extends HTMLElement {
1074310743
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close)
1074410744
*/
1074510745
close(returnValue?: string): void;
10746-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/requestClose) */
10747-
requestClose(returnValue?: string): void;
1074810746
/**
1074910747
* Displays the dialog element.
1075010748
*
@@ -24469,7 +24467,7 @@ interface ViewTransition {
2446924467
readonly finished: Promise<void>;
2447024468
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) */
2447124469
readonly ready: Promise<void>;
24472-
types: ViewTransitionTypeSet;
24470+
types: Set<string>;
2447324471
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) */
2447424472
readonly updateCallbackDone: Promise<void>;
2447524473
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) */
@@ -29277,7 +29275,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;
2927729275
* Fires immediately after the browser loads the object.
2927829276
* @param ev The event.
2927929277
*
29280-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
29278+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
2928129279
*/
2928229280
declare var onload: ((this: Window, ev: Event) => any) | null;
2928329281
/**

baselines/ts5.5/dom.generated.d.ts

+3-5
Original file line numberDiff line numberDiff line change
@@ -9921,7 +9921,7 @@ interface GlobalEventHandlers {
99219921
* Fires immediately after the browser loads the object.
99229922
* @param ev The event.
99239923
*
9924-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
9924+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
99259925
*/
99269926
onload: ((this: GlobalEventHandlers, ev: Event) => any) | null;
99279927
/**
@@ -10731,8 +10731,6 @@ interface HTMLDialogElement extends HTMLElement {
1073110731
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/close)
1073210732
*/
1073310733
close(returnValue?: string): void;
10734-
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLDialogElement/requestClose) */
10735-
requestClose(returnValue?: string): void;
1073610734
/**
1073710735
* Displays the dialog element.
1073810736
*
@@ -24447,7 +24445,7 @@ interface ViewTransition {
2444724445
readonly finished: Promise<void>;
2444824446
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/ready) */
2444924447
readonly ready: Promise<void>;
24450-
types: ViewTransitionTypeSet;
24448+
types: Set<string>;
2445124449
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/updateCallbackDone) */
2445224450
readonly updateCallbackDone: Promise<void>;
2445324451
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ViewTransition/skipTransition) */
@@ -29255,7 +29253,7 @@ declare var onkeyup: ((this: Window, ev: KeyboardEvent) => any) | null;
2925529253
* Fires immediately after the browser loads the object.
2925629254
* @param ev The event.
2925729255
*
29258-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLElement/load_event)
29256+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/SVGElement/load_event)
2925929257
*/
2926029258
declare var onload: ((this: Window, ev: Event) => any) | null;
2926129259
/**

inputfiles/overridingTypes.jsonc

+10
Original file line numberDiff line numberDiff line change
@@ -3633,6 +3633,16 @@
36333633
}
36343634
}
36353635
}
3636+
},
3637+
"ViewTransition": {
3638+
"properties": {
3639+
"property": {
3640+
"types": {
3641+
"name": "types",
3642+
"overrideType": "Set<string>"
3643+
}
3644+
}
3645+
}
36363646
}
36373647
}
36383648
},

0 commit comments

Comments
 (0)