Skip to content

Commit 24698dd

Browse files
committed
Revert dom.generated.d.ts and fix duplicate declarations
1 parent dd466ae commit 24698dd

File tree

1 file changed

+96
-116
lines changed

1 file changed

+96
-116
lines changed

src/lib/dom.generated.d.ts

Lines changed: 96 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,25 +4230,20 @@ interface HTMLBodyElement extends HTMLElement {
42304230
bgProperties: string;
42314231
link: any;
42324232
noWrap: boolean;
4233-
onafterprint(this: HTMLBodyElement, ev: Event): any;
4234-
onbeforeprint(this: HTMLBodyElement, ev: Event): any;
4235-
onbeforeunload(this: HTMLBodyElement, ev: BeforeUnloadEvent): any;
4236-
onblur(this: HTMLBodyElement, ev: FocusEvent): any;
4237-
onerror(this: HTMLBodyElement, ev: ErrorEvent): any;
4238-
onfocus(this: HTMLBodyElement, ev: FocusEvent): any;
4239-
onhashchange(this: HTMLBodyElement, ev: HashChangeEvent): any;
4240-
onload(this: HTMLBodyElement, ev: Event): any;
4241-
onmessage(this: HTMLBodyElement, ev: MessageEvent): any;
4242-
onoffline(this: HTMLBodyElement, ev: Event): any;
4243-
ononline(this: HTMLBodyElement, ev: Event): any;
4244-
onorientationchange(this: HTMLBodyElement, ev: Event): any;
4245-
onpagehide(this: HTMLBodyElement, ev: PageTransitionEvent): any;
4246-
onpageshow(this: HTMLBodyElement, ev: PageTransitionEvent): any;
4247-
onpopstate(this: HTMLBodyElement, ev: PopStateEvent): any;
4248-
onresize(this: HTMLBodyElement, ev: UIEvent): any;
4249-
onscroll(this: HTMLBodyElement, ev: UIEvent): any;
4250-
onstorage(this: HTMLBodyElement, ev: StorageEvent): any;
4251-
onunload(this: HTMLBodyElement, ev: Event): any;
4233+
onafterprint: (this: HTMLBodyElement, ev: Event) => any;
4234+
onbeforeprint: (this: HTMLBodyElement, ev: Event) => any;
4235+
onbeforeunload: (this: HTMLBodyElement, ev: BeforeUnloadEvent) => any;
4236+
onhashchange: (this: HTMLBodyElement, ev: HashChangeEvent) => any;
4237+
onmessage: (this: HTMLBodyElement, ev: MessageEvent) => any;
4238+
onoffline: (this: HTMLBodyElement, ev: Event) => any;
4239+
ononline: (this: HTMLBodyElement, ev: Event) => any;
4240+
onorientationchange: (this: HTMLBodyElement, ev: Event) => any;
4241+
onpagehide: (this: HTMLBodyElement, ev: PageTransitionEvent) => any;
4242+
onpageshow: (this: HTMLBodyElement, ev: PageTransitionEvent) => any;
4243+
onpopstate: (this: HTMLBodyElement, ev: PopStateEvent) => any;
4244+
onresize: (this: HTMLBodyElement, ev: UIEvent) => any;
4245+
onstorage: (this: HTMLBodyElement, ev: StorageEvent) => any;
4246+
onunload: (this: HTMLBodyElement, ev: Event) => any;
42524247
text: any;
42534248
vLink: any;
42544249
addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, useCapture?: boolean): void;
@@ -4565,73 +4560,73 @@ interface HTMLElement extends Element {
45654560
readonly offsetParent: Element;
45664561
readonly offsetTop: number;
45674562
readonly offsetWidth: number;
4568-
onabort(this: HTMLElement, ev: UIEvent): any;
4569-
onactivate(this: HTMLElement, ev: UIEvent): any;
4570-
onbeforeactivate(this: HTMLElement, ev: UIEvent): any;
4571-
onbeforecopy(this: HTMLElement, ev: ClipboardEvent): any;
4572-
onbeforecut(this: HTMLElement, ev: ClipboardEvent): any;
4573-
onbeforedeactivate(this: HTMLElement, ev: UIEvent): any;
4574-
onbeforepaste(this: HTMLElement, ev: ClipboardEvent): any;
4575-
onblur(this: HTMLElement, ev: FocusEvent): any;
4576-
oncanplay(this: HTMLElement, ev: Event): any;
4577-
oncanplaythrough(this: HTMLElement, ev: Event): any;
4578-
onchange(this: HTMLElement, ev: Event): any;
4579-
onclick(this: HTMLElement, ev: MouseEvent): any;
4580-
oncontextmenu(this: HTMLElement, ev: PointerEvent): any;
4581-
oncopy(this: HTMLElement, ev: ClipboardEvent): any;
4582-
oncuechange(this: HTMLElement, ev: Event): any;
4583-
oncut(this: HTMLElement, ev: ClipboardEvent): any;
4584-
ondblclick(this: HTMLElement, ev: MouseEvent): any;
4585-
ondeactivate(this: HTMLElement, ev: UIEvent): any;
4586-
ondrag(this: HTMLElement, ev: DragEvent): any;
4587-
ondragend(this: HTMLElement, ev: DragEvent): any;
4588-
ondragenter(this: HTMLElement, ev: DragEvent): any;
4589-
ondragleave(this: HTMLElement, ev: DragEvent): any;
4590-
ondragover(this: HTMLElement, ev: DragEvent): any;
4591-
ondragstart(this: HTMLElement, ev: DragEvent): any;
4592-
ondrop(this: HTMLElement, ev: DragEvent): any;
4593-
ondurationchange(this: HTMLElement, ev: Event): any;
4594-
onemptied(this: HTMLElement, ev: Event): any;
4595-
onended(this: HTMLElement, ev: MediaStreamErrorEvent): any;
4596-
onerror(this: HTMLElement, ev: ErrorEvent): any;
4597-
onfocus(this: HTMLElement, ev: FocusEvent): any;
4598-
oninput(this: HTMLElement, ev: Event): any;
4599-
oninvalid(this: HTMLElement, ev: Event): any;
4600-
onkeydown(this: HTMLElement, ev: KeyboardEvent): any;
4601-
onkeypress(this: HTMLElement, ev: KeyboardEvent): any;
4602-
onkeyup(this: HTMLElement, ev: KeyboardEvent): any;
4603-
onload(this: HTMLElement, ev: Event): any;
4604-
onloadeddata(this: HTMLElement, ev: Event): any;
4605-
onloadedmetadata(this: HTMLElement, ev: Event): any;
4606-
onloadstart(this: HTMLElement, ev: Event): any;
4607-
onmousedown(this: HTMLElement, ev: MouseEvent): any;
4608-
onmouseenter(this: HTMLElement, ev: MouseEvent): any;
4609-
onmouseleave(this: HTMLElement, ev: MouseEvent): any;
4610-
onmousemove(this: HTMLElement, ev: MouseEvent): any;
4611-
onmouseout(this: HTMLElement, ev: MouseEvent): any;
4612-
onmouseover(this: HTMLElement, ev: MouseEvent): any;
4613-
onmouseup(this: HTMLElement, ev: MouseEvent): any;
4614-
onmousewheel(this: HTMLElement, ev: WheelEvent): any;
4615-
onmscontentzoom(this: HTMLElement, ev: UIEvent): any;
4616-
onmsmanipulationstatechanged(this: HTMLElement, ev: MSManipulationEvent): any;
4617-
onpaste(this: HTMLElement, ev: ClipboardEvent): any;
4618-
onpause(this: HTMLElement, ev: Event): any;
4619-
onplay(this: HTMLElement, ev: Event): any;
4620-
onplaying(this: HTMLElement, ev: Event): any;
4621-
onprogress(this: HTMLElement, ev: ProgressEvent): any;
4622-
onratechange(this: HTMLElement, ev: Event): any;
4623-
onreset(this: HTMLElement, ev: Event): any;
4624-
onscroll(this: HTMLElement, ev: UIEvent): any;
4625-
onseeked(this: HTMLElement, ev: Event): any;
4626-
onseeking(this: HTMLElement, ev: Event): any;
4627-
onselect(this: HTMLElement, ev: UIEvent): any;
4628-
onselectstart(this: HTMLElement, ev: Event): any;
4629-
onstalled(this: HTMLElement, ev: Event): any;
4630-
onsubmit(this: HTMLElement, ev: Event): any;
4631-
onsuspend(this: HTMLElement, ev: Event): any;
4632-
ontimeupdate(this: HTMLElement, ev: Event): any;
4633-
onvolumechange(this: HTMLElement, ev: Event): any;
4634-
onwaiting(this: HTMLElement, ev: Event): any;
4563+
onabort: (this: HTMLElement, ev: UIEvent) => any;
4564+
onactivate: (this: HTMLElement, ev: UIEvent) => any;
4565+
onbeforeactivate: (this: HTMLElement, ev: UIEvent) => any;
4566+
onbeforecopy: (this: HTMLElement, ev: ClipboardEvent) => any;
4567+
onbeforecut: (this: HTMLElement, ev: ClipboardEvent) => any;
4568+
onbeforedeactivate: (this: HTMLElement, ev: UIEvent) => any;
4569+
onbeforepaste: (this: HTMLElement, ev: ClipboardEvent) => any;
4570+
onblur: (this: HTMLElement, ev: FocusEvent) => any;
4571+
oncanplay: (this: HTMLElement, ev: Event) => any;
4572+
oncanplaythrough: (this: HTMLElement, ev: Event) => any;
4573+
onchange: (this: HTMLElement, ev: Event) => any;
4574+
onclick: (this: HTMLElement, ev: MouseEvent) => any;
4575+
oncontextmenu: (this: HTMLElement, ev: PointerEvent) => any;
4576+
oncopy: (this: HTMLElement, ev: ClipboardEvent) => any;
4577+
oncuechange: (this: HTMLElement, ev: Event) => any;
4578+
oncut: (this: HTMLElement, ev: ClipboardEvent) => any;
4579+
ondblclick: (this: HTMLElement, ev: MouseEvent) => any;
4580+
ondeactivate: (this: HTMLElement, ev: UIEvent) => any;
4581+
ondrag: (this: HTMLElement, ev: DragEvent) => any;
4582+
ondragend: (this: HTMLElement, ev: DragEvent) => any;
4583+
ondragenter: (this: HTMLElement, ev: DragEvent) => any;
4584+
ondragleave: (this: HTMLElement, ev: DragEvent) => any;
4585+
ondragover: (this: HTMLElement, ev: DragEvent) => any;
4586+
ondragstart: (this: HTMLElement, ev: DragEvent) => any;
4587+
ondrop: (this: HTMLElement, ev: DragEvent) => any;
4588+
ondurationchange: (this: HTMLElement, ev: Event) => any;
4589+
onemptied: (this: HTMLElement, ev: Event) => any;
4590+
onended: (this: HTMLElement, ev: MediaStreamErrorEvent) => any;
4591+
onerror: (this: HTMLElement, ev: ErrorEvent) => any;
4592+
onfocus: (this: HTMLElement, ev: FocusEvent) => any;
4593+
oninput: (this: HTMLElement, ev: Event) => any;
4594+
oninvalid: (this: HTMLElement, ev: Event) => any;
4595+
onkeydown: (this: HTMLElement, ev: KeyboardEvent) => any;
4596+
onkeypress: (this: HTMLElement, ev: KeyboardEvent) => any;
4597+
onkeyup: (this: HTMLElement, ev: KeyboardEvent) => any;
4598+
onload: (this: HTMLElement, ev: Event) => any;
4599+
onloadeddata: (this: HTMLElement, ev: Event) => any;
4600+
onloadedmetadata: (this: HTMLElement, ev: Event) => any;
4601+
onloadstart: (this: HTMLElement, ev: Event) => any;
4602+
onmousedown: (this: HTMLElement, ev: MouseEvent) => any;
4603+
onmouseenter: (this: HTMLElement, ev: MouseEvent) => any;
4604+
onmouseleave: (this: HTMLElement, ev: MouseEvent) => any;
4605+
onmousemove: (this: HTMLElement, ev: MouseEvent) => any;
4606+
onmouseout: (this: HTMLElement, ev: MouseEvent) => any;
4607+
onmouseover: (this: HTMLElement, ev: MouseEvent) => any;
4608+
onmouseup: (this: HTMLElement, ev: MouseEvent) => any;
4609+
onmousewheel: (this: HTMLElement, ev: WheelEvent) => any;
4610+
onmscontentzoom: (this: HTMLElement, ev: UIEvent) => any;
4611+
onmsmanipulationstatechanged: (this: HTMLElement, ev: MSManipulationEvent) => any;
4612+
onpaste: (this: HTMLElement, ev: ClipboardEvent) => any;
4613+
onpause: (this: HTMLElement, ev: Event) => any;
4614+
onplay: (this: HTMLElement, ev: Event) => any;
4615+
onplaying: (this: HTMLElement, ev: Event) => any;
4616+
onprogress: (this: HTMLElement, ev: ProgressEvent) => any;
4617+
onratechange: (this: HTMLElement, ev: Event) => any;
4618+
onreset: (this: HTMLElement, ev: Event) => any;
4619+
onscroll: (this: HTMLElement, ev: UIEvent) => any;
4620+
onseeked: (this: HTMLElement, ev: Event) => any;
4621+
onseeking: (this: HTMLElement, ev: Event) => any;
4622+
onselect: (this: HTMLElement, ev: UIEvent) => any;
4623+
onselectstart: (this: HTMLElement, ev: Event) => any;
4624+
onstalled: (this: HTMLElement, ev: Event) => any;
4625+
onsubmit: (this: HTMLElement, ev: Event) => any;
4626+
onsuspend: (this: HTMLElement, ev: Event) => any;
4627+
ontimeupdate: (this: HTMLElement, ev: Event) => any;
4628+
onvolumechange: (this: HTMLElement, ev: Event) => any;
4629+
onwaiting: (this: HTMLElement, ev: Event) => any;
46354630
outerText: string;
46364631
spellcheck: boolean;
46374632
readonly style: CSSStyleDeclaration;
@@ -4901,10 +4896,6 @@ interface HTMLFrameElement extends HTMLElement, GetSVGDocument {
49014896
* Sets or retrieves whether the user can resize the frame.
49024897
*/
49034898
noResize: boolean;
4904-
/**
4905-
* Raised when the object has been completely received from the server.
4906-
*/
4907-
onload(this: HTMLFrameElement, ev: Event): any;
49084899
/**
49094900
* Sets or retrieves whether the frame can be scrolled.
49104901
*/
@@ -4967,31 +4958,23 @@ interface HTMLFrameSetElement extends HTMLElement {
49674958
*/
49684959
frameSpacing: any;
49694960
name: string;
4970-
onafterprint(this: HTMLFrameSetElement, ev: Event): any;
4971-
onbeforeprint(this: HTMLFrameSetElement, ev: Event): any;
4972-
onbeforeunload(this: HTMLFrameSetElement, ev: BeforeUnloadEvent): any;
4973-
/**
4974-
* Fires when the object loses the input focus.
4975-
*/
4976-
onblur(this: HTMLFrameSetElement, ev: FocusEvent): any;
4977-
onerror(this: HTMLFrameSetElement, ev: ErrorEvent): any;
4961+
onafterprint: (this: HTMLFrameSetElement, ev: Event) => any;
4962+
onbeforeprint: (this: HTMLFrameSetElement, ev: Event) => any;
4963+
onbeforeunload: (this: HTMLFrameSetElement, ev: BeforeUnloadEvent) => any;
49784964
/**
49794965
* Fires when the object receives focus.
49804966
*/
4981-
onfocus(this: HTMLFrameSetElement, ev: FocusEvent): any;
4982-
onhashchange(this: HTMLFrameSetElement, ev: HashChangeEvent): any;
4983-
onload(this: HTMLFrameSetElement, ev: Event): any;
4984-
onmessage(this: HTMLFrameSetElement, ev: MessageEvent): any;
4985-
onoffline(this: HTMLFrameSetElement, ev: Event): any;
4986-
ononline(this: HTMLFrameSetElement, ev: Event): any;
4987-
onorientationchange(this: HTMLFrameSetElement, ev: Event): any;
4988-
onpagehide(this: HTMLFrameSetElement, ev: PageTransitionEvent): any;
4989-
onpageshow(this: HTMLFrameSetElement, ev: PageTransitionEvent): any;
4990-
onpopstate(this: HTMLFrameSetElement, ev: PopStateEvent): any;
4991-
onresize(this: HTMLFrameSetElement, ev: UIEvent): any;
4992-
onscroll(this: HTMLFrameSetElement, ev: UIEvent): any;
4993-
onstorage(this: HTMLFrameSetElement, ev: StorageEvent): any;
4994-
onunload(this: HTMLFrameSetElement, ev: Event): any;
4967+
onhashchange: (this: HTMLFrameSetElement, ev: HashChangeEvent) => any;
4968+
onmessage: (this: HTMLFrameSetElement, ev: MessageEvent) => any;
4969+
onoffline: (this: HTMLFrameSetElement, ev: Event) => any;
4970+
ononline: (this: HTMLFrameSetElement, ev: Event) => any;
4971+
onorientationchange: (this: HTMLFrameSetElement, ev: Event) => any;
4972+
onpagehide: (this: HTMLFrameSetElement, ev: PageTransitionEvent) => any;
4973+
onpageshow: (this: HTMLFrameSetElement, ev: PageTransitionEvent) => any;
4974+
onpopstate: (this: HTMLFrameSetElement, ev: PopStateEvent) => any;
4975+
onresize: (this: HTMLFrameSetElement, ev: UIEvent) => any;
4976+
onstorage: (this: HTMLFrameSetElement, ev: StorageEvent) => any;
4977+
onunload: (this: HTMLFrameSetElement, ev: Event) => any;
49954978
/**
49964979
* Sets or retrieves the frame heights of the object.
49974980
*/
@@ -5125,10 +5108,7 @@ interface HTMLIFrameElement extends HTMLElement, GetSVGDocument {
51255108
* Sets or retrieves whether the user can resize the frame.
51265109
*/
51275110
noResize: boolean;
5128-
/**
5129-
* Raised when the object has been completely received from the server.
5130-
*/
5131-
onload(this: HTMLIFrameElement, ev: Event): any;
5111+
51325112
readonly sandbox: DOMSettableTokenList;
51335113
/**
51345114
* Sets or retrieves whether the frame can be scrolled.

0 commit comments

Comments
 (0)