Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(types): generic arg for Predicate
I propose a generic argument added to the matchers, so that the callback can be typed if desired, thus making the usage easier. Using the types from DT, I could write: ```ts expect(objects).to.containAll<PropertyObjectState>(obj => obj.selectedEditor?.value === dash.TextFieldEditor.value) ``` having `obj` be of the given type.
- Loading branch information