---
title: "Discussion on \"Using getStaticProps and getStaticPaths with TypeScript - Next.js\" | Hashnode"
description: "Discussion on \"Using getStaticProps and getStaticPaths with TypeScript - Next.js\". My personal website is built on Next.js and uses both the getStaticProps and getStaticPaths functions to dynamically generate the /blog/ and /portfolio/ pages at build time. While updating both methods to use their proper TypeScript types, following ..."
url: "https://hashnode.com/posts/using-getstaticprops-and-getstaticpaths-with-typescript-nextjs/605e1ff75aa4944ee40f7692"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Using getStaticProps and getStaticPaths with TypeScript - Next.js](https://hashnode.wallis.dev/using-getstaticprops-and-getstaticpaths-with-typescript-nextjs?utm_source=hashnode&utm_medium=feed)

My personal website is built on Next.js and uses both the getStaticProps and getStaticPaths functions to dynamically generate the /blog/ and /portfolio/ pages at build time. While updating both methods to use their proper TypeScript types, following ...

Mar 24, 2021 · 5 min read · hashnode.wallis.dev  
Read the article

## Written by

[James Wallis](https://hashnode.com/@jameswallis)

@jameswallis

  
[View profile](https://hashnode.com/@jameswallis)

Making things at IBM

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
