title: get Some(): Todo[] {} - Is it some kinde of Shorthand Technique?
body: <p>In the tutorial about services in Angular, I found a piece of code. </p>
  
  <pre><code>getTodos(): Todo[] {
    return [
      { name: "Todo 1", status: TodoStatus.BUG },
      { name: "Todo 2", status: TodoStatus.TODO },
      { name: "Todo 3", status: TodoStatus.IN_REVIEW },
    ]
  }
  
  </code></pre>
  
  <p>The author writes that it is a method that returns the initial elements of the list. On the left side of the colon is the name of the method. I don't understand what is happening on the right side. What is the role of Todo[] which is an empty array. What is the meaning of []{}?  Could someone please explain this to me? Thank you.</p>