{"action":"created","issue":{"url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1696","repository_url":"https://api.github.com/repos/ReactiveX/rxjs","labels_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1696/labels{/name}","comments_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1696/comments","events_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1696/events","html_url":"https://github.com/ReactiveX/rxjs/issues/1696","id":153703943,"number":1696,"title":"missing Observable import for visual studio","user":{"login":"wizardnet972","id":4997825,"avatar_url":"https://avatars.githubusercontent.com/u/4997825?v=3","gravatar_id":"","url":"https://api.github.com/users/wizardnet972","html_url":"https://github.com/wizardnet972","followers_url":"https://api.github.com/users/wizardnet972/followers","following_url":"https://api.github.com/users/wizardnet972/following{/other_user}","gists_url":"https://api.github.com/users/wizardnet972/gists{/gist_id}","starred_url":"https://api.github.com/users/wizardnet972/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wizardnet972/subscriptions","organizations_url":"https://api.github.com/users/wizardnet972/orgs","repos_url":"https://api.github.com/users/wizardnet972/repos","events_url":"https://api.github.com/users/wizardnet972/events{/privacy}","received_events_url":"https://api.github.com/users/wizardnet972/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-09T05:06:13Z","updated_at":"2016-05-10T23:09:20Z","closed_at":"2016-05-10T23:09:20Z","body":"In every *.d.ts under rx/add,\r\nshould add:\r\n`import {Observable} from '../../Observable';`\r\n\r\nfor visual studio typescript compiler / intellisense compatibility.\r\n\r\n**visual studio error message:**\r\nInvalid module name in augmentation, module '../../Observable' cannot be found.\r\n\r\n**for example:**\r\n```\r\nimport { BufferSignature } from '../../operator/buffer';\r\ndeclare module '../../Observable' {\r\n    interface Observable<T> {\r\n        buffer: BufferSignature<T>;\r\n    }\r\n}\r\n```\r\n\r\n**should be:**\r\n```\r\nimport { BufferSignature } from '../../operator/buffer';\r\nimport {Observable} from '../../Observable';\r\ndeclare module '../../Observable' {\r\n    interface Observable<T> {\r\n        buffer: BufferSignature<T>;\r\n    }\r\n}\r\n```\r\n\r\nbased on https://github.com/Microsoft/TypeScript/wiki/What's-new-in-TypeScript#augmenting-globalmodule-scope-from-modules\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ReactiveX/rxjs/issues/comments/218318246","html_url":"https://github.com/ReactiveX/rxjs/issues/1696#issuecomment-218318246","issue_url":"https://api.github.com/repos/ReactiveX/rxjs/issues/1696","id":218318246,"user":{"login":"kwonoj","id":1210596,"avatar_url":"https://avatars.githubusercontent.com/u/1210596?v=3","gravatar_id":"","url":"https://api.github.com/users/kwonoj","html_url":"https://github.com/kwonoj","followers_url":"https://api.github.com/users/kwonoj/followers","following_url":"https://api.github.com/users/kwonoj/following{/other_user}","gists_url":"https://api.github.com/users/kwonoj/gists{/gist_id}","starred_url":"https://api.github.com/users/kwonoj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kwonoj/subscriptions","organizations_url":"https://api.github.com/users/kwonoj/orgs","repos_url":"https://api.github.com/users/kwonoj/repos","events_url":"https://api.github.com/users/kwonoj/events{/privacy}","received_events_url":"https://api.github.com/users/kwonoj/received_events","type":"User","site_admin":false},"created_at":"2016-05-10T23:09:20Z","updated_at":"2016-05-10T23:09:20Z","body":"Appreciate for workaround @vladima . One of reason I switched from VS is about using typescript.. wish VS15 will enhance support. \r\n\r\nLet me close this issue for now since it's tooling environment, @wizardnet972, please reopen / create new issue if there's something unresolved."}}