mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-28 21:15:48 -04:00
clean up strict types a bit more
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user