{"action":"closed","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10585","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10585/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10585/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/10585/events","html_url":"https://github.com/Microsoft/TypeScript/issues/10585","id":173720873,"number":10585,"title":"Doesn't compile when \"outDir\": \"./\"","user":{"login":"whitecolor","id":736697,"avatar_url":"https://avatars.githubusercontent.com/u/736697?v=3","gravatar_id":"","url":"https://api.github.com/users/whitecolor","html_url":"https://github.com/whitecolor","followers_url":"https://api.github.com/users/whitecolor/followers","following_url":"https://api.github.com/users/whitecolor/following{/other_user}","gists_url":"https://api.github.com/users/whitecolor/gists{/gist_id}","starred_url":"https://api.github.com/users/whitecolor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whitecolor/subscriptions","organizations_url":"https://api.github.com/users/whitecolor/orgs","repos_url":"https://api.github.com/users/whitecolor/repos","events_url":"https://api.github.com/users/whitecolor/events{/privacy}","received_events_url":"https://api.github.com/users/whitecolor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":{"login":"riknoll","id":13754588,"avatar_url":"https://avatars.githubusercontent.com/u/13754588?v=3","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false},"assignees":[{"login":"riknoll","id":13754588,"avatar_url":"https://avatars.githubusercontent.com/u/13754588?v=3","gravatar_id":"","url":"https://api.github.com/users/riknoll","html_url":"https://github.com/riknoll","followers_url":"https://api.github.com/users/riknoll/followers","following_url":"https://api.github.com/users/riknoll/following{/other_user}","gists_url":"https://api.github.com/users/riknoll/gists{/gist_id}","starred_url":"https://api.github.com/users/riknoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/riknoll/subscriptions","organizations_url":"https://api.github.com/users/riknoll/orgs","repos_url":"https://api.github.com/users/riknoll/repos","events_url":"https://api.github.com/users/riknoll/events{/privacy}","received_events_url":"https://api.github.com/users/riknoll/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/20","html_url":"https://github.com/Microsoft/TypeScript/milestones/TypeScript%202.1","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/milestones/20/labels","id":1601840,"number":20,"title":"TypeScript 2.1","description":"","creator":{"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},"open_issues":206,"closed_issues":45,"state":"open","created_at":"2016-02-24T06:32:42Z","updated_at":"2016-09-07T18:38:36Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2016-08-29T08:19:43Z","updated_at":"2016-09-07T18:38:36Z","closed_at":"2016-09-07T18:38:36Z","body":"**TypeScript Version: 2.0.0\r\n\r\n**Code**\r\nHave a follwing structure, need to get compiled (out) files in the root\r\n```\r\n/src\r\n  index.ts\r\n/tsconfig.json\r\n```\r\ntsconfig.json:\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"outDir\": \"./\"\r\n  }\r\n```\r\nrun:\r\n```bash\r\n> tsc\r\n```\r\nor\r\n```bash\r\n> tsc --outDir .\r\n```\r\n\r\n**Expected behavior:**\r\ncompiled files in the root\r\n**Actual behavior:** \r\nnothing is compiled\r\n\r\n**Can be worked around**\r\nReplace outDir with some other folder\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"outDir\": \"./lib\"\r\n  }\r\n```\r\nthen use `--outDir .` in cli\r\n```bash\r\n> tsc --outDir .\r\n```"}}
{"actor":{"display_login":"riknoll"}}