UNPKG

@versatiledatakit/shared

Version:

Versatile Data Kit Shared library enables reusability of shared features like: NgRx Redux, Error Handlers, Utils, Generic Components, etc.

29 lines (28 loc) 607 B
import { Comparable, ComparableImpl } from '../../../../common'; import { SystemEvent } from './event-helper'; /** * @inheritDoc */ export declare class SystemEventComparable extends ComparableImpl<{ eventId: SystemEvent; payload: unknown; }> { /** * ** Constructor. */ constructor(value: { eventId: string; payload: unknown; }); /** * ** Factory method. */ static of(value: { eventId: string; payload: unknown; }): SystemEventComparable; /** * @inheritDoc */ compare(comparable: Comparable): number; }