From 5634e77ad96bfe1818f6b6ee70b7379652e5487f Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 04:59:43 +0200 Subject: fix build system / types --- src/query.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/query.ts') 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 { /** * Reduce the stream, resulting in a single value. */ - reduce(f: (v: T, acc: S) => S, start?: S): Promise; + reduce(f: (v: T, acc?: S) => S, start?: S): Promise; /** * Map each element of the stream using a function, resulting in another -- cgit v1.2.3