Skip to content

Commit 9a153e5

Browse files
committed
merge conflicts
2 parents d6de75e + d9e593c commit 9a153e5

File tree

4 files changed

+39
-6
lines changed

4 files changed

+39
-6
lines changed

TS.fsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,7 @@ let EmitStaticInterface flavor (i:Browser.Interface) =
568568
// interface, and put the static members into the object literal type of 'declare var'
569569
// For static types with only static members, we put everything in the interface.
570570
// Because in the two cases the interface contains different things, it might be easier to
571-
// read to seperate them into two functions.
571+
// read to separate them into two functions.
572572
let emitStaticInterfaceWithNonStaticMembers () =
573573
Pt.resetIndent()
574574
EmitInterfaceDeclaration i

baselines/dom.generated.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3682,6 +3682,9 @@ interface Element extends Node, GlobalEventHandlers, ElementTraversal, NodeSelec
36823682
scrollTo(x: number, y: number): void;
36833683
scrollBy(options?: ScrollToOptions): void;
36843684
scrollBy(x: number, y: number): void;
3685+
insertAdjacentElement(position: string, insertedElement: Element): Element | null;
3686+
insertAdjacentHTML(where: string, html: string): void;
3687+
insertAdjacentText(where: string, text: string): void;
36853688
addEventListener(type: "MSGestureChange", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
36863689
addEventListener(type: "MSGestureDoubleTap", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
36873690
addEventListener(type: "MSGestureEnd", listener: (this: this, ev: MSGestureEvent) => any, useCapture?: boolean): void;
@@ -4453,7 +4456,7 @@ interface HTMLCanvasElement extends HTMLElement {
44534456
* @param type The standard MIME type for the image format to return. If you do not specify this parameter, the default value is a PNG format image.
44544457
*/
44554458
toDataURL(type?: string, ...args: any[]): string;
4456-
toBlob(callback: (result: Blob | null) => void, ... arguments: any[]): void;
4459+
toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void;
44574460
}
44584461

44594462
declare var HTMLCanvasElement: {
@@ -4628,9 +4631,6 @@ interface HTMLElement extends Element {
46284631
click(): void;
46294632
dragDrop(): boolean;
46304633
focus(): void;
4631-
insertAdjacentElement(position: string, insertedElement: Element): Element;
4632-
insertAdjacentHTML(where: string, html: string): void;
4633-
insertAdjacentText(where: string, text: string): void;
46344634
msGetInputContext(): MSInputMethodContext;
46354635
setActive(): void;
46364636
addEventListener(type: "MSContentZoom", listener: (this: this, ev: UIEvent) => any, useCapture?: boolean): void;

inputfiles/addedTypes.json

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@
442442
"kind": "method",
443443
"interface": "HTMLCanvasElement",
444444
"name": "toBlob",
445-
"signatures": ["toBlob(callback: (result: Blob | null) => void, ... arguments: any[]): void"]
445+
"signatures": ["toBlob(callback: (result: Blob | null) => void, type?: string, ...arguments: any[]): void"]
446446
},
447447
{
448448
"kind": "property",
@@ -1083,5 +1083,23 @@
10831083
"name": "MouseWheelEvent",
10841084
"flavor": "Web",
10851085
"type": "WheelEvent"
1086+
},
1087+
{
1088+
"kind": "method",
1089+
"interface": "Element",
1090+
"name": "insertAdjacentElement",
1091+
"signatures": ["insertAdjacentElement(position: string, insertedElement: Element): Element | null"]
1092+
},
1093+
{
1094+
"kind": "method",
1095+
"interface": "Element",
1096+
"name": "insertAdjacentHTML",
1097+
"signatures": ["insertAdjacentHTML(where: string, html: string): void"]
1098+
},
1099+
{
1100+
"kind": "method",
1101+
"interface": "Element",
1102+
"name": "insertAdjacentText",
1103+
"signatures": ["insertAdjacentText(where: string, text: string): void"]
10861104
}
10871105
]

inputfiles/removedTypes.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,5 +53,20 @@
5353
"kind": "property",
5454
"interface": "XMLHttpRequest",
5555
"name": "msCaching"
56+
},
57+
{
58+
"kind": "method",
59+
"interface": "HTMLElement",
60+
"name": "insertAdjacentElement"
61+
},
62+
{
63+
"kind": "method",
64+
"interface": "HTMLElement",
65+
"name": "insertAdjacentHTML"
66+
},
67+
{
68+
"kind": "method",
69+
"interface": "HTMLElement",
70+
"name": "insertAdjacentText"
5671
}
5772
]

0 commit comments

Comments
 (0)