import { TemplateRef } from '@angular/core' ; import { PubSubEvent } from './pub-sub-event' ; export class GlobalDialogEvent extends PubSubEvent < GlobalDialogPayload > { public eventType = 'OpenGlobalDialogEvent' ; } export class GlobalDialogPayload { constructor ( public dto ) { this . dto = dto ; } }