diff --git a/platform/core/src/services/_shared/pubSubServiceInterface.ts b/platform/core/src/services/_shared/pubSubServiceInterface.ts index 15bf7a476..822f969af 100644 --- a/platform/core/src/services/_shared/pubSubServiceInterface.ts +++ b/platform/core/src/services/_shared/pubSubServiceInterface.ts @@ -89,6 +89,13 @@ function _broadcastEvent(eventName, callbackProps) { /** Export a PubSubService class to be used instead of the individual items */ export class PubSubService { + EVENTS: any; + subscribe: (eventName: string, callback: Function) => { unsubscribe: () => any; }; + _broadcastEvent: (eventName: string, callbackProps: any) => void; + _unsubscribe: (eventName: string, listenerId: string) => void; + _isValidEvent: (eventName: string) => boolean; + listeners: {}; + unsubscriptions: any[]; constructor(EVENTS) { this.EVENTS = EVENTS; this.subscribe = subscribe;