I need to call a normal javascript function from a typescripit file.
Assume that i have a javascript file names test.js and i have imported this file in the index.html of the application.
Now I need to call this
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
function from Dashbord.component.ts file.