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
10 changes: 7 additions & 3 deletions baselines/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2762,6 +2762,10 @@ interface SetHTMLOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface SetHTMLUnsafeOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface ShadowRootInit {
clonable?: boolean;
customElementRegistry?: CustomElementRegistry | null;
Expand Down Expand Up @@ -13656,7 +13660,7 @@ declare var Document: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
*/
parseHTMLUnsafe(html: string): Document;
parseHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): Document;
};

/**
Expand Down Expand Up @@ -14426,7 +14430,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
/**
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
*
Expand Down Expand Up @@ -36058,7 +36062,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down
10 changes: 7 additions & 3 deletions baselines/ts5.5/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,10 @@ interface SetHTMLOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface SetHTMLUnsafeOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface ShadowRootInit {
clonable?: boolean;
customElementRegistry?: CustomElementRegistry | null;
Expand Down Expand Up @@ -13645,7 +13649,7 @@ declare var Document: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
*/
parseHTMLUnsafe(html: string): Document;
parseHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): Document;
};

/**
Expand Down Expand Up @@ -14413,7 +14417,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
/**
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
*
Expand Down Expand Up @@ -36033,7 +36037,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down
10 changes: 7 additions & 3 deletions baselines/ts5.6/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,10 @@ interface SetHTMLOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface SetHTMLUnsafeOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface ShadowRootInit {
clonable?: boolean;
customElementRegistry?: CustomElementRegistry | null;
Expand Down Expand Up @@ -13653,7 +13657,7 @@ declare var Document: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
*/
parseHTMLUnsafe(html: string): Document;
parseHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): Document;
};

/**
Expand Down Expand Up @@ -14423,7 +14427,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
/**
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
*
Expand Down Expand Up @@ -36055,7 +36059,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down
10 changes: 7 additions & 3 deletions baselines/ts5.9/dom.generated.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2759,6 +2759,10 @@ interface SetHTMLOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface SetHTMLUnsafeOptions {
sanitizer?: Sanitizer | SanitizerConfig | SanitizerPresets;
}

interface ShadowRootInit {
clonable?: boolean;
customElementRegistry?: CustomElementRegistry | null;
Expand Down Expand Up @@ -13653,7 +13657,7 @@ declare var Document: {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Document/parseHTMLUnsafe_static)
*/
parseHTMLUnsafe(html: string): Document;
parseHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): Document;
};

/**
Expand Down Expand Up @@ -14423,7 +14427,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, NonDocumentTyp
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
/**
* The **`setPointerCapture()`** method of the Element interface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (via Element.releasePointerCapture() or the pointerup event is fired).
*
Expand Down Expand Up @@ -36055,7 +36059,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot {
*
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/setHTMLUnsafe)
*/
setHTMLUnsafe(html: string): void;
setHTMLUnsafe(html: string, options?: SetHTMLUnsafeOptions): void;
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
removeEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading