Skip to content

Commit

Permalink
fix(types): allow target to be null
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Sep 25, 2023
1 parent 773e807 commit 82a40d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sweetalert2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ declare module 'sweetalert2' {
*
* @default 'body'
*/
target?: string | HTMLElement
target?: string | HTMLElement | null

/**
* Input field type, can be `'text'`, `'email'`, `'password'`, `'number'`, `'tel'`, `'range'`, `'textarea'`,
Expand Down

0 comments on commit 82a40d5

Please sign in to comment.