Skip to content
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

const swal: SweetAlert; #984

Open
juandps opened this issue Mar 12, 2022 · 1 comment
Open

const swal: SweetAlert; #984

juandps opened this issue Mar 12, 2022 · 1 comment

Comments

@juandps
Copy link

juandps commented Mar 12, 2022

ERROR in node_modules/sweetalert/typings/sweetalert.d.ts:4:9 - error TS2403: Subsequent variable declarations must have the same type. Variable 'swal' must be of type 'typeof import("/Users/juan/bookifiweb/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.

@allexwentworthok
Copy link

@juandps @nixta @cmingxu They're solve this problem???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants