Skip to content

Commit

Permalink
Merge 6e845ae into d03d6f0
Browse files Browse the repository at this point in the history
  • Loading branch information
leebyron committed Nov 14, 2019
2 parents d03d6f0 + 6e845ae commit ee01d8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ declare namespace DataLoader {
// A Function, which when given an Array of keys, returns a Promise of an Array
// of values or Errors.
export type BatchLoadFn<K, V> =
(keys: ArrayLike<K>) => PromiseLike<ArrayLike<V | Error>>;
(keys: ReadonlyArray<K>) => PromiseLike<ArrayLike<V | Error>>;

// Optionally turn off batching or caching or provide a cache key function or a
// custom cache instance.
Expand Down

0 comments on commit ee01d8e

Please sign in to comment.