fix(service-worker): Fix public api guard typing (#25860)

PR Close #25860
This commit is contained in:
Joost Zöllner
2018-09-28 10:28:53 +02:00
committed by Kara Erickson
parent 10618752e6
commit 4a01ada291
8 changed files with 29 additions and 29 deletions

View File

@ -8,7 +8,12 @@ export declare class ServiceWorkerModule {
export declare class SwPush {
readonly isEnabled: boolean;
readonly messages: Observable<object>;
readonly messagesClicked: Observable<{ action: string; notification: NotificationObject }>;
readonly notificationClicks: Observable<{
action: string;
notification: NotificationOptions & {
title: string;
};
}>;
readonly subscription: Observable<PushSubscription | null>;
constructor(sw: NgswCommChannel);
requestSubscription(options: {