style: better type hint

This commit is contained in:
eneller committed 2025-03-01 23:38:00 +01:00
1 parent 8e04cc97ba
commit b939f4d4f3
1 file changed
+1 -1
+1 -1
View File
@@ -47,7 +47,7 @@ export class AppComponent implements OnInit {
var playersPerTeam = Math.floor(names.length / this.numTeamsSelected);
let nameslen = names.length;
function* iter(list: any){
function* iter(list: any[]){
let index = 0;
while(true){
yield list[index % list.length];