You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the deep property is an interface, ConditionalPickDeep does not pick the nested attribute.
Example:
typeS="SOME STRING";interfaceB{b: S;}interfaceC{b: B;c: S;}typeTest=ConditionalPickDeep<C,S>;// Expected: type Test = { b: B, c: S }// Actual: type Test = { c: S }
However the code below works as expected:
typeS="SOME STRING";typeB={b: S;}interfaceC{b: B;c: S;}typeTest=ConditionalPickDeep<C,S>;// Expected: type Test = { b: B, c: S }// Actual: type Test = { b: B, c: S }
Upvote & Fund
We're using Polar.sh so you can upvote and help fund this issue.
The funding will be given to active contributors.
Thank you in advance for helping prioritize & fund our backlog.
The text was updated successfully, but these errors were encountered:
Hi,
If the deep property is an interface,
ConditionalPickDeep
does not pick the nested attribute.Example:
However the code below works as expected:
Upvote & Fund
The text was updated successfully, but these errors were encountered: