how to use underscore.js library in angular 2
<p>I trying to create an application with angular 2,and want use underscore.js library in my .ts files ,for example when i want use this function : </p>

<pre><code>   let myId = _.rest([5, 4, 3, 2, 1]);
</code></pre>

<p><code>_</code> is not define and throw error and i dont want use   <code>declare var _ : any;</code> in my module</p>