Skip to content

MessagePort type definition is missing support for 'messageerror' event type #24059

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

Closed
farooqu opened this issue May 11, 2018 · 1 comment
Closed
Assignees
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Fixed A PR has been merged for this issue Help Wanted You can do this

Comments

@farooqu
Copy link

farooqu commented May 11, 2018

TypeScript Version: 2.9.0-dev.201xxxxx

Search Terms: MessagePort

The MessagePort spec says that the event handler types that must be supported by any implementation of MessagePort are 'message' and 'messageerror'.

The MessagePort type definition needs to have the 'messageerror' event type added since it is missing.

https://html.spec.whatwg.org/multipage/web-messaging.html#handler-messageport-onmessageerror

@mhegazy mhegazy added Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this labels May 11, 2018
@mhegazy mhegazy added this to the Community milestone May 11, 2018
@mhegazy
Copy link
Contributor

mhegazy commented May 11, 2018

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.

@mhegazy mhegazy modified the milestones: Community, TypeScript 3.0 May 16, 2018
@mhegazy mhegazy self-assigned this May 16, 2018
@mhegazy mhegazy added the Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet label May 16, 2018
@mhegazy mhegazy added Fixed A PR has been merged for this issue and removed Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet labels Jun 5, 2018
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 Fixed A PR has been merged for this issue Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

2 participants