Add proper type

This commit is contained in:
RMidhunSuresh 2021-12-02 11:17:41 +05:30
parent 3d9fbb685a
commit 9f82e7f7fc

View File

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