From d9cf5f1bf50023fed04823b028e67fd060558c97 Mon Sep 17 00:00:00 2001 From: Max Petretta Date: Fri, 16 Sep 2022 13:53:50 -0400 Subject: [PATCH] Added type definitons to functions --- components/Accordion.tsx | 2 +- components/Heading.tsx | 2 +- components/Post.tsx | 3 +- components/Title.tsx | 2 +- lib/jobs.ts | 3 +- lib/posts.ts | 5 +- lib/types.ts | 23 ++++++ pages/_document.tsx | 131 ++++++++++++++---------------- pages/blog.tsx | 7 +- pages/index.tsx | 5 +- public/scripts/fade-in.js | 2 +- public/scripts/update-selector.js | 2 +- 12 files changed, 101 insertions(+), 86 deletions(-) create mode 100644 lib/types.ts diff --git a/components/Accordion.tsx b/components/Accordion.tsx index afdada5..9ff6db5 100644 --- a/components/Accordion.tsx +++ b/components/Accordion.tsx @@ -60,7 +60,7 @@ export default function Accordion({ job }) { dangerouslySetInnerHTML={{ __html: job.description }} />