Skip to content

Commit cc52fbb

Browse files
committed
fix: fix Subject type
1 parent 0fd9bc6 commit cc52fbb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Sink, Stream } from '@most/types'
22

3-
export type Subject<A, B> = [Sink<A>, Stream<B>]
3+
export type Subject<A, B> = [AttachSink<A>, Stream<B>]
44

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

0 commit comments

Comments
 (0)