title: Typescript cannot find method in definition file
body: <p>I have an existing Javascript file named app.min.js which comes with a website template.  This file defines a function called pageSetUp that needs to be invoked when the DOM is loaded.</p>
  
  <p>I have created a TypeScript definition file named app.d.ts which the following content:</p>
  
  <pre><code>interface App {
      pageSetUp();
  }
  </code></pre>
  
  <p>It is referenced in the TypeScript file as follows:</p>
  
  <pre><code>/// &lt;reference path="../typings/app.d.ts"/&gt;
  </code></pre>
  
  <p>However, when add the following line to the constructor of this class like this:</p>
  
  <pre><code>module ViewModel {
  
      export class TableViewModel {
  
  
          constructor() {
             pageSetUp();
          }
       }
  }
  </code></pre>
  
  <p>The build fails with error:  "Could not find symbol 'pageSetUp'.  </p>
  
  <p>What am I missing?</p>
  
  <p>TIA.</p>