Andrey Antukh ec1af4ad96 🎉 Import penpot-plugins repository
As commit 819a549e4928d2b1fa98e52bee82d59aec0f70d8
2025-12-30 14:56:15 +01:00

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;