{"action":"created","issue":{"url":"https://api.github.com/repos/angular/angular/issues/3141","labels_url":"https://api.github.com/repos/angular/angular/issues/3141/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/3141/comments","events_url":"https://api.github.com/repos/angular/angular/issues/3141/events","html_url":"https://github.com/angular/angular/issues/3141","id":95900314,"number":3141,"title":"Cannot find external module 'angular2/http'","user":{"login":"VirtualOverride","id":6830923,"avatar_url":"https://avatars.githubusercontent.com/u/6830923?v=3","gravatar_id":"","url":"https://api.github.com/users/VirtualOverride","html_url":"https://github.com/VirtualOverride","followers_url":"https://api.github.com/users/VirtualOverride/followers","following_url":"https://api.github.com/users/VirtualOverride/following{/other_user}","gists_url":"https://api.github.com/users/VirtualOverride/gists{/gist_id}","starred_url":"https://api.github.com/users/VirtualOverride/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VirtualOverride/subscriptions","organizations_url":"https://api.github.com/users/VirtualOverride/orgs","repos_url":"https://api.github.com/users/VirtualOverride/repos","events_url":"https://api.github.com/users/VirtualOverride/events{/privacy}","received_events_url":"https://api.github.com/users/VirtualOverride/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-19T09:10:42Z","updated_at":"2015-07-19T09:24:29Z","closed_at":null,"body":"I dont know where to submit this, i used the latest angular.d.ts v2.0.0-alpha.31 and angular.dev.js v31. when i execute the tsc or compile my typescript code it says \"Cannot find external module 'angular2/http'\""},"comment":{"url":"https://api.github.com/repos/angular/angular/issues/comments/122641753","html_url":"https://github.com/angular/angular/issues/3141#issuecomment-122641753","issue_url":"https://api.github.com/repos/angular/angular/issues/3141","id":122641753,"user":{"login":"gdi2290","id":1016365,"avatar_url":"https://avatars.githubusercontent.com/u/1016365?v=3","gravatar_id":"","url":"https://api.github.com/users/gdi2290","html_url":"https://github.com/gdi2290","followers_url":"https://api.github.com/users/gdi2290/followers","following_url":"https://api.github.com/users/gdi2290/following{/other_user}","gists_url":"https://api.github.com/users/gdi2290/gists{/gist_id}","starred_url":"https://api.github.com/users/gdi2290/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdi2290/subscriptions","organizations_url":"https://api.github.com/users/gdi2290/orgs","repos_url":"https://api.github.com/users/gdi2290/repos","events_url":"https://api.github.com/users/gdi2290/events{/privacy}","received_events_url":"https://api.github.com/users/gdi2290/received_events","type":"User","site_admin":false},"created_at":"2015-07-19T09:24:29Z","updated_at":"2015-07-19T09:24:29Z","body":"yeah, just include this somewhere (tsconfig file) then TypeScript will figure it out.\r\n```\r\ndeclare module \"angular2/http\" {\r\n  class Http {\r\n    _backend: any;\r\n    _defaultOptions: any;\r\n    constructor(_backend?: any, _defaultOptions?: any);\r\n    request(url: string, options?: any): any;\r\n    get(url: string, options?: any): any;\r\n    post(url: string, body: any, options?: any): any;\r\n    put(url: string, body: any, options?: any): any;\r\n    delete(url: string, options?: any): any;\r\n    patch(url: string, body: any, options?: any): any;\r\n    head(url: string, options?: any): any;\r\n  }\r\n  class MockBackend {\r\n    constructor(req: any)\r\n  }\r\n  class Headers {\r\n    constructor(config: any)\r\n  }\r\n  class XHRBackend {}\r\n  class BaseRequestOptions {}\r\n  var httpInjectables: Array<any>;\r\n}\r\n\r\n```\r\nIf you need a starter repo you can check out this one [angular2-webpack-starter](https://github.com/angular-class/angular2-webpack-starter) (feedback welcome). If this works for you then you can close the issue"}}