Files
Webklar.com/node_modules/embla-carousel/cjs/components/EventStore.d.ts
Basilosaurusrex f027651f9b main repo
2025-11-24 18:09:40 +01:00

10 lines
429 B
TypeScript

type EventNameType = keyof DocumentEventMap | keyof WindowEventMap;
type EventHandlerType = (evt: any) => void;
type EventOptionsType = boolean | AddEventListenerOptions | undefined;
export type EventStoreType = {
add: (node: EventTarget, type: EventNameType, handler: EventHandlerType, options?: EventOptionsType) => EventStoreType;
clear: () => void;
};
export declare function EventStore(): EventStoreType;
export {};