diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-14 04:59:43 +0200 |
commit | 5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch) | |
tree | af7db4ee60b3fc624d7b0e8c94f2b72517b5269d /src/query.ts | |
parent | d5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff) |
fix build system / types
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 |