From 9f82e7f7fc2f0b734884c0da6a5ca8dbd25a6423 Mon Sep 17 00:00:00 2001 From: RMidhunSuresh Date: Thu, 2 Dec 2021 11:17:41 +0530 Subject: [PATCH] Add proper type --- src/matrix/push/Pusher.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/matrix/push/Pusher.ts b/src/matrix/push/Pusher.ts index f9a35a2c..9f970322 100644 --- a/src/matrix/push/Pusher.ts +++ b/src/matrix/push/Pusher.ts @@ -32,8 +32,8 @@ export interface IPusherDescription { interface IPusherData { format?: string; url?: string; - // todo: where did this come from? - endpoint?: string; + endpoint?: PushSubscriptionJSON["endpoint"]; + keys?: PushSubscriptionJSON["keys"]; } export class Pusher {