diff --git a/src/views/lib/getGitHubStats.ts b/src/views/lib/getGitHubStats.ts index 8e06a14e..968690be 100644 --- a/src/views/lib/getGitHubStats.ts +++ b/src/views/lib/getGitHubStats.ts @@ -73,7 +73,7 @@ export class GitHubStatsService { constructor(githubToken?: string) { this.octokit = githubToken ? new Octokit({ auth: githubToken }) : new Octokit(); - this.cache = {}; + this.cache = {} as Record>; } private async getCachedData(key: string): Promise | null> {