Skip to content

Commit ee340b7

Browse files
gkalpakAndrewKushnir
authored andcommitted
docs(service-worker): fix typos in SwRegistrationOptions API docs (angular#38047)
PR Close angular#38047
1 parent 17ddab9 commit ee340b7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/service-worker/src/module.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ export abstract class SwRegistrationOptions {
4848
* with the browser.
4949
*
5050
* The default behavior of registering once the application stabilizes (i.e. as soon as there are
51-
* no pending micro- and macro-tasks), is designed register the ServiceWorker as soon as possible
52-
* but without affecting the application's first time load.
51+
* no pending micro- and macro-tasks) is designed to register the ServiceWorker as soon as
52+
* possible but without affecting the application's first time load.
5353
*
5454
* Still, there might be cases where you want more control over when the ServiceWorker is
55-
* registered (e.g. there might be a long-running timeout or polling interval, preventing the app
56-
* to stabilize). The available option are:
55+
* registered (for example, there might be a long-running timeout or polling interval, preventing
56+
* the app from stabilizing). The available option are:
5757
*
5858
* - `registerWhenStable:<timeout>`: Register as soon as the application stabilizes (no pending
5959
* micro-/macro-tasks) but no later than `<timeout>` milliseconds. If the app hasn't

0 commit comments

Comments
 (0)