{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10504","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10504/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10504/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10504/events","html_url":"https://github.com/Microsoft/TypeScript/issues/10504","id":172752558,"number":10504,"title":"Duplicate identifier - NPM with Typings","user":{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2016-08-23T16:59:13Z","updated_at":"2016-08-23T16:59:18Z","closed_at":null,"body":"_From @giacomorebonato on August 14, 2016 13:48_\n\n- VSCode Version: Version 1.5.0-insider (1.5.0-insider)\r\n- OS Version: OS X El Capitan\r\n\r\nSteps to Reproduce:\r\nI am working on a Typescript front-end project and I am using Firebase 3, which already comes with Typescript Typings in the package.\r\n\r\nIf I install the Typings separately ```typings install npm~firebase``` the intellisense experience in VSCode is great... but during compilation I get the duplicate identifier message, because the typings are present 2 times  \r\n```\r\nERROR in [default] /Users/grebonato/JavaScript/mino_material/node_modules/firebase/firebase.d.ts:374:2\r\nDuplicate identifier 'export='.\r\n\r\nERROR in [default] /Users/grebonato/JavaScript/mino_material/typings/modules/firebase/index.d.ts:498:0\r\nDuplicate identifier 'export='.\r\n```\r\n\r\nInstead if I don't install the typings separately, the compilation works fine, but VSCode doesn't see the typings in the NPM package\r\n\r\n<img width=\"658\" alt=\"firebase\" src=\"https://cloud.githubusercontent.com/assets/630796/17649459/d9c31bfc-622d-11e6-94b0-f23d482f7a41.png\">  \r\n\r\nHow am I supposed to make VSCode aware of NPM Firebase Typings ?\r\n\r\n\n\n_Copied from original issue: Microsoft/vscode#10517_"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/241801096","html_url":"https://github.com/Microsoft/TypeScript/issues/10504#issuecomment-241801096","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10504","id":241801096,"user":{"login":"waderyan","id":2449568,"avatar_url":"https://avatars.githubusercontent.com/u/2449568?v=3","gravatar_id":"","url":"https://api.github.com/users/waderyan","html_url":"https://github.com/waderyan","followers_url":"https://api.github.com/users/waderyan/followers","following_url":"https://api.github.com/users/waderyan/following{/other_user}","gists_url":"https://api.github.com/users/waderyan/gists{/gist_id}","starred_url":"https://api.github.com/users/waderyan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waderyan/subscriptions","organizations_url":"https://api.github.com/users/waderyan/orgs","repos_url":"https://api.github.com/users/waderyan/repos","events_url":"https://api.github.com/users/waderyan/events{/privacy}","received_events_url":"https://api.github.com/users/waderyan/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T16:59:18Z","updated_at":"2016-08-23T16:59:18Z","body":"_From @giacomorebonato on August 23, 2016 9:8_\n\nOk, I am going to re-open this.  \r\nI have isolated the problem [in this repo](https://github.com/giacomorebonato/firebase_ts_problem).\r\nI think this is a problem with Typescript that doesn't seem to exclude the typings in the node_modules... even though it is in the exclude list.\r\n"}}
{"actor":{"display_login":"waderyan"}}