Skip to content

Commit

Permalink
Add constructor to InstallEvent (#1729)
Browse files Browse the repository at this point in the history
Closes #1713.
  • Loading branch information
sisidovski authored Sep 27, 2024
1 parent 5408e2e commit 9dbcd10
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1563,6 +1563,7 @@ spec: storage; urlPrefix: https://storage.spec.whatwg.org/
<pre class="idl">
[Exposed=ServiceWorker]
interface InstallEvent : ExtendableEvent {
constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
Promise&lt;undefined&gt; addRoutes((RouterRule or sequence&lt;RouterRule&gt;) rules);
};

Expand Down

0 comments on commit 9dbcd10

Please sign in to comment.