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

Document.onmousewheel event was removed from typescript #30067

Open
Slash7GNR opened this issue Feb 24, 2019 · 2 comments
Open

Document.onmousewheel event was removed from typescript #30067

Slash7GNR opened this issue Feb 24, 2019 · 2 comments
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript
Milestone

Comments

@Slash7GNR
Copy link

Slash7GNR commented Feb 24, 2019

TypeScript Version: 3.4.0-dev.201xxxxx

Search Terms:

Code

// A *self-contained* demonstration of the problem follows...
// Test this by running `tsc` on the command-line, rather than through another build tool such as Gulp, Webpack, etc.

Expected behavior:
document.onmousewheel should be existed.

Actual behavior:
Intellisense & on build getting an error: Property 'onmousewheel' does not exist on type 'Document'.

Playground Link:

Related Issues:
I've noticed that this event was removed on the following commit from lib.dom.d.ts:
79e5e79#diff-46fd87925e4552c166ec188712741c3f

I was wondering if it's a mistake or if there was a reason for the removal.

@Slash7GNR
Copy link
Author

Slash7GNR commented Feb 24, 2019

I saw it was transferred to the Window.

@Slash7GNR Slash7GNR reopened this Feb 24, 2019
@RyanCavanaugh RyanCavanaugh added the Bug A bug in TypeScript label Feb 27, 2019
@RyanCavanaugh RyanCavanaugh added the Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript label Feb 27, 2019
@RyanCavanaugh RyanCavanaugh added this to the Backlog milestone Mar 14, 2019
@sandersn sandersn removed their assignment Jan 7, 2020
@kungfooman
Copy link

Any work on this? It just creates useless/wrong errors:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript
Projects
None yet
Development

No branches or pull requests

4 participants