Skip to content

Commit

Permalink
fix(types): make bindClickHandler()'s param optional
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Sep 26, 2023
1 parent 03806b7 commit de5f162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sweetalert2.d.ts
Expand Up @@ -292,7 +292,7 @@ declare module 'sweetalert2' {
*
* @param attribute The attribute name to search for, defaults to `data-swal-template`
*/
function bindClickHandler(attribute: string): void
function bindClickHandler(attribute?: string): void

/**
* Determines if a given parameter name is valid.
Expand Down

0 comments on commit de5f162

Please sign in to comment.