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
rejectBy
Currently rejectBy templates the value you're trying to rejectBy instead of key
export declare function rejectBy<T>([byPath, value, array]: [string, T | T[] | undefined, T[]]): T[];
Should probably match filterBy
export declare function filterBy<T extends object, K extends keyof T>([byPath, value, array,]: [K, T[K] | T[] | undefined, T[]]): T[];
Also, they should probably define an overload so that the docs are still valid (which optionally allow for 2 params instead of 3)
The text was updated successfully, but these errors were encountered:
filterBy
PR and tests welcome! <3
Sorry, something went wrong.
No branches or pull requests
Currently rejectBy templates the value you're trying to rejectBy instead of key
Should probably match filterBy
Also, they should probably define an overload so that the docs are still valid (which optionally allow for 2 params instead of 3)
The text was updated successfully, but these errors were encountered: