docs(service-worker): fix typos in `SwRegistrationOptions` API docs (#38047)
PR Close #38047
This commit is contained in:
parent
bf641e1b4b
commit
24b420527a
|
@ -48,12 +48,12 @@ export abstract class SwRegistrationOptions {
|
||||||
* with the browser.
|
* with the browser.
|
||||||
*
|
*
|
||||||
* The default behavior of registering once the application stabilizes (i.e. as soon as there are
|
* The default behavior of registering once the application stabilizes (i.e. as soon as there are
|
||||||
* no pending micro- and macro-tasks), is designed register the ServiceWorker as soon as possible
|
* no pending micro- and macro-tasks) is designed to register the ServiceWorker as soon as
|
||||||
* but without affecting the application's first time load.
|
* possible but without affecting the application's first time load.
|
||||||
*
|
*
|
||||||
* Still, there might be cases where you want more control over when the ServiceWorker is
|
* Still, there might be cases where you want more control over when the ServiceWorker is
|
||||||
* registered (e.g. there might be a long-running timeout or polling interval, preventing the app
|
* registered (for example, there might be a long-running timeout or polling interval, preventing
|
||||||
* to stabilize). The available option are:
|
* the app from stabilizing). The available option are:
|
||||||
*
|
*
|
||||||
* - `registerWhenStable:<timeout>`: Register as soon as the application stabilizes (no pending
|
* - `registerWhenStable:<timeout>`: Register as soon as the application stabilizes (no pending
|
||||||
* micro-/macro-tasks) but no later than `<timeout>` milliseconds. If the app hasn't
|
* micro-/macro-tasks) but no later than `<timeout>` milliseconds. If the app hasn't
|
||||||
|
|
Loading…
Reference in New Issue