aboutsummaryrefslogtreecommitdiff
path: root/src/query.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-14 04:59:43 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-14 04:59:43 +0200
commit5634e77ad96bfe1818f6b6ee70b7379652e5487f (patch)
treeaf7db4ee60b3fc624d7b0e8c94f2b72517b5269d /src/query.ts
parentd5bba630a35fff72b11273fb5e62c2208f9e1f5b (diff)
downloadwallet-core-5634e77ad96bfe1818f6b6ee70b7379652e5487f.tar.xz
fix build system / types
Diffstat (limited to 'src/query.ts')
-rw-r--r--src/query.ts2
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