feat(service-worker): Add typing for messagesClicked in SwPush service (#25860)
- Properly type messagesClicked Observable stream - Add new NotificationObject interface PR Close #25860
This commit is contained in:

committed by
Kara Erickson

parent
1aca54da06
commit
c78c221028
@ -52,6 +52,10 @@ interface StatusEvent {
|
||||
error?: string;
|
||||
}
|
||||
|
||||
export interface NotificationObject extends NotificationOptions {
|
||||
title: string;
|
||||
}
|
||||
|
||||
|
||||
function errorObservable(message: string): Observable<any> {
|
||||
return defer(() => throwError(new Error(message)));
|
||||
|
Reference in New Issue
Block a user