Fix more types around notifications
This commit is contained in:
parent
0e749e32ac
commit
fd5a36fd0c
2 changed files with 56 additions and 63 deletions
|
@ -29,7 +29,7 @@ export class NotificationUtils {
|
|||
// "highlight: true/false,
|
||||
// }
|
||||
// to a list of push actions.
|
||||
static encodeActions(action: IEncodedActions) {
|
||||
static encodeActions(action: IEncodedActions): PushRuleAction[] {
|
||||
const notify = action.notify;
|
||||
const sound = action.sound;
|
||||
const highlight = action.highlight;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue