'source' is possibly 'null' or 'undefined'.
source.categoryName
Argument of type 'readonly LookupTreeItemDto[]' is not assignable to parameter of type 'any[]'.
The type 'readonly LookupTreeItemDto[]' is 'readonly' and cannot be assigned to the mutable type 'any[]'.
tree красное