title: Typescript compiler errors not generating when referencing method in other module
body: <p>I am new to Typescript and am having trouble triggering compiler warnings from a separate file:</p>
  <p>I have the following interface I have defined in <code>file1.ts</code></p>
  <pre><code>interface ISettings
  {
      setting1 : number;
      setting2 : string;
  }
  </code></pre>
  <p>If I use this in a method signature the compiler correctly generates an error when called with parameters with types that do not match the interface</p>
  <pre><code>public async updateSettings(settingsDictionary : ISettings
  {
  }
  
  params = { setting1: &quot;a string&quot;, setting2: 10 } 
  Thing.updateSettings(params); // generates compiler error
  </code></pre>
  <p>My questions is how I can get the compiler to complain if I call this method from a different file than where the interface is defined.  Right now I have a test file say <code>file1.test.ts</code> that includes this module.  When I call this method with invalid params no compiler error is generated.</p>