sweetalert
sweetalert copied to clipboard
error fixed for swal to _swal for angular 7 & above
Error fixed for the following error on angular
`ERROR in node_modules/SweetAlert/typings/sweetalert.d.ts:4:10 - error TS2403: Subsequent variable declarations must have the same type. Variable 'swal' must be of type 'typeof import("E:/projects/New folder/certistore/node_modules/SweetAlert/typings/sweetalert")', but here has type 'SweetAlert'.
4 const swal: SweetAlert; ~~~~
node_modules/SweetAlert/typings/sweetalert.d.ts:1:1 1 import swal, { SweetAlert } from "./core"; ~~~~~~ 'swal' was also declared here.`
Will this be fixed anytime soon. this is pending for so long. Do anyone has a workround where we dont have to change this file.
Think anyone doesn't have any other option than to change the file.
Please merge this change