title: How to convert a string to number in TypeScript?
body: <p>Given a string representation of a number, how can I convert it to <code>number</code> type in TypeScript?</p>
  
  <pre><code>var numberString: string = "1234";
  var numberValue: number = /* what should I do with `numberString`? */;
  </code></pre>