Skip to content

Commit

Permalink
Add TSDoc for options parameter (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
busches authored Oct 9, 2021
1 parent ac02ad0 commit ec81f44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ function safeClosest(event: Event, selector: string): Element | void {

/**
* Delegates event to a selector.
* @param options A boolean value setting options.capture or an options object of type AddEventListenerOptions
*/
function delegate<
Selector extends string,
Expand Down

0 comments on commit ec81f44

Please sign in to comment.