Skip to content

Commit

Permalink
remove unneeded ts-expect-error annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
lowsky committed Jun 22, 2024
1 parent 81ea2fa commit 5529e1b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@ const githubRepoResolver: GithubRepoResolvers = {
return {
...commit,
// info is part of REST response:
// @ts-expect-error type-def is wrong, need to access this via commit inner field
message: commit.commit.message,
// info is part of REST response:
// @ts-expect-error type-def is wrong, need to access this via commit inner field
date: commit.commit?.committer?.date,
};
});
Expand Down

0 comments on commit 5529e1b

Please sign in to comment.