Skip to content
New issue

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

Allow specifying whether targetValue should be recursed #29

Merged
merged 3 commits into from
Jan 18, 2021

Conversation

Richienb
Copy link
Contributor

@Richienb Richienb commented Jan 10, 2021

Based on: #25

Fixes: #23, Fixes: #25

readme.md Show resolved Hide resolved
@sindresorhus
Copy link
Owner

I'm a little bit conflicted about whether it makes sense to add both this and #24. Any thoughts on that?

@Richienb
Copy link
Contributor Author

Richienb commented Jan 18, 2021

This PR should make #24 mostly moot since both add a way to do the same thing.

@Richienb
Copy link
Contributor Author

Richienb commented Jan 18, 2021

Because of the new TypeScript feature, I needed to update tsd for it to work which added a new failing check unrelated to this PR:

  index.test-d.ts:33:0
  ✖  33:0  Parameter type { [key: string]: unknown; } is declared too wide for argument type { bar: "baz"; } & { [key: string]: unknown; }.  

@sindresorhus sindresorhus merged commit 73c6139 into sindresorhus:master Jan 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a third parameter to the result that indicates whether to go deeper
2 participants