title: Confusion about angle brackets in TypeScript
body: <p>I am currently learning TypeScript and running into some confusion for what angle brackets are used. </p>
  
  <p>I know that you can use it e.g. for generic types, then the brackets would stand behind:</p>
  
  <pre><code>function myFn&lt;T&gt;(param: T): T {
    return param;
  }
  </code></pre>
  
  <p>Also if you define a type for a generic type:</p>
  
  <pre><code>let identity = myFn&lt;string&gt;("hello world");
  </code></pre>
  
  <p>And that for arrays you can use it for one of two ways to define the types in an array:</p>
  
  <pre><code>let myArr: Array&lt;number&gt;;
  </code></pre>
  
  <p>For what cases would the brackets stand in front of a word? What other use cases are there to use angle brackets?</p>