diff options
Diffstat (limited to 'src/query.ts')
-rw-r--r-- | src/query.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/query.ts b/src/query.ts index 9a6162807..dffff86eb 100644 --- a/src/query.ts +++ b/src/query.ts @@ -106,7 +106,7 @@ export interface QueryStream<T> { /** * Reduce the stream, resulting in a single value. */ - reduce<S>(f: (v: T, acc: S) => S, start?: S): Promise<S>; + reduce<S>(f: (v: T, acc?: S) => S, start?: S): Promise<S>; /** * Map each element of the stream using a function, resulting in another |