docs(service-worker): update default value of SwRegistrationOptions#registrationStrategy (#37555)

The default value was changed from `registerWhenStable` to
`registerWhenStable:30000` in 29e8a64cf0,
but the decumentation was not updated to reflect that.

This commit updates the documentation to mention the correct default
value.

PR Close #37555
This commit is contained in:
George Kalpakas
2020-06-13 10:55:53 +03:00
committed by Misko Hevery
parent e99bcbb4d4
commit bcc0a035cc
2 changed files with 3 additions and 5 deletions

View File

@ -70,7 +70,7 @@ export abstract class SwRegistrationOptions {
* The function will be used at runtime to obtain and subscribe to the `Observable` and the
* ServiceWorker will be registered as soon as the first value is emitted.
*
* Default: 'registerWhenStable'
* Default: 'registerWhenStable:30000'
*/
registrationStrategy?: string|(() => Observable<unknown>);
}