{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12860","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12860/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12860/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12860/events","html_url":"https://github.com/Microsoft/TypeScript/issues/12860","id":195092380,"number":12860,"title":"Issue when using yarn link and @types types","user":{"login":"raybooysen","id":461957,"avatar_url":"https://avatars.githubusercontent.com/u/461957?v=3","gravatar_id":"","url":"https://api.github.com/users/raybooysen","html_url":"https://github.com/raybooysen","followers_url":"https://api.github.com/users/raybooysen/followers","following_url":"https://api.github.com/users/raybooysen/following{/other_user}","gists_url":"https://api.github.com/users/raybooysen/gists{/gist_id}","starred_url":"https://api.github.com/users/raybooysen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raybooysen/subscriptions","organizations_url":"https://api.github.com/users/raybooysen/orgs","repos_url":"https://api.github.com/users/raybooysen/repos","events_url":"https://api.github.com/users/raybooysen/events{/privacy}","received_events_url":"https://api.github.com/users/raybooysen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-12-12T21:36:05Z","updated_at":"2016-12-16T01:54:42Z","closed_at":null,"body":"**TypeScript Version:**  2.0.3\r\n\r\nI have two projects, ProjectA and ProjectB.  Both projects have @types/react installed.  If ProjectA is linked to ProjectB via `yarn link`, ProjectB will start to complain when building:\r\n\r\n```\r\nnode_modules/@types/react/index.d.ts(7,21): error TS2300: Duplicate identifier 'React'.\r\nnode_modules/@types/react/index.d.ts(2449,13): error TS2403: Subsequent variable declarations must have the same type.  Variable 'a' must be of type 'HTMLProps<HTMLAnchorElement>', but here has type 'HTMLProps<HTMLAnchorElement>'.\r\n```\r\n\r\nSince there is @types/react in both projects, this seems to cause issues."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/267497516","html_url":"https://github.com/Microsoft/TypeScript/issues/12860#issuecomment-267497516","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/12860","id":267497516,"user":{"login":"mhegazy","id":8000722,"avatar_url":"https://avatars.githubusercontent.com/u/8000722?v=3","gravatar_id":"","url":"https://api.github.com/users/mhegazy","html_url":"https://github.com/mhegazy","followers_url":"https://api.github.com/users/mhegazy/followers","following_url":"https://api.github.com/users/mhegazy/following{/other_user}","gists_url":"https://api.github.com/users/mhegazy/gists{/gist_id}","starred_url":"https://api.github.com/users/mhegazy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mhegazy/subscriptions","organizations_url":"https://api.github.com/users/mhegazy/orgs","repos_url":"https://api.github.com/users/mhegazy/repos","events_url":"https://api.github.com/users/mhegazy/events{/privacy}","received_events_url":"https://api.github.com/users/mhegazy/received_events","type":"User","site_admin":false},"created_at":"2016-12-16T01:54:42Z","updated_at":"2016-12-16T01:54:42Z","body":"@raybooysen can you give it a try with `typescript@2.1.4` or `typescript@next`? if issue still persists please share a sample project we can use or some detailed steps, including versions of the @types packages to be able to reproduce this locally."}}
{"actor":{"display_login":"mhegazy"}}