We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Would it be possible to consider adding a deep option? Thanks for the useful library.
import type {ConditionalPick} from 'type-fest'; interface Example { a: string; b: string | number; c: { d: string; } } type StringKeysOnly = ConditionalPick<Example, string, {deep: true}>; //=> {a: string, {c: {d: string}}}
Thanks for the useful library.
The text was updated successfully, but these errors were encountered:
Yes I think it could be useful I'll see what I can do.
Sorry, something went wrong.
Sounds useful, but it should be a separate type: ConditionalPickDeep.
ConditionalPickDeep
@dninomiya @sindresorhus Done in #444
@skarab42 @sindresorhus appreciate!
Successfully merging a pull request may close this issue.
Would it be possible to consider adding a deep option?
Thanks for the useful library.
Thanks for the useful library.
The text was updated successfully, but these errors were encountered: