questions/05317-medium-lastindexof/README.md
Implement the type version of Array.lastIndexOf, LastIndexOf<T, U> takes an Array T, any U and returns the index of the last U in Array T
For example:
type Res1 = LastIndexOf<[1, 2, 3, 2, 1], 2> // 3
type Res2 = LastIndexOf<[0, 0, 0], 2> // -1
<a href="../../README.md" target="_blank"></a> <a href="https://tsch.js.org/5317/answer" target="_blank"></a> <a href="https://tsch.js.org/5317/solutions" target="_blank"></a> <!--info-footer-end-->