Attempting to activate horizontal scrolling via mouse wheel using TypeScript has presented a challenge. It seems that updating the value of deltaX is not permitted within TypeScript. Any suggestions or solutions for this issue? Here is a snippet of my code:
`document.querySelector('#tab-primary-wrapper .inner-wrapper').addEventListener('mousewheel', function(e: WheelEvent) {
this.deltaX -= (e.deltaY);
e.preventDefault();
},
`