Skip to content

docs: change return type of async data from undefined to null in v3 docs #32562

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

Merged

Conversation

MikeBellika
Copy link
Contributor

🔗 Linked issue

No issue but had some discussion on discord:
https://discord.com/channels/473401852243869706/473407466630152201/1392132868557508628
CleanShot 2025-07-08 at 15 38 06

📚 Description

The return type of AsyncData is still DataT | null in v3. This changes the v3 docs to be in line with this. Same for error and useNuxtData.

@MikeBellika MikeBellika requested a review from danielroe as a code owner July 8, 2025 13:41
Copy link

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

Copy link
Member

@danielroe danielroe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you!

@danielroe danielroe merged commit e659227 into nuxt:3.x Jul 8, 2025
9 checks passed
@github-actions github-actions bot mentioned this pull request Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants