For hours now, I've been struggling with a small problem that seems to have no solution in sight. I wonder if someone with a sharper mind could offer me some guidance?
- The method I'm using returns a predicate:
this is xxx
. - This method is then used in conjunction with a branding.
Despite everything working as intended, one final error is eluding me. Could this be a limitation of TypeScript?
Although everything is functioning the way I want, this one issue is driving me mad! If anyone has any ideas on how to tackle this last hurdle in my code, please see: 🔴.
I've tried to simplify the example as much as possible.
Thank you for your assistance.
...
(A shorter version and a tiny version link are included for better performance)
(A longer version link is also added for more detailed context)
...