1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-03 17:06:37 -04:00

clean up strict types a bit more

This commit is contained in:
2022-06-13 12:01:35 -04:00
parent 1776173cab
commit a63ea35463
15 changed files with 363 additions and 53 deletions

View File

@ -115,7 +115,7 @@ export const getStaticProps: GetStaticProps = async () => {
);
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const results: { node: { [key: string]: any } }[] = response.user.repositories.edges;
const results: Array<{ node: Record<string, any> }> = response.user.repositories.edges;
const repos = results.map<Repository>(({ node: repo }) => ({
name: repo.name,