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

Missing definitions for events related to <input type='field' ...> #7176

Closed
simonh1000 opened this issue Feb 21, 2016 · 3 comments
Closed

Missing definitions for events related to <input type='field' ...> #7176

simonh1000 opened this issue Feb 21, 2016 · 3 comments
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Duplicate An existing issue was already created Help Wanted You can do this

Comments

@simonh1000
Copy link

TypeScript Version:

1.7.5

Code

           var reader = new FileReader();

            reader.onload = function(evt) {
                // console.log(evt.target.result);
                debugger;
                resolve(evt.target.result);
                // resolve(evt.srcElement.result);
            };

Expected behavior:
code should pass typescript check

Actual behavior:
the .result fields are being marked as does not exist on EventTarget / Element

@RyanCavanaugh RyanCavanaugh added Bug A bug in TypeScript Help Wanted You can do this Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript labels Feb 22, 2016
@RyanCavanaugh
Copy link
Member

@RyanCavanaugh RyanCavanaugh added this to the Community milestone Feb 22, 2016
@YuichiNukiyama
Copy link
Contributor

This issue relate to #299, #4163

@mhegazy
Copy link
Contributor

mhegazy commented Feb 23, 2016

looks like a duplicate of #4163

@mhegazy mhegazy closed this as completed Feb 23, 2016
@mhegazy mhegazy added the Duplicate An existing issue was already created label Feb 23, 2016
@mhegazy mhegazy removed this from the Community milestone Apr 26, 2018
@microsoft microsoft locked and limited conversation to collaborators Jul 31, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug A bug in TypeScript Domain: lib.d.ts The issue relates to the different libraries shipped with TypeScript Duplicate An existing issue was already created Help Wanted You can do this
Projects
None yet
Development

No branches or pull requests

4 participants