title: Using Typescript static methods in vue templates
body: <p>I wanted to use Typescript static methods in vue templates</p>
  
  <pre><code>export class ProjectUI {
    static budget(p: Project): string {
      if (p.budget &gt; 0) {
         return p.budget + "EUR"
      } else {
         return "No budget."
      }
  }
  </code></pre>
  
  <p>and in a template </p>
  
  <pre><code>:value="ProjectUI.budget(p)"
  </code></pre>
  
  <p>and I don't want to use filters. Vue doesn't find the method when compiling templates though (as ProjectUI.budget is TS syntax).</p>