title: typescript function parameter type unexpected token :
body: <p>Just following the simplest Typescript tutorial and when it comes to typing a function parameter I'm failing.</p>
  
  <pre><code>function greeter(person: string) {
      return "Hello " + person;
  }
  
  var user = "Jack";
  
  document.body.innerHTML = greeter(user);
  </code></pre>
  
  <p>But when I load the page I'm getting "Unexpected token :" - the browser is trying to parse Javascript? I get that Tyescript will compile down to JS, but I'm missing something here.</p>
  
  <p>I'm using Visual Studio 2013, with jQuery.d.ts to type it.</p>
  
  <p>The .ts is going through TypeScriptCompile for its build action.</p>
  
  <p>Body for the .aspx looks like this:</p>
  
  <pre><code>&lt;div&gt;
      &lt;script src="Scripts/Main.ts"&gt;&lt;/script&gt;
  &lt;/div&gt;
  </code></pre>