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

Blob property is missing on Window interface #8866

Closed
zuzusik opened this issue May 27, 2016 · 1 comment
Closed

Blob property is missing on Window interface #8866

zuzusik opened this issue May 27, 2016 · 1 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

Comments

@zuzusik
Copy link

zuzusik commented May 27, 2016

TypeScript Version:

1.8.10

Code

new window.Blob();

Expected behavior:
compiled

Actual behavior:
error TS2339: Property 'Blob' does not exist on type 'Window'.

PS: new Blob() works as expected, but I want to access it from window in order to be able to mock this method in Angular unit tests by mocking $window service.

@mhegazy
Copy link
Contributor

mhegazy commented Jun 4, 2016

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 added this to the Community milestone Jun 4, 2016
@mhegazy mhegazy 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 Jun 4, 2016
@mhegazy mhegazy modified the milestones: TypeScript 2.0, Community Jun 6, 2016
@mhegazy mhegazy reopened this Jun 6, 2016
@zhengbli zhengbli added Fixed A PR has been merged for this issue and removed Fixed in TSJS repo labels Jun 17, 2016
@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
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

Successfully merging a pull request may close this issue.

3 participants