delegate-it
Advanced tools
Comparing version 6.2.0 to 6.2.1
@@ -14,4 +14,4 @@ import type { ParseSelector } from 'typed-query-selector/parser.d.js'; | ||
*/ | ||
declare function delegate<Selector extends string, TElement extends Element = ParseSelector<Selector, HTMLElement>, TEventType extends EventType = EventType>(selector: Selector | Selector[], type: TEventType, callback: DelegateEventHandler<GlobalEventHandlersEventMap[TEventType], TElement>, options?: DelegateOptions): void; | ||
declare function delegate<TElement extends Element = HTMLElement, TEventType extends EventType = EventType>(selector: string | string[], type: TEventType, callback: DelegateEventHandler<GlobalEventHandlersEventMap[TEventType], TElement>, options?: DelegateOptions): void; | ||
declare function delegate<Selector extends string, TElement extends Element = ParseSelector<Selector, HTMLElement>, TEventType extends EventType = EventType>(selector: Selector | readonly Selector[], type: TEventType, callback: DelegateEventHandler<GlobalEventHandlersEventMap[TEventType], TElement>, options?: DelegateOptions): void; | ||
declare function delegate<TElement extends Element = HTMLElement, TEventType extends EventType = EventType>(selector: string | readonly string[], type: TEventType, callback: DelegateEventHandler<GlobalEventHandlersEventMap[TEventType], TElement>, options?: DelegateOptions): void; | ||
export default delegate; |
{ | ||
"name": "delegate-it", | ||
"version": "6.2.0", | ||
"version": "6.2.1", | ||
"description": "Lightweight and modern event delegation in the browser", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
10960
114