Is it possible to define a non empty array type in Typescript? : <p>I have a list of numbers that I know is never empty. Is it possible to define an array in Typescript that is never empty?</p>

<p>I know that it is possible with tuples like <code>[ number, number ]</code> but this will not work as my array can be any size.</p>

<p>I guess what I am looking for is a <code>NonEmptyArray&lt;number&gt;</code> type.</p>

<p>Does it exist? :)</p>
