{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9521","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9521/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9521/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9521/events","html_url":"https://github.com/Microsoft/TypeScript/issues/9521","id":163848648,"number":9521,"title":"tsc works, tsc $file doesnt","user":{"login":"a93ushakov","id":13286493,"avatar_url":"https://avatars.githubusercontent.com/u/13286493?v=3","gravatar_id":"","url":"https://api.github.com/users/a93ushakov","html_url":"https://github.com/a93ushakov","followers_url":"https://api.github.com/users/a93ushakov/followers","following_url":"https://api.github.com/users/a93ushakov/following{/other_user}","gists_url":"https://api.github.com/users/a93ushakov/gists{/gist_id}","starred_url":"https://api.github.com/users/a93ushakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a93ushakov/subscriptions","organizations_url":"https://api.github.com/users/a93ushakov/orgs","repos_url":"https://api.github.com/users/a93ushakov/repos","events_url":"https://api.github.com/users/a93ushakov/events{/privacy}","received_events_url":"https://api.github.com/users/a93ushakov/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/TypeScript/labels/Question","name":"Question","color":"d4c5f9"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-05T13:19:03Z","updated_at":"2016-07-05T20:57:17Z","closed_at":"2016-07-05T18:23:40Z","body":"<!-- BUGS: Please use this template. -->\r\n<!-- QUESTIONS: This is not a general support forum! Ask Qs at http://stackoverflow.com/questions/tagged/typescript -->\r\n<!-- SUGGESTIONS: See https://github.com/Microsoft/TypeScript-wiki/blob/master/Writing-Good-Design-Proposals.md -->\r\n\r\n**TypeScript Version:**   1.8.10\r\n\r\nI am study `angular 2` now. Here is demo repo: [link](https://github.com/a93ushakov/angular2-quickstart).\r\n\r\n`tsc` command works well from any subdirectory, but if specify files `tsc file.ts` it shows usual for `typings` problem error:\r\n```sh\r\n...\r\n../../node_modules/@angular/core/src/linker/dynamic_component_loader.d.ts(108,135): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(18,53): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/@angular/core/src/linker/systemjs_component_resolver.d.ts(26,53): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/@angular/platform-browser-dynamic/index.d.ts(81,90): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/@angular/platform-browser-dynamic/index.d.ts(85,99): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/@angular/platform-browser-dynamic/index.d.ts(89,99): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/rxjs/Observable.d.ts(10,66): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/rxjs/Observable.d.ts(66,60): error TS2304: Cannot find name 'Promise'.\r\n../../node_modules/rxjs/Observable.d.ts(66,70): error TS2304: Cannot find name 'Promise'.\r\n\r\n```\r\n\r\n`typings` directory place is irrelevant."},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/230600804","html_url":"https://github.com/Microsoft/TypeScript/issues/9521#issuecomment-230600804","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/9521","id":230600804,"user":{"login":"a93ushakov","id":13286493,"avatar_url":"https://avatars.githubusercontent.com/u/13286493?v=3","gravatar_id":"","url":"https://api.github.com/users/a93ushakov","html_url":"https://github.com/a93ushakov","followers_url":"https://api.github.com/users/a93ushakov/followers","following_url":"https://api.github.com/users/a93ushakov/following{/other_user}","gists_url":"https://api.github.com/users/a93ushakov/gists{/gist_id}","starred_url":"https://api.github.com/users/a93ushakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/a93ushakov/subscriptions","organizations_url":"https://api.github.com/users/a93ushakov/orgs","repos_url":"https://api.github.com/users/a93ushakov/repos","events_url":"https://api.github.com/users/a93ushakov/events{/privacy}","received_events_url":"https://api.github.com/users/a93ushakov/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T20:57:17Z","updated_at":"2016-07-05T20:57:17Z","body":"Is there any way to specify config?"}}
{"actor":{"display_login":"a93ushakov"}}