Hi,
I'm building an interactive graph using D3 and typescript. But I have trouble to get typescript support for: d3.event.pageX
and d3.event.pageY
.
Property 'pageX' does not exist on type 'Event'
Property 'pageX' does not exist on type 'Event'
I'm new to the typescript world. So I'm not sure this is something missing in the definition or simply because I used it wrong.
Thanks
@HelloBugs please send a pull reuqest. I'll review it.
Was anything else done to resolve this? It is still an issue as I get the same transpile errors as above.
solved this by using<any>d3.event
for detail: https://stackoverflow.com/questions/38019090/cant-transpile-typescript-due-to-d3-event-error
Most helpful comment
Was anything else done to resolve this? It is still an issue as I get the same transpile errors as above.