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

lib.es6.d.ts for file reader event is inaccurate #12102

Closed
AmitMY opened this issue Nov 8, 2016 · 2 comments
Closed

lib.es6.d.ts for file reader event is inaccurate #12102

AmitMY opened this issue Nov 8, 2016 · 2 comments
Labels
Duplicate An existing issue was already created

Comments

@AmitMY
Copy link

AmitMY commented Nov 8, 2016

TypeScript Version: Latest

File lib.es6.d.ts.

Code

let reader = new FileReader();
reader.onload = e => fileObj.src = e.target.result;

Expected behavior:
Not an error

Actual behavior:

Unresolved variable 'result'

Description:

interface Event has target: EventTarget;
And
interface EventTarget does not have result

@mhegazy
Copy link
Contributor

mhegazy commented Dec 16, 2016

looks like the same root cause as #299.

@mhegazy mhegazy added the Duplicate An existing issue was already created label Dec 16, 2016
@zhengbli
Copy link
Contributor

zhengbli commented Mar 1, 2017

Should be covered by microsoft/TypeScript-DOM-lib-generator#207

@mhegazy mhegazy closed this as completed Apr 21, 2017
@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
Duplicate An existing issue was already created
Projects
None yet
Development

No branches or pull requests

3 participants