Unverified Commit 41cb6c48 authored by Eleni Stavropoulou's avatar Eleni Stavropoulou Committed by GitHub

[docs] Fix the TS Type from the function sitemap #62947 (#62960)

Closes https://github.com/vercel/next.js/issues/62947

This PR fixes the TS Type from the function sitemap.
Co-authored-by: 's avatarJJ Kasper <jj@jjsweb.site>
parent ee273c42
...@@ -37,7 +37,7 @@ export default async function sitemap({ ...@@ -37,7 +37,7 @@ export default async function sitemap({
id, id,
}: { }: {
id: number id: number
}): MetadataRoute.Sitemap { }): Promise<MetadataRoute.Sitemap> {
// Google's limit is 50,000 URLs per sitemap // Google's limit is 50,000 URLs per sitemap
const start = id * 50000 const start = id * 50000
const end = start + 50000 const end = start + 50000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment