Describe the bug
When using TypeScript the "pluck" should be able to accept an object with keys that have an array of strings according to the ReQL documentations here. Such as
Type 'string[]' is not assignable to type 'MultiFieldSelector'.
Type 'string[]' is not assignable to type '{ [property: string]: MultiFieldSelector; }'.
Index signature is missing in type 'string[]'.ts(2322)
To Reproduce
Steps to reproduce the behavior:
See the Describe the bug section above.
Expected behavior
Any method that allows providing nested object values, should also be allowed to accept the shorthand form.
Screenshots
System info
OS: Ubuntu 18.04.2 LTS
RethinkDB Version: 2.4.0
Additional context
Add any other context about the problem here.
Describe the bug When using TypeScript the "pluck" should be able to accept an object with keys that have an array of strings according to the ReQL documentations here. Such as
but instead, it errors with the following
To Reproduce Steps to reproduce the behavior:
Expected behavior Any method that allows providing nested object values, should also be allowed to accept the shorthand form.
Screenshots
System info
Additional context Add any other context about the problem here.