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

MediaQueryListListener interface definition incorrect #14703

Closed
emartinpi opened this issue Mar 17, 2017 · 1 comment
Closed

MediaQueryListListener interface definition incorrect #14703

emartinpi opened this issue Mar 17, 2017 · 1 comment
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

@emartinpi
Copy link

emartinpi commented Mar 17, 2017

TypeScript Version: 2.3.0

Looking at lib.es6.d.ts we have

interface MediaQueryListListener {
    (mqlMediaQueryList)void;
}

Expected behavior:
and it should be

interface MediaQueryListListener {
    (mqlMediaQueryListEvent)void;
}

MediaQueryListEvent should be defined as well because it does not exist

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

mhegazy commented Mar 17, 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.

@emartinpi emartinpi reopened this Mar 19, 2017
@mhegazy mhegazy added this to the Community milestone Jan 4, 2018
@mhegazy mhegazy modified the milestones: Community, TypeScript 3.0 Jun 6, 2018
@mhegazy mhegazy self-assigned this Jun 6, 2018
@mhegazy mhegazy added the Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet label Jun 6, 2018
@mhegazy mhegazy modified the milestones: TypeScript 3.0, TypeScript 3.1 Jul 3, 2018
@mhegazy mhegazy added Fixed A PR has been merged for this issue and removed Fixed A PR has been merged for this issue labels Jul 25, 2018
@mhegazy mhegazy removed the Fixed in TSJS repo Fix merged in https://github.com/Microsoft/TSJS-lib-generator, but not ported yet label Jul 31, 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