Skip to content

Commit cba84ca

Browse files
committed
docs(throttle): fix example code
1 parent 2e41a49 commit cba84ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/extra/throttle.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class ThrottleOperator<T> implements Operator<T, T> {
7070
* import fromDiagram from 'xstream/extra/fromDiagram'
7171
* import throttle from 'xstream/extra/throttle'
7272
*
73-
* const stream = fromDiagram(--1-2-----3--4----5|)
73+
* const stream = fromDiagram('--1-2-----3--4----5|')
7474
* .compose(throttle(60))
7575
*
7676
* stream.addListener({

0 commit comments

Comments
 (0)