jest-matcher-deep-close-to icon indicating copy to clipboard operation
jest-matcher-deep-close-to copied to clipboard

support all Iterables

Open scamden opened this issue 1 year ago • 0 comments

looks like the code is hard built around arrays and objects. If you use the iterator pattern (and types) described here: https://www.typescriptlang.org/docs/handbook/iterators-and-generators.html

the library could support Sets, Maps or any other object that has implemented the interface. Would you be open to a PR on that?

scamden avatar Oct 03 '22 23:10 scamden