Skip to content

Commit a7c8a88

Browse files
authored
Merge pull request #116 from patricknazar/fix-branch-def-typo
Fix incorrect type definition for KStream.branch()
2 parents 89f522f + 5524543 commit a7c8a88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ declare module "kafka-streams" {
245245
fromMost(stream$: any): KStream;
246246
clone(): KStream;
247247
window(from: number, to: number, etl?: null | ((message: any) => any), encapsulated?: boolean): { window: Window, abort: () => void, stream: KStream };
248-
branch(preds: (message: any) => boolean[]): KStream[];
248+
branch(preds: ((message: any) => boolean)[]): KStream[];
249249
close(): Promise<boolean>;
250250
}
251251

0 commit comments

Comments
 (0)