Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

Commit f7ac77c

Browse files
committed
docs(operators): add documentation for operator do
1 parent 37ffd9d commit f7ac77c

File tree

1 file changed

+1
-1
lines changed
  • src/operator-docs/utility

1 file changed

+1
-1
lines changed

src/operator-docs/utility/do.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const doOperator: OperatorDoc = {
5959
code: `
6060
var clicks = Rx.Observable.fromEvent(document, 'click');
6161
var positions = clicks
62-
.do(ev => console.log(ev))
62+
.do(ev => console.log(ev.type))
6363
.map(ev => ev.clientX);
6464
positions.subscribe(x => console.log(x));
6565
`,

0 commit comments

Comments
 (0)