{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/596","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/596/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/596/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/596/events","html_url":"https://github.com/Microsoft/TypeScript/issues/596","id":41940214,"number":596,"title":"force import","user":{"login":"alidorosty1234","id":5099081,"avatar_url":"https://avatars.githubusercontent.com/u/5099081?v=3","gravatar_id":"","url":"https://api.github.com/users/alidorosty1234","html_url":"https://github.com/alidorosty1234","followers_url":"https://api.github.com/users/alidorosty1234/followers","following_url":"https://api.github.com/users/alidorosty1234/following{/other_user}","gists_url":"https://api.github.com/users/alidorosty1234/gists{/gist_id}","starred_url":"https://api.github.com/users/alidorosty1234/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alidorosty1234/subscriptions","organizations_url":"https://api.github.com/users/alidorosty1234/orgs","repos_url":"https://api.github.com/users/alidorosty1234/repos","events_url":"https://api.github.com/users/alidorosty1234/events{/privacy}","received_events_url":"https://api.github.com/users/alidorosty1234/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,"milestone":null,"comments":18,"created_at":"2014-09-04T14:00:28Z","updated_at":"2015-09-15T22:33:59Z","closed_at":"2014-09-08T17:08:17Z","body":"I have many scenarios where I would do this:\r\n```typescript\r\nimport myExternalModule = require(\"./myExternalModule\");\r\n// not using myExternalModule here\r\n```\r\nI dont use `myExternalModule` in my code but still I want it to be included using requirejs. I just need it to be there.\r\nIf there could be a `forceimport` keyword that would be very cool!"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/140566489","html_url":"https://github.com/Microsoft/TypeScript/issues/596#issuecomment-140566489","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/596","id":140566489,"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":"2015-09-15T22:33:59Z","updated_at":"2015-09-15T22:33:59Z","body":"so why not just add \r\n```ts\r\nimport * as React from \"react\"; // get the types\r\nimport \"react\";  // just for side effect\r\n```\r\n\r\nin the output, the last import: `import \"react\"` will not be elided."}}