-
Notifications
You must be signed in to change notification settings - Fork 27k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docs: Wrong Example Code #62947
Comments
The issue was marked with the This means that it is a good candidate for someone interested in contributing to the project, but does not know where to start. To get started, read the Contributing Guide. When you are ready, open a PR and link back to this issue in the form of adding Please remember to add tests to confirm your code changes will fix the issue and we do not regress in the future. If you have any questions, feel free to ask below or on the PR. Generally, you don't need to Note There is no need to ask for permission "can I work on this?" Please, go ahead if there is no linked PR 🙂 |
You can edit this file here: https://github.com/vercel/next.js/edit/canary/docs/02-app/02-api-reference/04-functions/generate-sitemaps.mdx |
This closed issue has been automatically locked because it had no new activity for 2 weeks. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What is the improvement or update you wish to see?
On this Page
The TS Type from the function sitemap is wrong.
Right Now:
Corrected Version:
Difference:
: MetadataRoute.Sitemap
to: Promise<MetadataRoute.Sitemap>
Is there any context that might help us understand?
Should be understandable
Does the docs page already exist? Please link to it.
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/sitemap
The text was updated successfully, but these errors were encountered: