title: How to define import variable type
body: <p>I have <code>noImplicitAny</code> set to <code>true</code> for my TypeScript compiler. When I use an import like the following, it throws an error because I am not explicitly defining a type for the <code>foo</code> variable:</p>
  
  <p><code>import * as foo from "bar";</code></p>
  
  <p>I am able to defined a type for <code>foo</code> using the CommonJS require syntax:</p>
  
  <p><code>const foo: FooType = require("bar");</code></p>
  
  <p>Is there a way to define a type for <code>foo</code> using the <code>import * as ...</code> syntax?</p>