UNPKG

@addapptables/microservice

Version:
10 lines (9 loc) 334 B
import { IEvent } from './interfaces/events/event.interface'; import { IEventDto } from './interfaces/events/event-dto.interface'; export declare class Event<T extends IEventDto> implements IEvent<T> { readonly data: T; readonly cid?: string; context: string; action: string; constructor(data: T, cid?: string); }