refactor: improved type-safety, removal of any from all instances

This commit is contained in:
Maze Winther
2025-06-25 21:40:54 +02:00
parent 926aebe004
commit 777b0f7000
8 changed files with 43 additions and 30 deletions

View File

@ -49,7 +49,7 @@ async function getContributors(): Promise<Contributor[]> {
const contributors = await response.json();
const filteredContributors = contributors.filter(
(contributor: any) => contributor.type === "User"
(contributor: Contributor) => contributor.type === "User"
);
return filteredContributors;