@types/serviceworker 0.0.154 → 0.0.155

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 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.154 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.154.
31
+ You can read what changed in version 0.0.155 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fserviceworker%400.0.155.
package/index.d.ts CHANGED
@@ -743,8 +743,8 @@ interface Transformer<I = any, O = any> {
743
743
  }
744
744
 
745
745
  interface URLPatternComponentResult {
746
- groups?: Record<string, string | undefined>;
747
- input?: string;
746
+ groups: Record<string, string | undefined>;
747
+ input: string;
748
748
  }
749
749
 
750
750
  interface URLPatternInit {
@@ -764,15 +764,15 @@ interface URLPatternOptions {
764
764
  }
765
765
 
766
766
  interface URLPatternResult {
767
- hash?: URLPatternComponentResult;
768
- hostname?: URLPatternComponentResult;
769
- inputs?: URLPatternInput[];
770
- password?: URLPatternComponentResult;
771
- pathname?: URLPatternComponentResult;
772
- port?: URLPatternComponentResult;
773
- protocol?: URLPatternComponentResult;
774
- search?: URLPatternComponentResult;
775
- username?: URLPatternComponentResult;
767
+ hash: URLPatternComponentResult;
768
+ hostname: URLPatternComponentResult;
769
+ inputs: URLPatternInput[];
770
+ password: URLPatternComponentResult;
771
+ pathname: URLPatternComponentResult;
772
+ port: URLPatternComponentResult;
773
+ protocol: URLPatternComponentResult;
774
+ search: URLPatternComponentResult;
775
+ username: URLPatternComponentResult;
776
776
  }
777
777
 
778
778
  interface UnderlyingByteSource {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@types/serviceworker",
3
- "version": "0.0.154",
3
+ "version": "0.0.155",
4
4
  "description": "Types for the global scope of Service Workers",
5
5
  "license": "Apache-2.0",
6
6
  "contributors": [],
package/ts5.5/index.d.ts CHANGED
@@ -743,8 +743,8 @@ interface Transformer<I = any, O = any> {
743
743
  }
744
744
 
745
745
  interface URLPatternComponentResult {
746
- groups?: Record<string, string | undefined>;
747
- input?: string;
746
+ groups: Record<string, string | undefined>;
747
+ input: string;
748
748
  }
749
749
 
750
750
  interface URLPatternInit {
@@ -764,15 +764,15 @@ interface URLPatternOptions {
764
764
  }
765
765
 
766
766
  interface URLPatternResult {
767
- hash?: URLPatternComponentResult;
768
- hostname?: URLPatternComponentResult;
769
- inputs?: URLPatternInput[];
770
- password?: URLPatternComponentResult;
771
- pathname?: URLPatternComponentResult;
772
- port?: URLPatternComponentResult;
773
- protocol?: URLPatternComponentResult;
774
- search?: URLPatternComponentResult;
775
- username?: URLPatternComponentResult;
767
+ hash: URLPatternComponentResult;
768
+ hostname: URLPatternComponentResult;
769
+ inputs: URLPatternInput[];
770
+ password: URLPatternComponentResult;
771
+ pathname: URLPatternComponentResult;
772
+ port: URLPatternComponentResult;
773
+ protocol: URLPatternComponentResult;
774
+ search: URLPatternComponentResult;
775
+ username: URLPatternComponentResult;
776
776
  }
777
777
 
778
778
  interface UnderlyingByteSource {
package/ts5.6/index.d.ts CHANGED
@@ -743,8 +743,8 @@ interface Transformer<I = any, O = any> {
743
743
  }
744
744
 
745
745
  interface URLPatternComponentResult {
746
- groups?: Record<string, string | undefined>;
747
- input?: string;
746
+ groups: Record<string, string | undefined>;
747
+ input: string;
748
748
  }
749
749
 
750
750
  interface URLPatternInit {
@@ -764,15 +764,15 @@ interface URLPatternOptions {
764
764
  }
765
765
 
766
766
  interface URLPatternResult {
767
- hash?: URLPatternComponentResult;
768
- hostname?: URLPatternComponentResult;
769
- inputs?: URLPatternInput[];
770
- password?: URLPatternComponentResult;
771
- pathname?: URLPatternComponentResult;
772
- port?: URLPatternComponentResult;
773
- protocol?: URLPatternComponentResult;
774
- search?: URLPatternComponentResult;
775
- username?: URLPatternComponentResult;
767
+ hash: URLPatternComponentResult;
768
+ hostname: URLPatternComponentResult;
769
+ inputs: URLPatternInput[];
770
+ password: URLPatternComponentResult;
771
+ pathname: URLPatternComponentResult;
772
+ port: URLPatternComponentResult;
773
+ protocol: URLPatternComponentResult;
774
+ search: URLPatternComponentResult;
775
+ username: URLPatternComponentResult;
776
776
  }
777
777
 
778
778
  interface UnderlyingByteSource {