title: TypeScript Return Type: void
body: <p>In TypeScript (using in an Angular project), for a method that returns nothing (void), which of the following is the best practice?</p>
  <pre><code>onSelect(someNumber: number): void {
  
  }
  </code></pre>
  <p>OR</p>
  <pre><code>onSelect(someNumber: number) {
  
  }
  </code></pre>
  <p>I've seen it both ways in different examples and wasn't sure if it is better to add the return type as void or to leave it blank?</p>