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

fix: DataView setFilter had incorrect type, partial fix #848 #849

Merged
merged 1 commit into from
Sep 27, 2023

Conversation

ghiscoding
Copy link
Collaborator

@ghiscoding ghiscoding commented Sep 25, 2023

- `setFilter` had the incorrect type, it should be `filterFn: (item: T, args: any) => boolean` and that is inline with what `filter` callback is defined on MDN https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter#parameters
@ghiscoding ghiscoding changed the title fix: DataView setFilter had incorrect type, fixes #848 fix: DataView setFilter had incorrect type, partial fix #848 Sep 25, 2023
@ghiscoding ghiscoding merged commit 3efb3f5 into master Sep 27, 2023
2 checks passed
@ghiscoding ghiscoding deleted the bugfix/dataview-filter-fn-type branch September 27, 2023 03:25
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.

1 participant