{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/4902","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/4902/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/4902/comments","events_url":"https://api.github.com/repos/angular/angular/issues/4902/events","html_url":"https://github.com/angular/angular/issues/4902","id":113259221,"number":4902,"title":"Issue with typings in WebWorker bundle","user":{"login":"jteplitz602","id":193422,"avatar_url":"https://avatars.githubusercontent.com/u/193422?v=3","gravatar_id":"","url":"https://api.github.com/users/jteplitz602","html_url":"https://github.com/jteplitz602","followers_url":"https://api.github.com/users/jteplitz602/followers","following_url":"https://api.github.com/users/jteplitz602/following{/other_user}","gists_url":"https://api.github.com/users/jteplitz602/gists{/gist_id}","starred_url":"https://api.github.com/users/jteplitz602/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jteplitz602/subscriptions","organizations_url":"https://api.github.com/users/jteplitz602/orgs","repos_url":"https://api.github.com/users/jteplitz602/repos","events_url":"https://api.github.com/users/jteplitz602/events{/privacy}","received_events_url":"https://api.github.com/users/jteplitz602/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/angular/angular/labels/comp:%20core/webworker","name":"comp: core/webworker","color":"c7def8"},{"url":"https://api.github.com/repos/angular/angular/labels/effort1:%20easy%20(hour)","name":"effort1: easy (hour)","color":"bfe5bf"},{"url":"https://api.github.com/repos/angular/angular/labels/P2:%20required","name":"P2: required","color":"fad8c7"},{"url":"https://api.github.com/repos/angular/angular/labels/type:%20bug","name":"type: bug","color":"EEEEEE"}],"state":"closed","locked":false,"assignee":{"login":"jteplitz602","id":193422,"avatar_url":"https://avatars.githubusercontent.com/u/193422?v=3","gravatar_id":"","url":"https://api.github.com/users/jteplitz602","html_url":"https://github.com/jteplitz602","followers_url":"https://api.github.com/users/jteplitz602/followers","following_url":"https://api.github.com/users/jteplitz602/following{/other_user}","gists_url":"https://api.github.com/users/jteplitz602/gists{/gist_id}","starred_url":"https://api.github.com/users/jteplitz602/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jteplitz602/subscriptions","organizations_url":"https://api.github.com/users/jteplitz602/orgs","repos_url":"https://api.github.com/users/jteplitz602/repos","events_url":"https://api.github.com/users/jteplitz602/events{/privacy}","received_events_url":"https://api.github.com/users/jteplitz602/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/angular/angular/milestones/52","html_url":"https://github.com/angular/angular/milestones/beta.01","labels_url":"https://api.github.com/repos/angular/angular/milestones/52/labels","id":1378400,"number":52,"title":"beta.01","description":"Things to do after Beta that take us towards Angular 2 final release.","creator":{"login":"mhevery","id":111951,"avatar_url":"https://avatars.githubusercontent.com/u/111951?v=3","gravatar_id":"","url":"https://api.github.com/users/mhevery","html_url":"https://github.com/mhevery","followers_url":"https://api.github.com/users/mhevery/followers","following_url":"https://api.github.com/users/mhevery/following{/other_user}","gists_url":"https://api.github.com/users/mhevery/gists{/gist_id}","starred_url":"https://api.github.com/users/mhevery/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhevery/subscriptions","organizations_url":"https://api.github.com/users/mhevery/orgs","repos_url":"https://api.github.com/users/mhevery/repos","events_url":"https://api.github.com/users/mhevery/events{/privacy}","received_events_url":"https://api.github.com/users/mhevery/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":19,"state":"closed","created_at":"2015-10-27T00:25:16Z","updated_at":"2016-01-25T23:38:24Z","due_on":null,"closed_at":"2016-01-25T23:38:24Z"},"comments":36,"created_at":"2015-10-25T22:43:42Z","updated_at":"2016-02-16T06:41:30Z","closed_at":"2015-12-16T22:47:56Z","body":"If I create a new angular 2 project using alpha 44 from NPM and attempt to load the webworker bundle in my TypeScript project I get the following errors during compilation. It looks like the facade types are not loading for some reason.\r\n\r\n```\r\nnode_modules/angular2/src/core/change_detection/parser/locals.d.ts(3,14): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/change_detection/parser/locals.d.ts(4,42): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(1,25): error TS2304: Cannot find name 'MapConstructor'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(2,25): error TS2304: Cannot find name 'SetConstructor'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(4,27): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(4,39): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(7,9): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(8,30): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(11,43): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(12,27): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(14,23): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(15,25): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(94,41): error TS2304: Cannot find name 'Set'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(95,22): error TS2304: Cannot find name 'Set'.\r\nnode_modules/angular2/src/core/facade/collection.d.ts(96,25): error TS2304: Cannot find name 'Set'.\r\nnode_modules/angular2/src/core/facade/lang.d.ts(1,22): error TS2304: Cannot find name 'BrowserNodeGlobal'.\r\nnode_modules/angular2/src/core/facade/lang.d.ts(33,59): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(1,10): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(3,14): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(8,32): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(9,38): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(10,35): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(10,93): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(11,34): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(12,32): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(12,149): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/facade/promise.d.ts(13,43): error TS2304: Cannot find name 'Promise'.\r\nnode_modules/angular2/src/core/linker/element_injector.d.ts(72,32): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/element_injector.d.ts(74,17): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/element_injector.d.ts(78,184): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/element_injector.d.ts(83,182): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/element_injector.d.ts(107,37): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/proto_view_factory.d.ts(27,146): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(52,144): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(76,79): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(77,73): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(94,31): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(97,18): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(100,24): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(103,142): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/linker/view.d.ts(104,160): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/render/api.d.ts(281,74): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/core/zone/ng_zone.d.ts(1,37): error TS2304: Cannot find name 'Zone'.\r\nnode_modules/angular2/src/web_workers/shared/serializer.d.ts(11,22): error TS2304: Cannot find name 'Map'.\r\nnode_modules/angular2/src/web_workers/shared/serializer.d.ts(14,34): error TS2304: Cannot find name 'Map'.\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/184546144","html_url":"https://github.com/angular/angular/issues/4902#issuecomment-184546144","issue_url":"https://api.github.com/repos/angular/angular/issues/4902","id":184546144,"user":{"login":"flacle","id":4205424,"avatar_url":"https://avatars.githubusercontent.com/u/4205424?v=3","gravatar_id":"","url":"https://api.github.com/users/flacle","html_url":"https://github.com/flacle","followers_url":"https://api.github.com/users/flacle/followers","following_url":"https://api.github.com/users/flacle/following{/other_user}","gists_url":"https://api.github.com/users/flacle/gists{/gist_id}","starred_url":"https://api.github.com/users/flacle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/flacle/subscriptions","organizations_url":"https://api.github.com/users/flacle/orgs","repos_url":"https://api.github.com/users/flacle/repos","events_url":"https://api.github.com/users/flacle/events{/privacy}","received_events_url":"https://api.github.com/users/flacle/received_events","type":"User","site_admin":false},"created_at":"2016-02-16T06:41:29Z","updated_at":"2016-02-16T06:41:29Z","body":"@Akimi +1"}}