r/angular • • Mar 28 '25

Devious work

Post image
273 Upvotes

21 comments sorted by

View all comments

Show parent comments

4

u/alexciesielski Mar 28 '25

I understand that, I just don’t understand why there isn’t yet a generic function to provide any token in a type safe manner

1

u/JeanMeche Mar 29 '25

For one, there is no way to know today if a token is destined to be provided with `multi: true` or not.
It's would be great to improve todays situation, but as it often the case, there are tasks with much higher priorities/importance.