package.dist.decorators.event.d.ts Maven / Gradle / Ivy
/**
* Returns an event class decorator.
*
* @param { string } name the event name
* @param { EventData } data the event data
* @returns { ClassDecorator }
*/
declare const event: (name: string, data?: {
detail?: Record | undefined;
}) => ClassDecorator;
export default event;