Skip to content

Commit

Permalink
fix(docs): return value of subscribe is an object (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
JoviDeCroock committed Jul 12, 2023
1 parent afa04e9 commit 94bfc71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/sinks.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ new incoming values.
```typescript
import { pipe, subscribe } from 'wonka';

const [unsubscribe] = pipe(
const { unsubscribe } = pipe(
source,
subscribe((x) => console.log(x));
);
Expand Down

0 comments on commit 94bfc71

Please sign in to comment.