components
components copied to clipboard
fix(tree): allow readonly arrays in getChildren return type
Fixes not being allowed to return a ReadonlyArray from a getChildren function. Also pulls the definition for the getChildren function into a separate type so we don't have to maintain it in 4 different places.
Fixes #17824.
Turns out that this is a breaking change; anywhere this value is assigned into something else the types don't match now. It has ~60 failing build targets across a bunch of projects
What is the status of this PR? This PR didn't land in neither v10, v11 nor v12 although it is 1.5 years old. A similar PR for chips was merged within a week
Closing since the tree is in the process of being reworked.
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.