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

Update lib.d.ts with this parameters for event handlers #9374

Closed
sandersn opened this issue Jun 27, 2016 · 2 comments
Closed

Update lib.d.ts with this parameters for event handlers #9374

sandersn opened this issue Jun 27, 2016 · 2 comments
Labels
Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this Suggestion An idea for TypeScript

Comments

@sandersn
Copy link
Member

Expected:

Intellisense from this

// @filename: lib.d.ts
onclick: (this: this, ev: MouseEvent) => any;
// @filename: test.ts
document.documentElement.onclick = function () {
    this./**/
}

Actual:
No intellisense from this:

onclick: (ev: MouseEvent) => any;
@mhegazy mhegazy added Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Suggestion An idea for TypeScript Help Wanted You can do this labels Jun 27, 2016
@sandersn
Copy link
Member Author

microsoft/TypeScript-DOM-lib-generator#126 will address this.

@sandersn
Copy link
Member Author

#9401 fixes this.

@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Help Wanted You can do this Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants