Skip to content

Commit

Permalink
fix: fix Subject type
Browse files Browse the repository at this point in the history
  • Loading branch information
TylorS committed Sep 25, 2017
1 parent 0fd9bc6 commit cc52fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Sink, Stream } from '@most/types'

export type Subject<A, B> = [Sink<A>, Stream<B>]
export type Subject<A, B> = [AttachSink<A>, Stream<B>]

export interface AttachSink<A> extends Sink<A> {
attach(source: Stream<A>): Stream<A>

0 comments on commit cc52fbb

Please sign in to comment.