Title: Blob property is missing on Window interface · Issue #8866 · microsoft/TypeScript · GitHub
Open Graph Title: Blob property is missing on Window interface · Issue #8866 · microsoft/TypeScript
X Title: Blob property is missing on Window interface · Issue #8866 · microsoft/TypeScript
Description: 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...
Open Graph Description: 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 ...
X Description: 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 a...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/8866
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Blob property is missing on Window interface","articleBody":"**TypeScript Version:** \n\n1.8.10\n\n**Code**\n\n``` ts\nnew window.Blob();\n```\n\n**Expected behavior:**\ncompiled\n\n**Actual behavior:** \nerror TS2339: Property 'Blob' does not exist on type 'Window'.\n\n**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.\n","author":{"url":"https://github.com/zuzusik","@type":"Person","name":"zuzusik"},"datePublished":"2016-05-27T21:57:52Z","url":"https://github.com/microsoft/TypeScript/issues/8866"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:551a098e-f54f-1c49-3ab7-ab97db921481 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DFD4:B53AF:270813B:33FD771:6B01AB37 |
| html-safe-nonce | 2d2e36eb520890a47958c30260de3d4ce748b17ac88287fa793c8f7037d08bbd |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERkQ0OkI1M0FGOjI3MDgxM0I6MzNGRDc3MTo2QjAxQUIzNyIsInZpc2l0b3JfaWQiOiI0NzA1MzQ4MjQwMzU3MzA1MTQzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 48376de2bfed590d460cddc75e7889fbc0bf96ab148436b7c712172e29af60c7 |
| hovercard-subject-tag | issue:157297720 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/8866/issue_layout |
| twitter:image | https://opengraph.githubassets.com/25a555c90415f566a14e62d0754a143593de1123ead009b7071a0dee2198b0a9/microsoft/TypeScript/issues/8866 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/25a555c90415f566a14e62d0754a143593de1123ead009b7071a0dee2198b0a9/microsoft/TypeScript/issues/8866 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zuzusik |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width