{"action":"created","issue":{"url":"https://api.github.com/repos/callemall/material-ui/issues/7982","repository_url":"https://api.github.com/repos/callemall/material-ui","labels_url":"https://api.github.com/repos/callemall/material-ui/issues/7982/labels{/name}","comments_url":"https://api.github.com/repos/callemall/material-ui/issues/7982/comments","events_url":"https://api.github.com/repos/callemall/material-ui/issues/7982/events","html_url":"https://github.com/callemall/material-ui/issues/7982","id":254304024,"number":7982,"title":"Unable to use material-ui@next at TypeScript application","user":{"login":"sergeyzwezdin","id":800755,"avatar_url":"https://avatars2.githubusercontent.com/u/800755?v=4","gravatar_id":"","url":"https://api.github.com/users/sergeyzwezdin","html_url":"https://github.com/sergeyzwezdin","followers_url":"https://api.github.com/users/sergeyzwezdin/followers","following_url":"https://api.github.com/users/sergeyzwezdin/following{/other_user}","gists_url":"https://api.github.com/users/sergeyzwezdin/gists{/gist_id}","starred_url":"https://api.github.com/users/sergeyzwezdin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergeyzwezdin/subscriptions","organizations_url":"https://api.github.com/users/sergeyzwezdin/orgs","repos_url":"https://api.github.com/users/sergeyzwezdin/repos","events_url":"https://api.github.com/users/sergeyzwezdin/events{/privacy}","received_events_url":"https://api.github.com/users/sergeyzwezdin/received_events","type":"User","site_admin":false},"labels":[{"id":122764863,"url":"https://api.github.com/repos/callemall/material-ui/labels/Duplicate","name":"Duplicate","color":"cccccc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-08-31T11:33:22Z","updated_at":"2017-08-31T11:36:16Z","closed_at":"2017-08-31T11:35:41Z","author_association":"NONE","body":"### Problem description\r\nUnable to import material-ui references in Typescript application. While trying to do that I'm receiveing \"Cannot find module\" error.\r\n\r\n### Steps to reproduce\r\n1. `create-react-app mui-test --scripts-version=react-scripts-ts`\r\n2. `yarn add material-ui@next`\r\n3. Import MUI button and add to layout:\r\n```\r\nimport * as React from 'react';\r\nimport './App.css';\r\nimport Button from 'material-ui/Button';\r\n\r\nclass App extends React.Component {\r\n  render() {\r\n    return (\r\n      <div className=\"App\">\r\n          <Button>To get started</Button>\r\n      </div>\r\n    );\r\n  }\r\n}\r\n\r\nexport default App;\r\n```\r\n4. Open in browser and you'll receive an error:\r\n```\r\nFailed to compile\r\nC:\\Temp\\mui-next-test-2\\node_modules\\material-ui\\Typography\\Typography.d.ts\r\n(3,34): error TS2307: Cannot find module '../styles/typography'.\r\n```\r\n### Versions\r\n\r\n- Material-UI: -1.0.0-beta.7\r\n- React: 15.6.1\r\n- Browser: Chrome 60"},"comment":{"url":"https://api.github.com/repos/callemall/material-ui/issues/comments/326269248","html_url":"https://github.com/callemall/material-ui/issues/7982#issuecomment-326269248","issue_url":"https://api.github.com/repos/callemall/material-ui/issues/7982","id":326269248,"user":{"login":"oliviertassinari","id":3165635,"avatar_url":"https://avatars2.githubusercontent.com/u/3165635?v=4","gravatar_id":"","url":"https://api.github.com/users/oliviertassinari","html_url":"https://github.com/oliviertassinari","followers_url":"https://api.github.com/users/oliviertassinari/followers","following_url":"https://api.github.com/users/oliviertassinari/following{/other_user}","gists_url":"https://api.github.com/users/oliviertassinari/gists{/gist_id}","starred_url":"https://api.github.com/users/oliviertassinari/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliviertassinari/subscriptions","organizations_url":"https://api.github.com/users/oliviertassinari/orgs","repos_url":"https://api.github.com/users/oliviertassinari/repos","events_url":"https://api.github.com/users/oliviertassinari/events{/privacy}","received_events_url":"https://api.github.com/users/oliviertassinari/received_events","type":"User","site_admin":false},"created_at":"2017-08-31T11:36:16Z","updated_at":"2017-08-31T11:36:16Z","author_association":"MEMBER","body":"#7969"}}
{"actor":{"display_login":"oliviertassinari"}}