Fix more types around notifications

This commit is contained in:
Travis Ralston 2021-07-12 21:48:20 -06:00
parent 0e749e32ac
commit fd5a36fd0c
2 changed files with 56 additions and 63 deletions

View file

@ -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;