{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/6077","repository_url":"https://api.github.com/repos/facebook/create-react-app","labels_url":"https://api.github.com/repos/facebook/create-react-app/issues/6077/labels{/name}","comments_url":"https://api.github.com/repos/facebook/create-react-app/issues/6077/comments","events_url":"https://api.github.com/repos/facebook/create-react-app/issues/6077/events","html_url":"https://github.com/facebook/create-react-app/issues/6077","id":393322290,"node_id":"MDU6SXNzdWUzOTMzMjIyOTA=","number":6077,"title":"[Bug] Can't import random JS module in TS without Typings","user":{"login":"luchillo17","id":9698639,"node_id":"MDQ6VXNlcjk2OTg2Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/9698639?v=4","gravatar_id":"","url":"https://api.github.com/users/luchillo17","html_url":"https://github.com/luchillo17","followers_url":"https://api.github.com/users/luchillo17/followers","following_url":"https://api.github.com/users/luchillo17/following{/other_user}","gists_url":"https://api.github.com/users/luchillo17/gists{/gist_id}","starred_url":"https://api.github.com/users/luchillo17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luchillo17/subscriptions","organizations_url":"https://api.github.com/users/luchillo17/orgs","repos_url":"https://api.github.com/users/luchillo17/repos","events_url":"https://api.github.com/users/luchillo17/events{/privacy}","received_events_url":"https://api.github.com/users/luchillo17/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-21T05:33:51Z","updated_at":"2018-12-21T19:15:32Z","closed_at":null,"author_association":"NONE","body":"### Is this a bug report?\r\nYes\r\n\r\n<!--\r\n  If you answered \"Yes\":\r\n\r\n    Please note that your issue will be fixed much faster if you spend about\r\n    half an hour preparing it, including the exact reproduction steps and a demo.\r\n\r\n    If you're in a hurry or don't feel confident, it's fine to report bugs with\r\n    less details, but this makes it less likely they'll get fixed soon.\r\n\r\n    In either case, please fill as many fields below as you can.\r\n\r\n  If you answered \"No\":\r\n\r\n    If this is a question or a discussion, you may delete this template and write in a free form.\r\n    Note that we don't provide help for webpack questions after ejecting.\r\n    You can find webpack docs at https://webpack.js.org/.\r\n-->\r\n\r\n### Did you try recovering your dependencies?\r\nYes\r\n\r\n### Which terms did you search for in User Guide?\r\nTypeScript module augmentation seems to be the main one, though i did search including the error code ts-1208\r\n\r\n### Environment\r\n\r\n<!--\r\n  To help identify if a problem is specific to a platform, browser, or module version, information about your environment is required.\r\n  This enables the maintainers quickly reproduce the issue and give feedback.\r\n\r\n  Run the following command in your React app's folder in terminal.\r\n  Note: The result is copied to your clipboard directly.\r\n\r\n  `npx create-react-app --info`\r\n\r\n  Paste the output of the command in the section below.\r\n-->\r\n![image](https://user-images.githubusercontent.com/9698639/50326123-7715ff00-04b6-11e9-9d04-6201a34d407e.png)\r\n\r\n### Steps to Reproduce\r\n\r\nI'm installing a three.js plugin in a TypeScript project, unfortunately it doesn't have type definitions, so i have trouble when importing, tried to create a module definition with no luck:\r\n\r\n![image](https://user-images.githubusercontent.com/9698639/50326235-38347900-04b7-11e9-80bc-7641106cecca.png)\r\n![image](https://user-images.githubusercontent.com/9698639/50326240-44b8d180-04b7-11e9-9b2b-86544b7e60c3.png)\r\n![image](https://user-images.githubusercontent.com/9698639/50326338-d1638f80-04b7-11e9-910c-b625fea52c23.png)\r\n![image](https://user-images.githubusercontent.com/9698639/50326358-eb9d6d80-04b7-11e9-8232-834b215f5d23.png)\r\n\r\n### Expected Behavior\r\n\r\nI expected to import a random JS module that has no Typings definition & maybe be forced to write a simple empty definition for it.\r\n\r\n### Actual Behavior\r\n\r\nI was trying to put flag `isolatedModules` to false to be able to define the typing definition but build process keeps reverting to true, which seems to block me from creating the definition.\r\n\r\n### Reproducible Demo\r\nAs soon as i have more time.\r\n<!--\r\n  If you can, please share a project that reproduces the issue.\r\n  This is the single most effective way to get an issue fixed soon.\r\n\r\n  There are two ways to do it:\r\n\r\n    * Create a new app and try to reproduce the issue in it.\r\n      This is useful if you roughly know where the problem is, or can’t share the real code.\r\n\r\n    * Or, copy your app and remove things until you’re left with the minimal reproducible demo.\r\n      This is useful for finding the root cause. You may then optionally create a new project.\r\n\r\n  This is a good guide to creating bug demos: https://stackoverflow.com/help/mcve\r\n  Once you’re done, push the project to GitHub and paste the link to it below:\r\n-->\r\n\r\n(Paste the link to an example project and exact instructions to reproduce the issue.)\r\n\r\n<!--\r\n  What happens if you skip this step?\r\n\r\n  We will try to help you, but in many cases it is impossible because crucial\r\n  information is missing. In that case we'll tag an issue as having a low priority,\r\n  and eventually close it if there is no clear direction.\r\n\r\n  We still appreciate the report though, as eventually somebody else might\r\n  create a reproducible example for it.\r\n\r\n  Thanks for helping us help you!\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/create-react-app/issues/comments/449474725","html_url":"https://github.com/facebook/create-react-app/issues/6077#issuecomment-449474725","issue_url":"https://api.github.com/repos/facebook/create-react-app/issues/6077","id":449474725,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTQ3NDcyNQ==","user":{"login":"luchillo17","id":9698639,"node_id":"MDQ6VXNlcjk2OTg2Mzk=","avatar_url":"https://avatars2.githubusercontent.com/u/9698639?v=4","gravatar_id":"","url":"https://api.github.com/users/luchillo17","html_url":"https://github.com/luchillo17","followers_url":"https://api.github.com/users/luchillo17/followers","following_url":"https://api.github.com/users/luchillo17/following{/other_user}","gists_url":"https://api.github.com/users/luchillo17/gists{/gist_id}","starred_url":"https://api.github.com/users/luchillo17/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luchillo17/subscriptions","organizations_url":"https://api.github.com/users/luchillo17/orgs","repos_url":"https://api.github.com/users/luchillo17/repos","events_url":"https://api.github.com/users/luchillo17/events{/privacy}","received_events_url":"https://api.github.com/users/luchillo17/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T19:15:32Z","updated_at":"2018-12-21T19:15:32Z","author_association":"NONE","body":"@Timer Yes i am."}}
{"actor":{"display_login":"luchillo17"}}