-
-
Notifications
You must be signed in to change notification settings - Fork 139
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allows xs.merge(streamOfNumbers, streamOfStrings) to return a Stream of numbers or strings, as the return type in TypeScript. Modifis static `merge` method to implement a new interface: MergeSignature. This interface is constructed similarly to the CombineSignature interface. Export the new interface. This change allows consumers invoking the static method to declare types and leverage TypeScript to verify type safety when merging streams. The change brings `merge` in line with other static methods which already include this feature. PR #82. Should resolve #80.
- Loading branch information
Showing
2 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters