<h3 dir="auto">Problem description</h3>
<p dir="auto">Trying to import from <code class="notranslate">material-ui/styles</code> (any submodule actually) yields compilation errors from <code class="notranslate">tsc</code> when <code class="notranslate">noImplicitAny</code> is enabled.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(3,32): error TS7016: Could not find a declaration file for module 'material-ui/styles'. '/Users/shousper/Source/test/node_modules/material-ui/styles/index.js' implicitly has an 'any' type.
  Try `npm install @types/material-ui/styles` if it exists or add a new declaration (.d.ts) file containing `declare module 'material-ui/styles';`"><pre class="notranslate"><code class="notranslate">(3,32): error TS7016: Could not find a declaration file for module 'material-ui/styles'. '/Users/shousper/Source/test/node_modules/material-ui/styles/index.js' implicitly has an 'any' type.
  Try `npm install @types/material-ui/styles` if it exists or add a new declaration (.d.ts) file containing `declare module 'material-ui/styles';`
</code></pre></div>
<h3 dir="auto">Steps to reproduce</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="yarn add material-ui@next typescript
echo 'import { createMuiTheme } from \'material-ui/styles\'' &gt; index.ts
echo 'const x = createMuiTheme()' &gt;&gt; index.ts
yarn run tsc -- --noImplicitAny index.ts"><pre class="notranslate"><code class="notranslate">yarn add material-ui@next typescript
echo 'import { createMuiTheme } from \'material-ui/styles\'' &gt; index.ts
echo 'const x = createMuiTheme()' &gt;&gt; index.ts
yarn run tsc -- --noImplicitAny index.ts
</code></pre></div>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 1.0.0-beta.6</li>
<li>React: N/A</li>
<li>Browser: N/A</li>
</ul>
<h3 dir="auto">Problem description</h3>
<p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/sebald/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/sebald">@sebald</a> In beta.6 the typescript types exist for material-ui (I see the .d.ts file in the installed package directory) however I keep getting definition errors when doing imports with <code class="notranslate">import Paper from 'material-ui/Paper';</code></p>
<p dir="auto"><code class="notranslate"> error TS7016: Could not find a declaration file for module 'material-ui/Paper'. '...' implicitly has an 'any' type. Try 'npm install @types/material-ui/Paper' if it exists or add a new declaration (.d.ts) file containing 'declare module 'material-ui/Paper';'</code></p>
<p dir="auto">Im not sure why, I dont think there is anything strange with my <code class="notranslate">tsconfig</code></p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{
  &quot;compilerOptions&quot;: {
    &quot;target&quot;: &quot;es2017&quot;, 
    &quot;module&quot;: &quot;commonjs&quot;,
    &quot;jsx&quot;: &quot;react&quot;,              
    &quot;strict&quot;: true,               
    &quot;baseUrl&quot;: &quot;.&quot;,             
    &quot;paths&quot;: {
      &quot;*&quot;: [&quot;./build-tools/types/*&quot;]
    },                         
    &quot;inlineSourceMap&quot;: true,
    &quot;experimentalDecorators&quot;: true   
  }
}"><pre class="notranslate"><code class="notranslate">{
  "compilerOptions": {
    "target": "es2017", 
    "module": "commonjs",
    "jsx": "react",              
    "strict": true,               
    "baseUrl": ".",             
    "paths": {
      "*": ["./build-tools/types/*"]
    },                         
    "inlineSourceMap": true,
    "experimentalDecorators": true   
  }
}
</code></pre></div>
<h3 dir="auto">Steps to reproduce</h3>
<p dir="auto">I installed beta.6 and removed my local copies of the material-ui typings (up to now Ive been keeping the typings locally)</p>
<h3 dir="auto">Versions</h3>
<ul dir="auto">
<li>Material-UI: 1.0.0-beta.6</li>
</ul>