Skip to content

Commit

Permalink
fix(types): inputValue can be number or boolean (#2083)
Browse files Browse the repository at this point in the history
* Update sweetalert2.d.ts

* Update sweetalert2.d.ts
  • Loading branch information
gavinr committed Oct 13, 2020
1 parent 132102d commit fa1ac2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sweetalert2.d.ts
Expand Up @@ -928,7 +928,7 @@ declare module 'sweetalert2' {
*
* @default ''
*/
inputValue?: SyncOrAsync<string>;
inputValue?: SyncOrAsync<string | number | boolean>;

/**
* If the `input` parameter is set to `'select'` or `'radio'`, you can provide options.
Expand Down

0 comments on commit fa1ac2b

Please sign in to comment.