title: error TS2339: Property 'endsWith' does not exist on type 'string'
body: <p>I get this error on the code block below.</p>
  
  <p><code>error TS2339: Property 'endsWith' does not exist on type 'string'</code></p>
  
  <pre><code>let myList = angular.element(elem).attr("href").split("/");
  let last = _.last&lt;string&gt;(myList);
  if (last.endsWith("something")) {
     return last;
  }
  </code></pre>
  
  <p>I have also discovered this link that shows that there is a function <code>endsWith(...)</code>.</p>
  
  <p><a href="http://definitelytyped.org/docs/typescript-services--typescriptServices/classes/typescript.stringutilities.html" rel="noreferrer">http://definitelytyped.org/docs/typescript-services--typescriptServices/classes/typescript.stringutilities.html</a></p>
  
  <p>Do I miss some <code>.d.ts</code> file or what?</p>