title: angular2, file should end with a newline, and trailing space
body: <p>I am new to angular2 and typescript, I got this 3 errors, I don't understand how to fix trailing whitespace and file should end with a newline.</p>
  
  <p><a href="https://i.stack.imgur.com/mDjqi.png" rel="noreferrer"><img src="https://i.stack.imgur.com/mDjqi.png" alt="enter image description here"></a></p>