Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TS] Support ArrayLike in batch function and loadMany (#214)
* Use ReadonlyArray instead of Array on input args The runtime code does not alter the Arrays in question, and it is good form to prefer `ReadonlyArray<T>` over `Array<T>` (aka `T[]`) in the input position when one can. * Use ReadonlyArray in promise result * Support ArrayLike
- Loading branch information
Showing
2 changed files
with
23 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters