Skip to content

Commit 44cc8c5

Browse files
committed
Use methods in dom.generated.d.ts to opt out of strict checks
1 parent 54eadef commit 44cc8c5

File tree

1 file changed

+107
-107
lines changed

1 file changed

+107
-107
lines changed

src/lib/dom.generated.d.ts

Lines changed: 107 additions & 107 deletions
Original file line numberDiff line numberDiff line change
@@ -4230,25 +4230,25 @@ 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+
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;
42524252
text: any;
42534253
vLink: any;
42544254
addEventListener<K extends keyof HTMLBodyElementEventMap>(type: K, listener: (this: HTMLBodyElement, ev: HTMLBodyElementEventMap[K]) => any, useCapture?: boolean): void;
@@ -4565,73 +4565,73 @@ interface HTMLElement extends Element {
45654565
readonly offsetParent: Element;
45664566
readonly offsetTop: number;
45674567
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;
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;
46354635
outerText: string;
46364636
spellcheck: boolean;
46374637
readonly style: CSSStyleDeclaration;
@@ -4904,7 +4904,7 @@ interface HTMLFrameElement extends HTMLElement, GetSVGDocument {
49044904
/**
49054905
* Raised when the object has been completely received from the server.
49064906
*/
4907-
onload: (this: HTMLFrameElement, ev: Event) => any;
4907+
onload(this: HTMLFrameElement, ev: Event): any;
49084908
/**
49094909
* Sets or retrieves whether the frame can be scrolled.
49104910
*/
@@ -4967,31 +4967,31 @@ interface HTMLFrameSetElement extends HTMLElement {
49674967
*/
49684968
frameSpacing: any;
49694969
name: string;
4970-
onafterprint: (this: HTMLFrameSetElement, ev: Event) => any;
4971-
onbeforeprint: (this: HTMLFrameSetElement, ev: Event) => any;
4972-
onbeforeunload: (this: HTMLFrameSetElement, ev: BeforeUnloadEvent) => any;
4970+
onafterprint(this: HTMLFrameSetElement, ev: Event): any;
4971+
onbeforeprint(this: HTMLFrameSetElement, ev: Event): any;
4972+
onbeforeunload(this: HTMLFrameSetElement, ev: BeforeUnloadEvent): any;
49734973
/**
49744974
* Fires when the object loses the input focus.
49754975
*/
4976-
onblur: (this: HTMLFrameSetElement, ev: FocusEvent) => any;
4977-
onerror: (this: HTMLFrameSetElement, ev: ErrorEvent) => any;
4976+
onblur(this: HTMLFrameSetElement, ev: FocusEvent): any;
4977+
onerror(this: HTMLFrameSetElement, ev: ErrorEvent): any;
49784978
/**
49794979
* Fires when the object receives focus.
49804980
*/
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;
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;
49954995
/**
49964996
* Sets or retrieves the frame heights of the object.
49974997
*/
@@ -5128,7 +5128,7 @@ interface HTMLIFrameElement extends HTMLElement, GetSVGDocument {
51285128
/**
51295129
* Raised when the object has been completely received from the server.
51305130
*/
5131-
onload: (this: HTMLIFrameElement, ev: Event) => any;
5131+
onload(this: HTMLIFrameElement, ev: Event): any;
51325132
readonly sandbox: DOMSettableTokenList;
51335133
/**
51345134
* Sets or retrieves whether the frame can be scrolled.

0 commit comments

Comments
 (0)