Help, the truth is that I'm doing a responsive sidebar and since I have this code that I got from the internet, however, I need to translate it to typescript so I can use it in a wide-angle project that I'm doing.
No more the code
$(document).ready(function () {
$("#sidebar").mCustomScrollbar({
theme: "minimal"
});
$('#sidebarCollapse').on('click', function () {
$('#sidebar, #content').toggleClass('active');
$('.collapse.in').toggleClass('in');
$('a[aria-expanded=true]').attr('aria-expanded', 'false');
});
});