{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/1375","repository_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks","labels_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/1375/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/1375/comments","events_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/1375/events","html_url":"https://github.com/Microsoft/vso-agent-tasks/issues/1375","id":139783838,"number":1375,"title":"Tests don't compile with TypeScript 1.8.7","user":{"login":"dylan-smith","id":1508559,"avatar_url":"https://avatars.githubusercontent.com/u/1508559?v=3","gravatar_id":"","url":"https://api.github.com/users/dylan-smith","html_url":"https://github.com/dylan-smith","followers_url":"https://api.github.com/users/dylan-smith/followers","following_url":"https://api.github.com/users/dylan-smith/following{/other_user}","gists_url":"https://api.github.com/users/dylan-smith/gists{/gist_id}","starred_url":"https://api.github.com/users/dylan-smith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dylan-smith/subscriptions","organizations_url":"https://api.github.com/users/dylan-smith/orgs","repos_url":"https://api.github.com/users/dylan-smith/repos","events_url":"https://api.github.com/users/dylan-smith/events{/privacy}","received_events_url":"https://api.github.com/users/dylan-smith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-10T04:50:11Z","updated_at":"2016-03-15T20:24:06Z","closed_at":null,"body":"I was having TS compilation errors when trying to run gulp test.  I discovered it was because I was using a newer version of TypeScript.\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1508559/13659534/30c544aa-e648-11e5-90eb-39f528b16004.png)\r\n\r\nMy understanding is that typescript is supposed to be pinned to 1.8.0 as per PR #1294 \r\n\r\nHowever, when I ran gulp test it was still using 1.8.7.  Based on some comments from @ericsciple in PR #1293 I believe it's because tsc.exe is in my PATH.  I'm assuming it got there because of how I installed it, which was following the instructions in Contribute.md, which instruct me to install it globally (or maybe it was VS that put it there, I'm not sure):\r\n```bash\r\nnpm install typescript -g\r\n```\r\n\r\nIf all of the above is correct, I'd suggest updating Contribute.md with instructions for how to properly setup my dev environment.\r\n\r\nI also submitted PR #1366 which fixes toolrunner.ts so that it compiles in the latest version of TypeScript.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/comments/197005771","html_url":"https://github.com/Microsoft/vso-agent-tasks/issues/1375#issuecomment-197005771","issue_url":"https://api.github.com/repos/Microsoft/vso-agent-tasks/issues/1375","id":197005771,"user":{"login":"bryanmacfarlane","id":919564,"avatar_url":"https://avatars.githubusercontent.com/u/919564?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmacfarlane","html_url":"https://github.com/bryanmacfarlane","followers_url":"https://api.github.com/users/bryanmacfarlane/followers","following_url":"https://api.github.com/users/bryanmacfarlane/following{/other_user}","gists_url":"https://api.github.com/users/bryanmacfarlane/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmacfarlane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmacfarlane/subscriptions","organizations_url":"https://api.github.com/users/bryanmacfarlane/orgs","repos_url":"https://api.github.com/users/bryanmacfarlane/repos","events_url":"https://api.github.com/users/bryanmacfarlane/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmacfarlane/received_events","type":"User","site_admin":false},"created_at":"2016-03-15T20:24:06Z","updated_at":"2016-03-15T20:24:06Z","body":"There is docs for the env setup and it's linked right off the main page\r\n\r\nhttps://github.com/Microsoft/vso-agent-tasks/blob/master/docs/contribute.md \r\n\r\nWe do document that you need typescript > 1.6.  If course we're not going to document installing typescript and all the environmental issues.  That's the typescript projects job.  We're not duplicating there docs."}}