So the following code is in Angular 4 and I can\'t figure out why it doesn\'t work the way as expected.
Here is a snippet of my handler:
onUpdatingSe
add any type to event
event: any
example
[element].addEvenListener('mousemove', (event: any) =>{
//CODE//
} )
what happens is that typescript adds event as Event type and for some reason it doesn't recognize some properties. Adding it of type any no longer exists this problem, this works for any document.[Property]