refactor(service-worker): DRY up SW registration logic (#21842)
PR Close #21842
This commit is contained in:

committed by
Andrew Kushnir

parent
4cfba58072
commit
8f120aff33
@ -21,7 +21,7 @@ export declare class SwPush {
|
||||
|
||||
export declare abstract class SwRegistrationOptions {
|
||||
enabled?: boolean;
|
||||
registrationStrategy?: (() => Observable<any>) | string;
|
||||
registrationStrategy?: string | (() => Observable<unknown>);
|
||||
scope?: string;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user