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
I'm wondering if removing the mandatory predicate function from all() might cause issues if we then call it with just the strategy: all({strategy: "post"}). Can you confirm this?
If this is non-breaking, please open the PR for the master branch and then I'll fwd port it to next.
Also pls add a test for all without args and update the README to mention that the predicate in all is optional.
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
tree-model@1.0.7
for the project I'm working on.node.all()
which currently throws a typing error as it always expects at least 1 optionnode.children
so when iterating you do not get a typing errorHere is the diff that solved my problem:
This issue body was partially generated by patch-package.
Would you like to have a PR for that?
The text was updated successfully, but these errors were encountered: