I'm relatively new to Angular2 so please bear with me.
I attempted to implement Alertify.js in my Angular2 project for a custom dialog box, but I am encountering difficulties getting Alertify to work properly. Since I lack deep knowledge of JavaScript, I tried to incorporate alertify.js into TypeScript or create a module using the alertify.js file.
I came across information about using .d.ts files and even found the alertify.d.ts file on GitHub, but I'm struggling with how to actually implement it. Despite numerous attempts, I have not been successful.
Is there anyone who can assist me with this issue or suggest an alternative solution for creating a custom dialog box?