export default function repeatArray<T>(el: T, t: number): T[] {
const arr: T[] = [];
for (let i = 0; i < t; i ++) {
arr.push(el);
}
return arr;