New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(types): remove the readonly modifier from 'SweetAlertOptions' #1996
Conversation
@limonte @toverux can I add the readonly modifier for the non updatable parameters? Not really related to this PR, but navigating deep into the code, I found this comment: sweetalert2/src/instanceMethods/update.js Line 14 in 88c4ae9
Is it outdated, right? Because I can't update preConfirm via |
No, it's not outdated. It's this one: #1778 |
Ahhh, got it!! :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @rafaelss95!
## [9.14.3](v9.14.2...v9.14.3) (2020-06-08) ### Bug Fixes * **types:** remove the readonly modifier from 'SweetAlertOptions' ([#1996](#1996)) ([12fbea0](12fbea0))
🎉 This PR is included in version 9.14.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [9.14.3](sweetalert2/sweetalert2@v9.14.2...v9.14.3) (2020-06-08) ### Bug Fixes * **types:** remove the readonly modifier from 'SweetAlertOptions' ([sweetalert2#1996](sweetalert2#1996)) ([74c630b](sweetalert2@74c630b))
Fixes #1983 (comment)