@@ -882,11 +882,23 @@ interface AbortSignal extends EventTarget {
882
882
declare var AbortSignal: {
883
883
prototype: AbortSignal;
884
884
new(): AbortSignal;
885
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static) */
885
+ /**
886
+ * The **`AbortSignal.abort()`** static method returns an AbortSignal that is already set as aborted (and which does not trigger an AbortSignal/abort_event event).
887
+ *
888
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/abort_static)
889
+ */
886
890
abort(reason?: any): AbortSignal;
887
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static) */
891
+ /**
892
+ * The **`AbortSignal.any()`** static method takes an iterable of abort signals and returns an AbortSignal.
893
+ *
894
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/any_static)
895
+ */
888
896
any(signals: AbortSignal[]): AbortSignal;
889
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static) */
897
+ /**
898
+ * The **`AbortSignal.timeout()`** static method returns an AbortSignal that will automatically abort after a specified time.
899
+ *
900
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortSignal/timeout_static)
901
+ */
890
902
timeout(milliseconds: number): AbortSignal;
891
903
};
892
904
@@ -2688,7 +2700,11 @@ interface DOMPoint extends DOMPointReadOnly {
2688
2700
declare var DOMPoint: {
2689
2701
prototype: DOMPoint;
2690
2702
new(x?: number, y?: number, z?: number, w?: number): DOMPoint;
2691
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static) */
2703
+ /**
2704
+ * The **`fromPoint()`** static method of the DOMPoint interface creates and returns a new mutable `DOMPoint` object given a source point.
2705
+ *
2706
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPoint/fromPoint_static)
2707
+ */
2692
2708
fromPoint(other?: DOMPointInit): DOMPoint;
2693
2709
};
2694
2710
@@ -2739,7 +2755,11 @@ interface DOMPointReadOnly {
2739
2755
declare var DOMPointReadOnly: {
2740
2756
prototype: DOMPointReadOnly;
2741
2757
new(x?: number, y?: number, z?: number, w?: number): DOMPointReadOnly;
2742
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static) */
2758
+ /**
2759
+ * The static **DOMPointReadOnly** method `fromPoint()` creates and returns a new `DOMPointReadOnly` object given a source point.
2760
+ *
2761
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMPointReadOnly/fromPoint_static)
2762
+ */
2743
2763
fromPoint(other?: DOMPointInit): DOMPointReadOnly;
2744
2764
};
2745
2765
@@ -2829,7 +2849,11 @@ interface DOMRect extends DOMRectReadOnly {
2829
2849
declare var DOMRect: {
2830
2850
prototype: DOMRect;
2831
2851
new(x?: number, y?: number, width?: number, height?: number): DOMRect;
2832
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static) */
2852
+ /**
2853
+ * The **`fromRect()`** static method of the object with a given location and dimensions.
2854
+ *
2855
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRect/fromRect_static)
2856
+ */
2833
2857
fromRect(other?: DOMRectInit): DOMRect;
2834
2858
};
2835
2859
@@ -2898,7 +2922,11 @@ interface DOMRectReadOnly {
2898
2922
declare var DOMRectReadOnly: {
2899
2923
prototype: DOMRectReadOnly;
2900
2924
new(x?: number, y?: number, width?: number, height?: number): DOMRectReadOnly;
2901
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static) */
2925
+ /**
2926
+ * The **`fromRect()`** static method of the object with a given location and dimensions.
2927
+ *
2928
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMRectReadOnly/fromRect_static)
2929
+ */
2902
2930
fromRect(other?: DOMRectInit): DOMRectReadOnly;
2903
2931
};
2904
2932
@@ -4380,25 +4408,25 @@ declare var IDBKeyRange: {
4380
4408
prototype: IDBKeyRange;
4381
4409
new(): IDBKeyRange;
4382
4410
/**
4383
- * Returns a new IDBKeyRange spanning from lower to upper. If lowerOpen is true, lower is not included in the range. If upperOpen is true, upper is not included in the range .
4411
+ * The **`bound()`** static method of the IDBKeyRange interface creates a new key range with the specified upper and lower bounds .
4384
4412
*
4385
4413
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/bound_static)
4386
4414
*/
4387
4415
bound(lower: any, upper: any, lowerOpen?: boolean, upperOpen?: boolean): IDBKeyRange;
4388
4416
/**
4389
- * Returns a new IDBKeyRange starting at key with no upper bound. If open is true, key is not included in the range .
4417
+ * The **`lowerBound()`** static method of the By default, it includes the lower endpoint value and is closed .
4390
4418
*
4391
4419
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/lowerBound_static)
4392
4420
*/
4393
4421
lowerBound(lower: any, open?: boolean): IDBKeyRange;
4394
4422
/**
4395
- * Returns a new IDBKeyRange spanning only key.
4423
+ * The **`only()`** static method of the IDBKeyRange interface creates a new key range containing a single value .
4396
4424
*
4397
4425
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/only_static)
4398
4426
*/
4399
4427
only(value: any): IDBKeyRange;
4400
4428
/**
4401
- * Returns a new IDBKeyRange with no lower bound and ending at key. If open is true, key is not included in the range .
4429
+ * The **`upperBound()`** static method of the it includes the upper endpoint value and is closed .
4402
4430
*
4403
4431
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/IDBKeyRange/upperBound_static)
4404
4432
*/
@@ -5229,7 +5257,11 @@ interface Notification extends EventTarget {
5229
5257
declare var Notification: {
5230
5258
prototype: Notification;
5231
5259
new(title: string, options?: NotificationOptions): Notification;
5232
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static) */
5260
+ /**
5261
+ * The **`permission`** read-only static property of the Notification interface indicates the current permission granted by the user for the current origin to display web notifications.
5262
+ *
5263
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Notification/permission_static)
5264
+ */
5233
5265
readonly permission: NotificationPermission;
5234
5266
};
5235
5267
@@ -5716,7 +5748,11 @@ interface PerformanceObserver {
5716
5748
declare var PerformanceObserver: {
5717
5749
prototype: PerformanceObserver;
5718
5750
new(callback: PerformanceObserverCallback): PerformanceObserver;
5719
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static) */
5751
+ /**
5752
+ * The static **`supportedEntryTypes`** read-only property of the PerformanceObserver interface returns an array of the PerformanceEntry.entryType values supported by the user agent.
5753
+ *
5754
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PerformanceObserver/supportedEntryTypes_static)
5755
+ */
5720
5756
readonly supportedEntryTypes: ReadonlyArray<string>;
5721
5757
};
5722
5758
@@ -6082,7 +6118,11 @@ interface PushManager {
6082
6118
declare var PushManager: {
6083
6119
prototype: PushManager;
6084
6120
new(): PushManager;
6085
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static) */
6121
+ /**
6122
+ * The **`supportedContentEncodings`** read-only static property of the PushManager interface returns an array of supported content codings that can be used to encrypt the payload of a push message.
6123
+ *
6124
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/PushManager/supportedContentEncodings_static)
6125
+ */
6086
6126
readonly supportedContentEncodings: ReadonlyArray<string>;
6087
6127
};
6088
6128
@@ -6676,15 +6716,23 @@ interface Response extends Body {
6676
6716
declare var Response: {
6677
6717
prototype: Response;
6678
6718
new(body?: BodyInit | null, init?: ResponseInit): Response;
6679
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) */
6719
+ /**
6720
+ * The **`error()`** static method of the Response interface returns a new `Response` object associated with a network error.
6721
+ *
6722
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static)
6723
+ */
6680
6724
error(): Response;
6681
6725
/**
6682
- * The **`json()`** method of the Response interface takes a Response stream and reads it to completion .
6726
+ * The **`json()`** static method of the Response interface returns a ` Response` that contains the provided JSON data as body, and a Content-Type header which is set to `application/json` .
6683
6727
*
6684
6728
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static)
6685
6729
*/
6686
6730
json(data: any, init?: ResponseInit): Response;
6687
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) */
6731
+ /**
6732
+ * The **`redirect()`** static method of the Response interface returns a `Response` resulting in a redirect to the specified URL.
6733
+ *
6734
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static)
6735
+ */
6688
6736
redirect(url: string | URL, status?: number): Response;
6689
6737
};
6690
6738
@@ -7553,9 +7601,17 @@ interface URL {
7553
7601
declare var URL: {
7554
7602
prototype: URL;
7555
7603
new(url: string | URL, base?: string | URL): URL;
7556
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static) */
7604
+ /**
7605
+ * The **`URL.canParse()`** static method of the URL interface returns a boolean indicating whether or not an absolute URL, or a relative URL combined with a base URL, are parsable and valid.
7606
+ *
7607
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/canParse_static)
7608
+ */
7557
7609
canParse(url: string | URL, base?: string | URL): boolean;
7558
- /** [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static) */
7610
+ /**
7611
+ * The **`URL.parse()`** static method of the URL interface returns a newly created URL object representing the URL defined by the parameters.
7612
+ *
7613
+ * [MDN Reference](https://developer.mozilla.org/docs/Web/API/URL/parse_static)
7614
+ */
7559
7615
parse(url: string | URL, base?: string | URL): URL | null;
7560
7616
};
7561
7617
0 commit comments