title: Why is my TypeScript declared class throwing a Not Declared exception?
body: <p>I have the following TypeScript module, unnecessary fluff removed for brevity:</p>
  
  <pre><code>/// &lt;reference path="jquery.d.ts" /&gt;
  module SelectionOtherInputs {
      export class SelectionOtherInputDescriptor {
          constructor(public selectionId: string, public otherKey: any, public otherInputElementId: string) { }
      }
      export class SelectionOtherInputHelper {
  
          selectionsWithOther: { [selectionKey: string]: SelectionOtherInputDescriptor; } = {};
  
          getAllSelectionOthers() {
              $("[" + ATT_SELECTION_OTHER_FOR + "]").each(function () {
                  var key = $(this).attr(ATT_DATA_SELECTION_OTHER_KEY);
                  var desc = new SelectionOtherInputDescriptor("0", key, $(this).attr("id"));
                  this.selectionsWithOther[key] = desc;
              });
          }
      }
  }
  </code></pre>
  
  <p>Then I try and use the <code>SelectionOtherInputHelper</code> class in a small demo page as follows:</p>
  
  <pre><code>@section scripts
  {
      &lt;script src="~/Scripts/TypeScript/OtherInput.js"&gt;&lt;/script&gt;
      &lt;script&gt;
          var otherManager = new SelectionOtherInputHelper();
          otherManager.getAllSelectionOthers();
      &lt;/script&gt;
  }
  </code></pre>
  
  <p>The `scripts' section is being rendered, and jQuery, but I still get a </p>
  
  <blockquote>
    <p>Uncaught ReferenceError: SelectionOtherInputHelper is not defined</p>
  </blockquote>
  
  <p>error on the <code>var otherManager = new SelectionOtherInputHelper()</code> call. What else must I do to properly import and use this class?</p>