mirror of
https://github.com/penpot/penpot.git
synced 2026-11-11 20:40:34 +00:00
8 lines
211 B
TypeScript
8 lines
211 B
TypeScript
import { EventsMap } from '@penpot/plugin-types';
|
|
|
|
export type RegisterListener = <K extends keyof EventsMap>(
|
|
type: K,
|
|
event: (arg: EventsMap[K]) => void,
|
|
props?: { [key: string]: unknown },
|
|
) => symbol;
|