Skip to content

Commit bea9dde

Browse files
TypeScript Botsaschanaz
TypeScript Bot
andauthored
🤖 Update core dependencies (microsoft#1687)
Co-authored-by: saschanaz <[email protected]>
1 parent 0004359 commit bea9dde

11 files changed

+121
-59
lines changed

baselines/audioworklet.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,8 @@ declare var AbortSignal: {
225225
new(): AbortSignal;
226226
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
227227
abort(reason?: any): AbortSignal;
228+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
229+
any(signals: AbortSignal[]): AbortSignal;
228230
};
229231

230232
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioWorkletGlobalScope) */

baselines/audioworklet.iterable.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
/// AudioWorklet Iterable APIs
33
/////////////////////////////
44

5+
interface AbortSignal {
6+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7+
any(signals: Iterable<AbortSignal>): AbortSignal;
8+
}
9+
510
interface MessageEvent<T = any> {
611
/**
712
* @deprecated

baselines/dom.generated.d.ts

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2324,6 +2324,8 @@ declare var AbortSignal: {
23242324
new(): AbortSignal;
23252325
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
23262326
abort(reason?: any): AbortSignal;
2327+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
2328+
any(signals: AbortSignal[]): AbortSignal;
23272329
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
23282330
timeout(milliseconds: number): AbortSignal;
23292331
};
@@ -3773,6 +3775,16 @@ declare var CSSScale: {
37733775
new(x: CSSNumberish, y: CSSNumberish, z?: CSSNumberish): CSSScale;
37743776
};
37753777

3778+
interface CSSScopeRule extends CSSGroupingRule {
3779+
readonly end: string | null;
3780+
readonly start: string | null;
3781+
}
3782+
3783+
declare var CSSScopeRule: {
3784+
prototype: CSSScopeRule;
3785+
new(): CSSScopeRule;
3786+
};
3787+
37763788
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew) */
37773789
interface CSSSkew extends CSSTransformComponent {
37783790
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/CSSSkew/ax) */
@@ -4033,6 +4045,7 @@ interface CSSStyleDeclaration {
40334045
clipRule: string;
40344046
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color) */
40354047
color: string;
4048+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-interpolation) */
40364049
colorInterpolation: string;
40374050
colorInterpolationFilters: string;
40384051
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/color-scheme) */
@@ -4592,6 +4605,8 @@ interface CSSStyleDeclaration {
45924605
transformStyle: string;
45934606
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition) */
45944607
transition: string;
4608+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-behavior) */
4609+
transitionBehavior: string;
45954610
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-delay) */
45964611
transitionDelay: string;
45974612
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/transition-duration) */
@@ -5013,6 +5028,8 @@ interface CSSStyleDeclaration {
50135028
webkitUserSelect: string;
50145029
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space) */
50155030
whiteSpace: string;
5031+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/white-space-collapse) */
5032+
whiteSpaceCollapse: string;
50165033
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/widows) */
50175034
widows: string;
50185035
/** [MDN Reference](https://developer.mozilla.org/docs/Web/CSS/width) */
@@ -7406,6 +7423,7 @@ interface Document extends Node, DocumentOrShadowRoot, FontFaceSource, GlobalEve
74067423
declare var Document: {
74077424
prototype: Document;
74087425
new(): Document;
7426+
parseHTMLUnsafe(html: string): Document;
74097427
};
74107428

74117429
/**
@@ -7856,6 +7874,7 @@ interface Element extends Node, ARIAMixin, Animatable, ChildNode, InnerHTML, Non
78567874
setAttributeNode(attr: Attr): Attr | null;
78577875
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setAttributeNodeNS) */
78587876
setAttributeNodeNS(attr: Attr): Attr | null;
7877+
setHTMLUnsafe(html: string): void;
78597878
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Element/setPointerCapture) */
78607879
setPointerCapture(pointerId: number): void;
78617880
/**
@@ -11113,7 +11132,11 @@ interface HTMLInputElement extends HTMLElement, PopoverInvokerElement {
1111311132
src: string;
1111411133
/** Defines an increment or jump between values that you want to allow the user to enter. When used with the max and min attributes, lets you control the range and increment (for example, allow only even numbers) that the user can enter into an input field. */
1111511134
step: string;
11116-
/** Returns the content type of the object. */
11135+
/**
11136+
* Returns the content type of the object.
11137+
*
11138+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLInputElement/type)
11139+
*/
1111711140
type: string;
1111811141
/**
1111911142
* Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
@@ -11928,6 +11951,7 @@ interface HTMLObjectElement extends HTMLElement {
1192811951
type: string;
1192911952
/**
1193011953
* Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
11954+
* @deprecated
1193111955
*
1193211956
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLObjectElement/useMap)
1193311957
*/
@@ -13258,7 +13282,11 @@ interface HTMLTextAreaElement extends HTMLElement {
1325813282
selectionStart: number;
1325913283
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/textLength) */
1326013284
readonly textLength: number;
13261-
/** Retrieves the type of control. */
13285+
/**
13286+
* Retrieves the type of control.
13287+
*
13288+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/HTMLTextAreaElement/type)
13289+
*/
1326213290
readonly type: string;
1326313291
/** Returns the error message that would be displayed if the user submits the form, or an empty string if no error message. It also triggers the standard error message, such as "this is a required field". The result is that the user sees validation messages without actually submitting. */
1326413292
readonly validationMessage: string;
@@ -21438,6 +21466,7 @@ interface ShadowRoot extends DocumentFragment, DocumentOrShadowRoot, InnerHTML {
2143821466
onslotchange: ((this: ShadowRoot, ev: Event) => any) | null;
2143921467
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/ShadowRoot/slotAssignment) */
2144021468
readonly slotAssignment: SlotAssignmentMode;
21469+
setHTMLUnsafe(html: string): void;
2144121470
/** Throws a "NotSupportedError" DOMException if context object is a shadow root. */
2144221471
addEventListener<K extends keyof ShadowRootEventMap>(type: K, listener: (this: ShadowRoot, ev: ShadowRootEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
2144321472
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

baselines/dom.iterable.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
/// Window Iterable APIs
33
/////////////////////////////
44

5+
interface AbortSignal {
6+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7+
any(signals: Iterable<AbortSignal>): AbortSignal;
8+
}
9+
510
interface AudioParam {
611
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AudioParam/setValueCurveAtTime) */
712
setValueCurveAtTime(values: Iterable<number>, startTime: number, duration: number): AudioParam;

baselines/serviceworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -817,6 +817,8 @@ declare var AbortSignal: {
817817
new(): AbortSignal;
818818
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
819819
abort(reason?: any): AbortSignal;
820+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
821+
any(signals: AbortSignal[]): AbortSignal;
820822
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
821823
timeout(milliseconds: number): AbortSignal;
822824
};

baselines/serviceworker.iterable.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
/// ServiceWorker Iterable APIs
33
/////////////////////////////
44

5+
interface AbortSignal {
6+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7+
any(signals: Iterable<AbortSignal>): AbortSignal;
8+
}
9+
510
interface CSSNumericArray {
611
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
712
entries(): IterableIterator<[number, CSSNumericValue]>;

baselines/sharedworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -789,6 +789,8 @@ declare var AbortSignal: {
789789
new(): AbortSignal;
790790
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
791791
abort(reason?: any): AbortSignal;
792+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
793+
any(signals: AbortSignal[]): AbortSignal;
792794
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
793795
timeout(milliseconds: number): AbortSignal;
794796
};

baselines/sharedworker.iterable.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
/// SharedWorker Iterable APIs
33
/////////////////////////////
44

5+
interface AbortSignal {
6+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7+
any(signals: Iterable<AbortSignal>): AbortSignal;
8+
}
9+
510
interface CSSNumericArray {
611
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
712
entries(): IterableIterator<[number, CSSNumericValue]>;

baselines/webworker.generated.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -953,6 +953,8 @@ declare var AbortSignal: {
953953
new(): AbortSignal;
954954
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
955955
abort(reason?: any): AbortSignal;
956+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
957+
any(signals: AbortSignal[]): AbortSignal;
956958
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
957959
timeout(milliseconds: number): AbortSignal;
958960
};

baselines/webworker.iterable.generated.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
/// Worker Iterable APIs
33
/////////////////////////////
44

5+
interface AbortSignal {
6+
/** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
7+
any(signals: Iterable<AbortSignal>): AbortSignal;
8+
}
9+
510
interface CSSNumericArray {
611
[Symbol.iterator](): IterableIterator<CSSNumericValue>;
712
entries(): IterableIterator<[number, CSSNumericValue]>;

0 commit comments

Comments
 (0)