title: Access imported type's static members in Aurelia view
body: <p>I'm using <strong>Aurelia</strong> with <strong>TypeScript</strong>.</p>
  
  <p>I have a simple type with static variables like so:</p>
  
  <pre><code>export class MyModule {
      static foo = false;
  }
  </code></pre>
  
  <p>I have an Aurelia view model like the following:</p>
  
  <pre><code>import {MyModule} from 'my-module';
  
  export class MyViewModel{
      constructor() {
         MyModule.foo = true;
         console.log(MyModule.foo); // Outputs true
      }
  }
  </code></pre>
  
  <p>I would like to access this static member in my view, like the following:</p>
  
  <pre><code>&lt;p if.bind="MyModule.foo"&gt;
     This is displayed since foo is true.
  &lt;/p&gt;
  </code></pre>
  
  <p>However, in the view, it seems I'm unable to get the static members of the type imported in the view model.</p>
  
  <p>I must be misunderstanding (at least) one of the Aurelia concepts. :)</p>