Matt Vague b2e83e6bd7 Fix types for pickRandom
The TS type for pickRandom currently restricts the given array to numbers, however (AFAIK) it doesn't actually care what the array given to it contains.

This PR:
- Uses a generic to type the given array
- Varies the return type (T or T[]) depending on the given args
2022-09-06 19:14:48 -07:00
..
2022-09-06 19:14:48 -07:00
2022-08-30 17:12:22 -07:00