diff --git a/docs/api-reference/data-fetching/get-static-props.md b/docs/api-reference/data-fetching/get-static-props.md index 4a1878780fc5..9044a46edab9 100644 --- a/docs/api-reference/data-fetching/get-static-props.md +++ b/docs/api-reference/data-fetching/get-static-props.md @@ -233,8 +233,7 @@ export const getStaticProps: GetStaticProps<{ posts: Post[] }> = async ( If you want to get inferred typings for your props, you can use `InferGetStaticPropsType`: ```tsx -import { InferGetStaticPropsType } from 'next' -import { GetStaticProps } from 'next' +import type { InferGetStaticPropsType, GetStaticProps } from 'next' type Post = { author: string