I was looking at #708 when this was added, and several places in the code, but I don't see any reason this argument would be required as long as the provided function returns an array. And the tests don't seem to require it.
Happy to be proven wrong, but I think this would be a nice (albeit small) improvement for TS users. 😄
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Issue #, if available:
No issue, but I can create one if you'd like.
Description of changes:
I was looking at #708 when this was added, and several places in the code, but I don't see any reason this argument would be required as long as the provided function returns an array. And the tests don't seem to require it.
Happy to be proven wrong, but I think this would be a nice (albeit small) improvement for TS users. 😄
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.