UNPKG

@teambit/workspace

Version:
18 lines (14 loc) 473 B
/* eslint-disable max-classes-per-file */ import { BitBaseEvent } from '@teambit/pubsub'; class OnComponentRemovedEventData { constructor(readonly idStr) {} } export class OnComponentRemovedEvent extends BitBaseEvent<OnComponentRemovedEventData> { static readonly TYPE = 'on-component-removed'; constructor( readonly timestamp, readonly idStr ) { super(OnComponentRemovedEvent.TYPE, '0.0.1', timestamp, new OnComponentRemovedEventData(idStr)); } }