File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -262,6 +262,8 @@ export class Store {
262
262
return iterator
263
263
}
264
264
265
+ // We can't use `async/await` here because that would make the signature
266
+ // incompatible with one of the overloads.
265
267
// eslint-disable-next-line promise/prefer-await-to-then
266
268
return collectIterator ( iterator ) . then ( ( items ) =>
267
269
items . reduce (
Original file line number Diff line number Diff line change @@ -19,6 +19,8 @@ export function listStores(
19
19
return iterator
20
20
}
21
21
22
+ // We can't use `async/await` here because that would make the signature
23
+ // incompatible with one of the overloads.
22
24
// eslint-disable-next-line promise/prefer-await-to-then
23
25
return collectIterator ( iterator ) . then ( ( results ) =>
24
26
results . reduce (
You can’t perform that action at this time.
0 commit comments