Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

d3.event.pageX #4590

Closed
victor-guoyu opened this issue Jun 9, 2015 · 3 comments
Closed

d3.event.pageX #4590

victor-guoyu opened this issue Jun 9, 2015 · 3 comments

Comments

@victor-guoyu
Copy link

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

@vvakame
Copy link
Member

vvakame commented Jun 14, 2015

@HelloBugs please send a pull reuqest. I'll review it.

@vvakame vvakame closed this as completed Jun 14, 2015
@Geoff-Ford
Copy link

Was anything else done to resolve this? It is still an issue as I get the same transpile errors as above.

@gebeng
Copy link

gebeng commented May 20, 2019

solved this by using <any>d3.event
for detail: https://stackoverflow.com/questions/38019090/cant-transpile-typescript-due-to-d3-event-error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants