A framework for building native applications using React
Show type alias name in union member errors (#55604)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/55604 When reporting added/removed union members of type TypeAliasTypeAnnotation, the error message showed the generic type kind "TypeAliasTypeAnnotation" instead of the actual alias name (e.g., "ObjectC"). This adds a case to getTypeAnnotationLabel to return the alias name for TypeAliasTypeAnnotation, producing clearer error messages like "Member ObjectC" instead of "Member TypeAliasTypeAnnotation". Changelog: [Internal] Reviewed By: fkgozali Differential Revision: D93262589 fbshipit-source-id: cb6aa1b420ce720cb9ed603a577c587f7e24ad45
E
Eli White committed
9fdaac350f44c3f03a55c4a50cd9d2f2a102107a
Parent: 57842e7
Committed by meta-codesync[bot] <215208954+meta-codesync[bot]@users.noreply.github.com>
on 2/20/2026, 8:33:23 PM