diff --git a/docs/api-reference/data-fetching/get-static-paths.md b/docs/api-reference/data-fetching/get-static-paths.md index fe5de2933a2b8..2ca0841fecaee 100644 --- a/docs/api-reference/data-fetching/get-static-paths.md +++ b/docs/api-reference/data-fetching/get-static-paths.md @@ -199,7 +199,7 @@ export async function getStaticProps({ params }) { export default Post ``` -## getStaticProps with TypeScript +## getStaticPaths with TypeScript For TypeScript, you can use the `GetStaticPaths` type from `next`: