ab25658d7b
Replace the ChildrenProps intersection approach with ResolveBgProps, which transforms the base type so that only the relevant children variant exists in the final type. Provider components get childrenWithBgProvider (with children Omit'd), non-providers pass through unchanged — no more optional never properties showing up in autocomplete. Signed-off-by: Johan Persson <johanopersson@gmail.com>
134 B
134 B
@backstage/ui
| @backstage/ui |
|---|
| patch |
Cleaned up useDefinition ownProps types to remove never-typed ghost properties from autocomplete.