You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Wrong typings for multiple XMLHttpRequestEventTarget Events #19830
From Typescript typings, payloads of onload, onabort and onloadstart are just Event instead.
From this same specification, onerror should also give us a Progress event. For now, we have an ErrorEvent instead, Exact same problem with the XMLHttpRequestEventTargetEventMap.
changed the title [-]Wrong typings for multiple XMLHttpRequestEventTarget callbacks[/-][+]Wrong typings for multiple XMLHttpRequestEventTarget Events[/+]on Nov 8, 2017
Activity
[-]Wrong typings for multiple XMLHttpRequestEventTarget callbacks[/-][+]Wrong typings for multiple XMLHttpRequestEventTarget Events[/+]mhegazy commentedon Nov 8, 2017
Looks like a regression from #8691 (was fixed in microsoft/TypeScript-DOM-lib-generator#144).
mhegazy commentedon Nov 8, 2017
PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.