Skip to content

Conversation

@THE-Amrit-mahto-05
Copy link

@THE-Amrit-mahto-05 THE-Amrit-mahto-05 commented Nov 19, 2025

Summary

The docs parser crashed when it encountered documentation blocks where prop.tags was missing or undefined.
This caused the following runtime error during docs generation:

TypeError: Cannot read properties of undefined (reading 'Symbol(Symbol.iterator)')

This PR adds a guard:

if (!prop.tags) continue;

to safely skip entries without tags and prevent the crash.
Fixes #15764

@THE-Amrit-mahto-05 THE-Amrit-mahto-05 marked this pull request as draft November 21, 2025 04:57
@THE-Amrit-mahto-05 THE-Amrit-mahto-05 marked this pull request as ready for review November 21, 2025 04:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs parser crashes when prop.tags is undefined

1 participant