@types/serviceworker 0.0.140 → 0.0.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/index.d.ts +129 -57
- package/package.json +1 -1
- package/ts5.5/index.d.ts +129 -57
- package/ts5.6/index.d.ts +129 -57
package/README.md
CHANGED
|
@@ -28,4 +28,4 @@ This project does not respect semantic versioning as almost every change could p
|
|
|
28
28
|
|
|
29
29
|
## Deploy Metadata
|
|
30
30
|
|
|
31
|
-
You can read what changed in version 0.0.
|
|
31
|
+
You can read what changed in version 0.0.142 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.142.
|
package/index.d.ts
CHANGED
|
@@ -573,6 +573,15 @@ interface RegistrationOptions {
|
|
|
573
573
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
+
interface Report {
|
|
577
|
+
body?: ReportBody | null;
|
|
578
|
+
type?: string;
|
|
579
|
+
url?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
interface ReportBody {
|
|
583
|
+
}
|
|
584
|
+
|
|
576
585
|
interface ReportingObserverOptions {
|
|
577
586
|
buffered?: boolean;
|
|
578
587
|
types?: string[];
|
|
@@ -711,6 +720,39 @@ interface Transformer<I = any, O = any> {
|
|
|
711
720
|
writableType?: undefined;
|
|
712
721
|
}
|
|
713
722
|
|
|
723
|
+
interface URLPatternComponentResult {
|
|
724
|
+
groups?: Record<string, string | undefined>;
|
|
725
|
+
input?: string;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
interface URLPatternInit {
|
|
729
|
+
baseURL?: string;
|
|
730
|
+
hash?: string;
|
|
731
|
+
hostname?: string;
|
|
732
|
+
password?: string;
|
|
733
|
+
pathname?: string;
|
|
734
|
+
port?: string;
|
|
735
|
+
protocol?: string;
|
|
736
|
+
search?: string;
|
|
737
|
+
username?: string;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
interface URLPatternOptions {
|
|
741
|
+
ignoreCase?: boolean;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
interface URLPatternResult {
|
|
745
|
+
hash?: URLPatternComponentResult;
|
|
746
|
+
hostname?: URLPatternComponentResult;
|
|
747
|
+
inputs?: URLPatternInput[];
|
|
748
|
+
password?: URLPatternComponentResult;
|
|
749
|
+
pathname?: URLPatternComponentResult;
|
|
750
|
+
port?: URLPatternComponentResult;
|
|
751
|
+
protocol?: URLPatternComponentResult;
|
|
752
|
+
search?: URLPatternComponentResult;
|
|
753
|
+
username?: URLPatternComponentResult;
|
|
754
|
+
}
|
|
755
|
+
|
|
714
756
|
interface UnderlyingByteSource {
|
|
715
757
|
autoAllocateChunkSize?: number;
|
|
716
758
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -2310,7 +2352,7 @@ declare var CryptoKey: {
|
|
|
2310
2352
|
};
|
|
2311
2353
|
|
|
2312
2354
|
/**
|
|
2313
|
-
* The **`CustomEvent`** interface
|
|
2355
|
+
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
|
|
2314
2356
|
*
|
|
2315
2357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
2316
2358
|
*/
|
|
@@ -6520,57 +6562,6 @@ interface ReadableStreamGenericReader {
|
|
|
6520
6562
|
cancel(reason?: any): Promise<void>;
|
|
6521
6563
|
}
|
|
6522
6564
|
|
|
6523
|
-
/**
|
|
6524
|
-
* The `Report` interface of the Reporting API represents a single report.
|
|
6525
|
-
*
|
|
6526
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
6527
|
-
*/
|
|
6528
|
-
interface Report {
|
|
6529
|
-
/**
|
|
6530
|
-
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
|
|
6531
|
-
*
|
|
6532
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
|
|
6533
|
-
*/
|
|
6534
|
-
readonly body: ReportBody | null;
|
|
6535
|
-
/**
|
|
6536
|
-
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
|
|
6537
|
-
*
|
|
6538
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
|
|
6539
|
-
*/
|
|
6540
|
-
readonly type: string;
|
|
6541
|
-
/**
|
|
6542
|
-
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
|
|
6543
|
-
*
|
|
6544
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
|
|
6545
|
-
*/
|
|
6546
|
-
readonly url: string;
|
|
6547
|
-
toJSON(): any;
|
|
6548
|
-
}
|
|
6549
|
-
|
|
6550
|
-
declare var Report: {
|
|
6551
|
-
prototype: Report;
|
|
6552
|
-
new(): Report;
|
|
6553
|
-
};
|
|
6554
|
-
|
|
6555
|
-
/**
|
|
6556
|
-
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
6557
|
-
*
|
|
6558
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
6559
|
-
*/
|
|
6560
|
-
interface ReportBody {
|
|
6561
|
-
/**
|
|
6562
|
-
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
|
|
6563
|
-
*
|
|
6564
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
|
|
6565
|
-
*/
|
|
6566
|
-
toJSON(): any;
|
|
6567
|
-
}
|
|
6568
|
-
|
|
6569
|
-
declare var ReportBody: {
|
|
6570
|
-
prototype: ReportBody;
|
|
6571
|
-
new(): ReportBody;
|
|
6572
|
-
};
|
|
6573
|
-
|
|
6574
6565
|
/**
|
|
6575
6566
|
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
6576
6567
|
*
|
|
@@ -6920,7 +6911,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
6920
6911
|
*/
|
|
6921
6912
|
interface ServiceWorkerContainer extends EventTarget {
|
|
6922
6913
|
/**
|
|
6923
|
-
* The **`controller`** read-only property of the ServiceWorkerContainer interface
|
|
6914
|
+
* The **`controller`** read-only property of the ServiceWorkerContainer interface represents the active ServiceWorker controlling the current page (associated with this `ServiceWorkerContainer`), or `null` if the page has no active or activating service worker.
|
|
6924
6915
|
*
|
|
6925
6916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
|
|
6926
6917
|
*/
|
|
@@ -7312,7 +7303,7 @@ declare var SubtleCrypto: {
|
|
|
7312
7303
|
};
|
|
7313
7304
|
|
|
7314
7305
|
/**
|
|
7315
|
-
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`,
|
|
7306
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
|
|
7316
7307
|
*
|
|
7317
7308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
7318
7309
|
*/
|
|
@@ -7367,19 +7358,19 @@ declare var TextDecoderStream: {
|
|
|
7367
7358
|
};
|
|
7368
7359
|
|
|
7369
7360
|
/**
|
|
7370
|
-
* The **`TextEncoder`** interface
|
|
7361
|
+
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
|
|
7371
7362
|
*
|
|
7372
7363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
7373
7364
|
*/
|
|
7374
7365
|
interface TextEncoder extends TextEncoderCommon {
|
|
7375
7366
|
/**
|
|
7376
|
-
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the
|
|
7367
|
+
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
|
|
7377
7368
|
*
|
|
7378
7369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
|
7379
7370
|
*/
|
|
7380
7371
|
encode(input?: string): Uint8Array<ArrayBuffer>;
|
|
7381
7372
|
/**
|
|
7382
|
-
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns
|
|
7373
|
+
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
|
|
7383
7374
|
*
|
|
7384
7375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
|
7385
7376
|
*/
|
|
@@ -7666,6 +7657,86 @@ declare var URL: {
|
|
|
7666
7657
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
7667
7658
|
};
|
|
7668
7659
|
|
|
7660
|
+
/**
|
|
7661
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
|
7662
|
+
*
|
|
7663
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
7664
|
+
*/
|
|
7665
|
+
interface URLPattern {
|
|
7666
|
+
/**
|
|
7667
|
+
* The **`hasRegExpGroups`** read-only property of the URLPattern interface is a boolean indicating whether or not any of the `URLPattern` components contain regular expression capturing groups.
|
|
7668
|
+
*
|
|
7669
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hasRegExpGroups)
|
|
7670
|
+
*/
|
|
7671
|
+
readonly hasRegExpGroups: boolean;
|
|
7672
|
+
/**
|
|
7673
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
7674
|
+
*
|
|
7675
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
|
7676
|
+
*/
|
|
7677
|
+
readonly hash: string;
|
|
7678
|
+
/**
|
|
7679
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
|
7680
|
+
*
|
|
7681
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
|
7682
|
+
*/
|
|
7683
|
+
readonly hostname: string;
|
|
7684
|
+
/**
|
|
7685
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
|
7686
|
+
*
|
|
7687
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
|
7688
|
+
*/
|
|
7689
|
+
readonly password: string;
|
|
7690
|
+
/**
|
|
7691
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
|
7692
|
+
*
|
|
7693
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
|
7694
|
+
*/
|
|
7695
|
+
readonly pathname: string;
|
|
7696
|
+
/**
|
|
7697
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
|
7698
|
+
*
|
|
7699
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
|
7700
|
+
*/
|
|
7701
|
+
readonly port: string;
|
|
7702
|
+
/**
|
|
7703
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
|
7704
|
+
*
|
|
7705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
|
7706
|
+
*/
|
|
7707
|
+
readonly protocol: string;
|
|
7708
|
+
/**
|
|
7709
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
|
7710
|
+
*
|
|
7711
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
|
7712
|
+
*/
|
|
7713
|
+
readonly search: string;
|
|
7714
|
+
/**
|
|
7715
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
|
7716
|
+
*
|
|
7717
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
|
7718
|
+
*/
|
|
7719
|
+
readonly username: string;
|
|
7720
|
+
/**
|
|
7721
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
|
7722
|
+
*
|
|
7723
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
|
7724
|
+
*/
|
|
7725
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
|
7726
|
+
/**
|
|
7727
|
+
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
|
7728
|
+
*
|
|
7729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
|
7730
|
+
*/
|
|
7731
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
declare var URLPattern: {
|
|
7735
|
+
prototype: URLPattern;
|
|
7736
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
|
7737
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
|
7738
|
+
};
|
|
7739
|
+
|
|
7669
7740
|
/**
|
|
7670
7741
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
7671
7742
|
*
|
|
@@ -11381,6 +11452,7 @@ type RequestInfo = Request | string;
|
|
|
11381
11452
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
11382
11453
|
type TimerHandler = string | Function;
|
|
11383
11454
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
11455
|
+
type URLPatternInput = string | URLPatternInit;
|
|
11384
11456
|
type Uint32List = Uint32Array<ArrayBufferLike> | GLuint[];
|
|
11385
11457
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
11386
11458
|
type BinaryType = "arraybuffer" | "blob";
|
package/package.json
CHANGED
package/ts5.5/index.d.ts
CHANGED
|
@@ -573,6 +573,15 @@ interface RegistrationOptions {
|
|
|
573
573
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
+
interface Report {
|
|
577
|
+
body?: ReportBody | null;
|
|
578
|
+
type?: string;
|
|
579
|
+
url?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
interface ReportBody {
|
|
583
|
+
}
|
|
584
|
+
|
|
576
585
|
interface ReportingObserverOptions {
|
|
577
586
|
buffered?: boolean;
|
|
578
587
|
types?: string[];
|
|
@@ -711,6 +720,39 @@ interface Transformer<I = any, O = any> {
|
|
|
711
720
|
writableType?: undefined;
|
|
712
721
|
}
|
|
713
722
|
|
|
723
|
+
interface URLPatternComponentResult {
|
|
724
|
+
groups?: Record<string, string | undefined>;
|
|
725
|
+
input?: string;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
interface URLPatternInit {
|
|
729
|
+
baseURL?: string;
|
|
730
|
+
hash?: string;
|
|
731
|
+
hostname?: string;
|
|
732
|
+
password?: string;
|
|
733
|
+
pathname?: string;
|
|
734
|
+
port?: string;
|
|
735
|
+
protocol?: string;
|
|
736
|
+
search?: string;
|
|
737
|
+
username?: string;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
interface URLPatternOptions {
|
|
741
|
+
ignoreCase?: boolean;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
interface URLPatternResult {
|
|
745
|
+
hash?: URLPatternComponentResult;
|
|
746
|
+
hostname?: URLPatternComponentResult;
|
|
747
|
+
inputs?: URLPatternInput[];
|
|
748
|
+
password?: URLPatternComponentResult;
|
|
749
|
+
pathname?: URLPatternComponentResult;
|
|
750
|
+
port?: URLPatternComponentResult;
|
|
751
|
+
protocol?: URLPatternComponentResult;
|
|
752
|
+
search?: URLPatternComponentResult;
|
|
753
|
+
username?: URLPatternComponentResult;
|
|
754
|
+
}
|
|
755
|
+
|
|
714
756
|
interface UnderlyingByteSource {
|
|
715
757
|
autoAllocateChunkSize?: number;
|
|
716
758
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -2310,7 +2352,7 @@ declare var CryptoKey: {
|
|
|
2310
2352
|
};
|
|
2311
2353
|
|
|
2312
2354
|
/**
|
|
2313
|
-
* The **`CustomEvent`** interface
|
|
2355
|
+
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
|
|
2314
2356
|
*
|
|
2315
2357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
2316
2358
|
*/
|
|
@@ -6520,57 +6562,6 @@ interface ReadableStreamGenericReader {
|
|
|
6520
6562
|
cancel(reason?: any): Promise<void>;
|
|
6521
6563
|
}
|
|
6522
6564
|
|
|
6523
|
-
/**
|
|
6524
|
-
* The `Report` interface of the Reporting API represents a single report.
|
|
6525
|
-
*
|
|
6526
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
6527
|
-
*/
|
|
6528
|
-
interface Report {
|
|
6529
|
-
/**
|
|
6530
|
-
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
|
|
6531
|
-
*
|
|
6532
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
|
|
6533
|
-
*/
|
|
6534
|
-
readonly body: ReportBody | null;
|
|
6535
|
-
/**
|
|
6536
|
-
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
|
|
6537
|
-
*
|
|
6538
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
|
|
6539
|
-
*/
|
|
6540
|
-
readonly type: string;
|
|
6541
|
-
/**
|
|
6542
|
-
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
|
|
6543
|
-
*
|
|
6544
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
|
|
6545
|
-
*/
|
|
6546
|
-
readonly url: string;
|
|
6547
|
-
toJSON(): any;
|
|
6548
|
-
}
|
|
6549
|
-
|
|
6550
|
-
declare var Report: {
|
|
6551
|
-
prototype: Report;
|
|
6552
|
-
new(): Report;
|
|
6553
|
-
};
|
|
6554
|
-
|
|
6555
|
-
/**
|
|
6556
|
-
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
6557
|
-
*
|
|
6558
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
6559
|
-
*/
|
|
6560
|
-
interface ReportBody {
|
|
6561
|
-
/**
|
|
6562
|
-
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
|
|
6563
|
-
*
|
|
6564
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
|
|
6565
|
-
*/
|
|
6566
|
-
toJSON(): any;
|
|
6567
|
-
}
|
|
6568
|
-
|
|
6569
|
-
declare var ReportBody: {
|
|
6570
|
-
prototype: ReportBody;
|
|
6571
|
-
new(): ReportBody;
|
|
6572
|
-
};
|
|
6573
|
-
|
|
6574
6565
|
/**
|
|
6575
6566
|
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
6576
6567
|
*
|
|
@@ -6920,7 +6911,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
6920
6911
|
*/
|
|
6921
6912
|
interface ServiceWorkerContainer extends EventTarget {
|
|
6922
6913
|
/**
|
|
6923
|
-
* The **`controller`** read-only property of the ServiceWorkerContainer interface
|
|
6914
|
+
* The **`controller`** read-only property of the ServiceWorkerContainer interface represents the active ServiceWorker controlling the current page (associated with this `ServiceWorkerContainer`), or `null` if the page has no active or activating service worker.
|
|
6924
6915
|
*
|
|
6925
6916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
|
|
6926
6917
|
*/
|
|
@@ -7312,7 +7303,7 @@ declare var SubtleCrypto: {
|
|
|
7312
7303
|
};
|
|
7313
7304
|
|
|
7314
7305
|
/**
|
|
7315
|
-
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`,
|
|
7306
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
|
|
7316
7307
|
*
|
|
7317
7308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
7318
7309
|
*/
|
|
@@ -7367,19 +7358,19 @@ declare var TextDecoderStream: {
|
|
|
7367
7358
|
};
|
|
7368
7359
|
|
|
7369
7360
|
/**
|
|
7370
|
-
* The **`TextEncoder`** interface
|
|
7361
|
+
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
|
|
7371
7362
|
*
|
|
7372
7363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
7373
7364
|
*/
|
|
7374
7365
|
interface TextEncoder extends TextEncoderCommon {
|
|
7375
7366
|
/**
|
|
7376
|
-
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the
|
|
7367
|
+
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
|
|
7377
7368
|
*
|
|
7378
7369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
|
7379
7370
|
*/
|
|
7380
7371
|
encode(input?: string): Uint8Array;
|
|
7381
7372
|
/**
|
|
7382
|
-
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns
|
|
7373
|
+
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
|
|
7383
7374
|
*
|
|
7384
7375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
|
7385
7376
|
*/
|
|
@@ -7666,6 +7657,86 @@ declare var URL: {
|
|
|
7666
7657
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
7667
7658
|
};
|
|
7668
7659
|
|
|
7660
|
+
/**
|
|
7661
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
|
7662
|
+
*
|
|
7663
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
7664
|
+
*/
|
|
7665
|
+
interface URLPattern {
|
|
7666
|
+
/**
|
|
7667
|
+
* The **`hasRegExpGroups`** read-only property of the URLPattern interface is a boolean indicating whether or not any of the `URLPattern` components contain regular expression capturing groups.
|
|
7668
|
+
*
|
|
7669
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hasRegExpGroups)
|
|
7670
|
+
*/
|
|
7671
|
+
readonly hasRegExpGroups: boolean;
|
|
7672
|
+
/**
|
|
7673
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
7674
|
+
*
|
|
7675
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
|
7676
|
+
*/
|
|
7677
|
+
readonly hash: string;
|
|
7678
|
+
/**
|
|
7679
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
|
7680
|
+
*
|
|
7681
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
|
7682
|
+
*/
|
|
7683
|
+
readonly hostname: string;
|
|
7684
|
+
/**
|
|
7685
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
|
7686
|
+
*
|
|
7687
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
|
7688
|
+
*/
|
|
7689
|
+
readonly password: string;
|
|
7690
|
+
/**
|
|
7691
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
|
7692
|
+
*
|
|
7693
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
|
7694
|
+
*/
|
|
7695
|
+
readonly pathname: string;
|
|
7696
|
+
/**
|
|
7697
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
|
7698
|
+
*
|
|
7699
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
|
7700
|
+
*/
|
|
7701
|
+
readonly port: string;
|
|
7702
|
+
/**
|
|
7703
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
|
7704
|
+
*
|
|
7705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
|
7706
|
+
*/
|
|
7707
|
+
readonly protocol: string;
|
|
7708
|
+
/**
|
|
7709
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
|
7710
|
+
*
|
|
7711
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
|
7712
|
+
*/
|
|
7713
|
+
readonly search: string;
|
|
7714
|
+
/**
|
|
7715
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
|
7716
|
+
*
|
|
7717
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
|
7718
|
+
*/
|
|
7719
|
+
readonly username: string;
|
|
7720
|
+
/**
|
|
7721
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
|
7722
|
+
*
|
|
7723
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
|
7724
|
+
*/
|
|
7725
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
|
7726
|
+
/**
|
|
7727
|
+
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
|
7728
|
+
*
|
|
7729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
|
7730
|
+
*/
|
|
7731
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
declare var URLPattern: {
|
|
7735
|
+
prototype: URLPattern;
|
|
7736
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
|
7737
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
|
7738
|
+
};
|
|
7739
|
+
|
|
7669
7740
|
/**
|
|
7670
7741
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
7671
7742
|
*
|
|
@@ -11381,6 +11452,7 @@ type RequestInfo = Request | string;
|
|
|
11381
11452
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
11382
11453
|
type TimerHandler = string | Function;
|
|
11383
11454
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
11455
|
+
type URLPatternInput = string | URLPatternInit;
|
|
11384
11456
|
type Uint32List = Uint32Array | GLuint[];
|
|
11385
11457
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
11386
11458
|
type BinaryType = "arraybuffer" | "blob";
|
package/ts5.6/index.d.ts
CHANGED
|
@@ -573,6 +573,15 @@ interface RegistrationOptions {
|
|
|
573
573
|
updateViaCache?: ServiceWorkerUpdateViaCache;
|
|
574
574
|
}
|
|
575
575
|
|
|
576
|
+
interface Report {
|
|
577
|
+
body?: ReportBody | null;
|
|
578
|
+
type?: string;
|
|
579
|
+
url?: string;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
interface ReportBody {
|
|
583
|
+
}
|
|
584
|
+
|
|
576
585
|
interface ReportingObserverOptions {
|
|
577
586
|
buffered?: boolean;
|
|
578
587
|
types?: string[];
|
|
@@ -711,6 +720,39 @@ interface Transformer<I = any, O = any> {
|
|
|
711
720
|
writableType?: undefined;
|
|
712
721
|
}
|
|
713
722
|
|
|
723
|
+
interface URLPatternComponentResult {
|
|
724
|
+
groups?: Record<string, string | undefined>;
|
|
725
|
+
input?: string;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
interface URLPatternInit {
|
|
729
|
+
baseURL?: string;
|
|
730
|
+
hash?: string;
|
|
731
|
+
hostname?: string;
|
|
732
|
+
password?: string;
|
|
733
|
+
pathname?: string;
|
|
734
|
+
port?: string;
|
|
735
|
+
protocol?: string;
|
|
736
|
+
search?: string;
|
|
737
|
+
username?: string;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
interface URLPatternOptions {
|
|
741
|
+
ignoreCase?: boolean;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
interface URLPatternResult {
|
|
745
|
+
hash?: URLPatternComponentResult;
|
|
746
|
+
hostname?: URLPatternComponentResult;
|
|
747
|
+
inputs?: URLPatternInput[];
|
|
748
|
+
password?: URLPatternComponentResult;
|
|
749
|
+
pathname?: URLPatternComponentResult;
|
|
750
|
+
port?: URLPatternComponentResult;
|
|
751
|
+
protocol?: URLPatternComponentResult;
|
|
752
|
+
search?: URLPatternComponentResult;
|
|
753
|
+
username?: URLPatternComponentResult;
|
|
754
|
+
}
|
|
755
|
+
|
|
714
756
|
interface UnderlyingByteSource {
|
|
715
757
|
autoAllocateChunkSize?: number;
|
|
716
758
|
cancel?: UnderlyingSourceCancelCallback;
|
|
@@ -2310,7 +2352,7 @@ declare var CryptoKey: {
|
|
|
2310
2352
|
};
|
|
2311
2353
|
|
|
2312
2354
|
/**
|
|
2313
|
-
* The **`CustomEvent`** interface
|
|
2355
|
+
* The **`CustomEvent`** interface can be used to attach custom data to an event generated by an application.
|
|
2314
2356
|
*
|
|
2315
2357
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/CustomEvent)
|
|
2316
2358
|
*/
|
|
@@ -6520,57 +6562,6 @@ interface ReadableStreamGenericReader {
|
|
|
6520
6562
|
cancel(reason?: any): Promise<void>;
|
|
6521
6563
|
}
|
|
6522
6564
|
|
|
6523
|
-
/**
|
|
6524
|
-
* The `Report` interface of the Reporting API represents a single report.
|
|
6525
|
-
*
|
|
6526
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report)
|
|
6527
|
-
*/
|
|
6528
|
-
interface Report {
|
|
6529
|
-
/**
|
|
6530
|
-
* The **`body`** read-only property of the Report interface returns the body of the report, which is a `ReportBody` object containing the detailed report information.
|
|
6531
|
-
*
|
|
6532
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/body)
|
|
6533
|
-
*/
|
|
6534
|
-
readonly body: ReportBody | null;
|
|
6535
|
-
/**
|
|
6536
|
-
* The **`type`** read-only property of the Report interface returns the type of report generated, e.g., `deprecation` or `intervention`.
|
|
6537
|
-
*
|
|
6538
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/type)
|
|
6539
|
-
*/
|
|
6540
|
-
readonly type: string;
|
|
6541
|
-
/**
|
|
6542
|
-
* The **`url`** read-only property of the Report interface returns the URL of the document that generated the report.
|
|
6543
|
-
*
|
|
6544
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/Report/url)
|
|
6545
|
-
*/
|
|
6546
|
-
readonly url: string;
|
|
6547
|
-
toJSON(): any;
|
|
6548
|
-
}
|
|
6549
|
-
|
|
6550
|
-
declare var Report: {
|
|
6551
|
-
prototype: Report;
|
|
6552
|
-
new(): Report;
|
|
6553
|
-
};
|
|
6554
|
-
|
|
6555
|
-
/**
|
|
6556
|
-
* The **`ReportBody`** interface of the Reporting API represents the body of a report.
|
|
6557
|
-
*
|
|
6558
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody)
|
|
6559
|
-
*/
|
|
6560
|
-
interface ReportBody {
|
|
6561
|
-
/**
|
|
6562
|
-
* The **`toJSON()`** method of the ReportBody interface is a _serializer_, and returns a JSON representation of the `ReportBody` object.
|
|
6563
|
-
*
|
|
6564
|
-
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ReportBody/toJSON)
|
|
6565
|
-
*/
|
|
6566
|
-
toJSON(): any;
|
|
6567
|
-
}
|
|
6568
|
-
|
|
6569
|
-
declare var ReportBody: {
|
|
6570
|
-
prototype: ReportBody;
|
|
6571
|
-
new(): ReportBody;
|
|
6572
|
-
};
|
|
6573
|
-
|
|
6574
6565
|
/**
|
|
6575
6566
|
* The `ReportingObserver` interface of the Reporting API allows you to collect and access reports.
|
|
6576
6567
|
*
|
|
@@ -6920,7 +6911,7 @@ interface ServiceWorkerContainerEventMap {
|
|
|
6920
6911
|
*/
|
|
6921
6912
|
interface ServiceWorkerContainer extends EventTarget {
|
|
6922
6913
|
/**
|
|
6923
|
-
* The **`controller`** read-only property of the ServiceWorkerContainer interface
|
|
6914
|
+
* The **`controller`** read-only property of the ServiceWorkerContainer interface represents the active ServiceWorker controlling the current page (associated with this `ServiceWorkerContainer`), or `null` if the page has no active or activating service worker.
|
|
6924
6915
|
*
|
|
6925
6916
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/ServiceWorkerContainer/controller)
|
|
6926
6917
|
*/
|
|
@@ -7312,7 +7303,7 @@ declare var SubtleCrypto: {
|
|
|
7312
7303
|
};
|
|
7313
7304
|
|
|
7314
7305
|
/**
|
|
7315
|
-
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`,
|
|
7306
|
+
* The **`TextDecoder`** interface represents a decoder for a specific text encoding, such as `UTF-8`, `ISO-8859-2`, or `GBK`.
|
|
7316
7307
|
*
|
|
7317
7308
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextDecoder)
|
|
7318
7309
|
*/
|
|
@@ -7367,19 +7358,19 @@ declare var TextDecoderStream: {
|
|
|
7367
7358
|
};
|
|
7368
7359
|
|
|
7369
7360
|
/**
|
|
7370
|
-
* The **`TextEncoder`** interface
|
|
7361
|
+
* The **`TextEncoder`** interface enables you to character encoding a JavaScript string using UTF-8.
|
|
7371
7362
|
*
|
|
7372
7363
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder)
|
|
7373
7364
|
*/
|
|
7374
7365
|
interface TextEncoder extends TextEncoderCommon {
|
|
7375
7366
|
/**
|
|
7376
|
-
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the
|
|
7367
|
+
* The **`TextEncoder.encode()`** method takes a string as input, and returns a Global_Objects/Uint8Array containing the string character encoding using UTF-8.
|
|
7377
7368
|
*
|
|
7378
7369
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encode)
|
|
7379
7370
|
*/
|
|
7380
7371
|
encode(input?: string): Uint8Array;
|
|
7381
7372
|
/**
|
|
7382
|
-
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns
|
|
7373
|
+
* The **`TextEncoder.encodeInto()`** method takes a string to encode and a destination Uint8Array to put resulting UTF-8 encoded text into, and returns an object indicating the progress of the encoding.
|
|
7383
7374
|
*
|
|
7384
7375
|
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/TextEncoder/encodeInto)
|
|
7385
7376
|
*/
|
|
@@ -7666,6 +7657,86 @@ declare var URL: {
|
|
|
7666
7657
|
parse(url: string | URL, base?: string | URL): URL | null;
|
|
7667
7658
|
};
|
|
7668
7659
|
|
|
7660
|
+
/**
|
|
7661
|
+
* The **`URLPattern`** interface of the URL Pattern API matches URLs or parts of URLs against a pattern.
|
|
7662
|
+
*
|
|
7663
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern)
|
|
7664
|
+
*/
|
|
7665
|
+
interface URLPattern {
|
|
7666
|
+
/**
|
|
7667
|
+
* The **`hasRegExpGroups`** read-only property of the URLPattern interface is a boolean indicating whether or not any of the `URLPattern` components contain regular expression capturing groups.
|
|
7668
|
+
*
|
|
7669
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hasRegExpGroups)
|
|
7670
|
+
*/
|
|
7671
|
+
readonly hasRegExpGroups: boolean;
|
|
7672
|
+
/**
|
|
7673
|
+
* The **`hash`** read-only property of the URLPattern interface is a string containing the pattern used to match the fragment part of a URL.
|
|
7674
|
+
*
|
|
7675
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hash)
|
|
7676
|
+
*/
|
|
7677
|
+
readonly hash: string;
|
|
7678
|
+
/**
|
|
7679
|
+
* The **`hostname`** read-only property of the URLPattern interface is a string containing the pattern used to match the hostname part of a URL.
|
|
7680
|
+
*
|
|
7681
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/hostname)
|
|
7682
|
+
*/
|
|
7683
|
+
readonly hostname: string;
|
|
7684
|
+
/**
|
|
7685
|
+
* The **`password`** read-only property of the URLPattern interface is a string containing the pattern used to match the password part of a URL.
|
|
7686
|
+
*
|
|
7687
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/password)
|
|
7688
|
+
*/
|
|
7689
|
+
readonly password: string;
|
|
7690
|
+
/**
|
|
7691
|
+
* The **`pathname`** read-only property of the URLPattern interface is a string containing the pattern used to match the pathname part of a URL.
|
|
7692
|
+
*
|
|
7693
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/pathname)
|
|
7694
|
+
*/
|
|
7695
|
+
readonly pathname: string;
|
|
7696
|
+
/**
|
|
7697
|
+
* The **`port`** read-only property of the URLPattern interface is a string containing the pattern used to match the port part of a URL.
|
|
7698
|
+
*
|
|
7699
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/port)
|
|
7700
|
+
*/
|
|
7701
|
+
readonly port: string;
|
|
7702
|
+
/**
|
|
7703
|
+
* The **`protocol`** read-only property of the URLPattern interface is a string containing the pattern used to match the protocol part of a URL.
|
|
7704
|
+
*
|
|
7705
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/protocol)
|
|
7706
|
+
*/
|
|
7707
|
+
readonly protocol: string;
|
|
7708
|
+
/**
|
|
7709
|
+
* The **`search`** read-only property of the URLPattern interface is a string containing the pattern used to match the search part of a URL.
|
|
7710
|
+
*
|
|
7711
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/search)
|
|
7712
|
+
*/
|
|
7713
|
+
readonly search: string;
|
|
7714
|
+
/**
|
|
7715
|
+
* The **`username`** read-only property of the URLPattern interface is a string containing the pattern used to match the username part of a URL.
|
|
7716
|
+
*
|
|
7717
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/username)
|
|
7718
|
+
*/
|
|
7719
|
+
readonly username: string;
|
|
7720
|
+
/**
|
|
7721
|
+
* The **`exec()`** method of the URLPattern interface takes a URL or object of URL parts, and returns either an object containing the results of matching the URL to the pattern, or `null` if the URL does not match the pattern.
|
|
7722
|
+
*
|
|
7723
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/exec)
|
|
7724
|
+
*/
|
|
7725
|
+
exec(input?: URLPatternInput, baseURL?: string | URL): URLPatternResult | null;
|
|
7726
|
+
/**
|
|
7727
|
+
* The **`test()`** method of the URLPattern interface takes a URL or object of URL parts, and returns a boolean indicating if the given input matches the current pattern.
|
|
7728
|
+
*
|
|
7729
|
+
* [MDN Reference](https://developer.mozilla.org/docs/Web/API/URLPattern/test)
|
|
7730
|
+
*/
|
|
7731
|
+
test(input?: URLPatternInput, baseURL?: string | URL): boolean;
|
|
7732
|
+
}
|
|
7733
|
+
|
|
7734
|
+
declare var URLPattern: {
|
|
7735
|
+
prototype: URLPattern;
|
|
7736
|
+
new(input: URLPatternInput, baseURL: string | URL, options?: URLPatternOptions): URLPattern;
|
|
7737
|
+
new(input?: URLPatternInput, options?: URLPatternOptions): URLPattern;
|
|
7738
|
+
};
|
|
7739
|
+
|
|
7669
7740
|
/**
|
|
7670
7741
|
* The **`URLSearchParams`** interface defines utility methods to work with the query string of a URL.
|
|
7671
7742
|
*
|
|
@@ -11381,6 +11452,7 @@ type RequestInfo = Request | string;
|
|
|
11381
11452
|
type TexImageSource = ImageBitmap | ImageData | OffscreenCanvas;
|
|
11382
11453
|
type TimerHandler = string | Function;
|
|
11383
11454
|
type Transferable = OffscreenCanvas | ImageBitmap | MessagePort | ReadableStream | WritableStream | TransformStream | ArrayBuffer;
|
|
11455
|
+
type URLPatternInput = string | URLPatternInit;
|
|
11384
11456
|
type Uint32List = Uint32Array | GLuint[];
|
|
11385
11457
|
type XMLHttpRequestBodyInit = Blob | BufferSource | FormData | URLSearchParams | string;
|
|
11386
11458
|
type BinaryType = "arraybuffer" | "blob";
|