Microsoft/TypeScript
Ver no GitHubRequest to change currentTarget in Event interface for lib.d.ts
Open
#299 aberto em 29 de jul. de 2014
Domain: lib.d.tsHelp WantedSuggestion
Métricas do repositório
- Stars
- (48.455 stars)
- Métricas de merge de PR
- (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)
Description
When using the Event interface from lib.d.ts, and attaching a listener, the callback will get an object of type Event. However, the Event's currentTarget property is of type EventTarget (whereas it's should be of type Element/HTMLElement).