Skip to content

Commit 06dd793

Browse files
committed
fix(most-run): check for matching stream types in sinks and drivers
Beyond just checking matching keyof in sinks/sources and drivers, this commit will type check with TypeScript 2.2 whether the specific stream type for a sink matches the expected input of the driver, and vice versa for sources. BREAKING CHANGE: If you are using JavaScript, literally nothing changes. If you are using TypeScript, this version may detect more errors than before, and may break (by not compiling) your existing code if your existing code happened to have a sneaky bug. ISSUES CLOSED: 541
1 parent 7c7c743 commit 06dd793

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

most-run/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"bugs": "https://github.com/cyclejs/cyclejs/issues",
2727
"homepage": "https://cycle.js.org",
2828
"dependencies": {
29-
"@cycle/run": "2.x"
29+
"@cycle/run": "3.x"
3030
},
3131
"peerDependencies": {
3232
"most": "*"

0 commit comments

Comments
 (0)