microsoft / microsoft/TypeScript
Document.onmousewheel event was removed from typescript
Nessuno ha ancora preso questa issue.
- Lingua principale
- Go
- Stelle
- 111k
- Fork
- 14.4k
- Merge medio
- 1g 19h
- PR unite (30g)
- 117
Descrizione
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:
https://github.com/Microsoft/TypeScript/commit/79e5e79ef7724066889fbce97e9e6d6db4e746b5#diff-46fd87925e4552c166ec188712741c3f
I was wondering if it's a mistake or if there was a reason for the removal.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando le dichiarazioni di Document in lib.dom.d.ts e il commit collegato che ha rimosso onmousewheel. Riproduci l'errore IntelliSense o tsc segnalato con la versione di TypeScript descritta, quindi determina se l'evento DOM dovrebbe essere presente; il lavoro è completato quando il comportamento previsto della dichiarazione è stabilito e coperto dai controlli TypeScript pertinenti.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- typescript
- Ambito
- web-dev
- Tipo di issue
- Bug
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100