Skip to content

Commit

Permalink
fix(api-reference): Rename InferGetStatic* to GetStaticPaths
Browse files Browse the repository at this point in the history
  • Loading branch information
ManorSailor committed Sep 27, 2024
1 parent 7167fc3 commit b694fb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/docs/en/reference/api-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1117,7 +1117,7 @@ The `getStaticPaths()` function should return an array of objects to determine w
It can also be used in static file endpoints for [dynamic routing](/en/guides/endpoints/#params-and-dynamic-routing).

:::tip
When using TypeScript, use the [`InferGetStatic*`](/en/guides/typescript/#infer-getstaticpaths-types) type utilities to ensure type-safe access of your `params` and `props`.
When using TypeScript, use the [`GetStaticPaths`](/en/guides/typescript/#infer-getstaticpaths-types) type utility to ensure type-safe access of your `params` and `props`.
:::

:::caution
Expand Down

0 comments on commit b694fb6

Please sign in to comment.