{"action":"opened","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5225","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5225/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5225/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/5225/events","html_url":"https://github.com/Microsoft/TypeScript/issues/5225","id":110973119,"number":5225,"title":"[Question] Can't have a \"pure\" typescript library.","user":{"login":"s-panferov","id":198327,"avatar_url":"https://avatars.githubusercontent.com/u/198327?v=3","gravatar_id":"","url":"https://api.github.com/users/s-panferov","html_url":"https://github.com/s-panferov","followers_url":"https://api.github.com/users/s-panferov/followers","following_url":"https://api.github.com/users/s-panferov/following{/other_user}","gists_url":"https://api.github.com/users/s-panferov/gists{/gist_id}","starred_url":"https://api.github.com/users/s-panferov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-panferov/subscriptions","organizations_url":"https://api.github.com/users/s-panferov/orgs","repos_url":"https://api.github.com/users/s-panferov/repos","events_url":"https://api.github.com/users/s-panferov/events{/privacy}","received_events_url":"https://api.github.com/users/s-panferov/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-10-12T13:17:10Z","updated_at":"2015-10-12T13:17:10Z","closed_at":null,"body":"Hello. Sorry is this issue is a double (I can't find anything relevant). Out team uses TypeScript for frontend development and we are trying to use TypeScript everywhere. So we have several libraries written fully in TypeScript.\r\n\r\nIf I understand correctly, we can't make simple `import { smth } from 'pure-ts-lib/some-module';` work without having a generated `.d.ts` file near `some-module.ts`. It's very inconvenient to us, because it adds an extra compilation step and more files we need to track. Is there a chance to change this behaviour to simply resolve a `.ts` module if any? Maybe we can control it by a compiler flag?"}}