Skip to content

Commit

Permalink
Add constructor to InstallEvent
Browse files Browse the repository at this point in the history
Closes w3c#1713.
  • Loading branch information
sisidovski committed Sep 27, 2024
1 parent 5408e2e commit b8bffc9
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 b8bffc9

Please sign in to comment.