Dynamic injections with multiple dependencies get confused
Closed this issue · 0 comments
mscharley commented
Describe the bug.
If you setup the example below, then arguments are both typed as token1 | token2
instead of the correct type for each argument.
Steps to reproduce
bind(token).toDynamicValue([token1, token2], (arg1, arg2) => ({}));
Expected behaviour
No response
IOC-Deco
1.2.4
TypeScript
5.2.2
Decorator type
Typescript Experimental
Node
No response
Add any other context about the problem here.
No response