I try to change this jquery
$('.myOwnClass').removeClass('myOwnClass').unbind('dblclick');
for use in vanillajs / typescript. I can remove the class with the following code. But the unbind I do not know so far
const myList = document.querySelector('.myOwnClass') as HTMLElement;
myList.classList.remove('myOwnClass');