Blob property is missing on Window interface #8866
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
Milestone
TypeScript Version:
1.8.10
Code
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 fromwindow
in order to be able to mock this method in Angular unit tests by mocking$window
service.The text was updated successfully, but these errors were encountered: