diff --git a/doc/operator-creation.md b/doc/operator-creation.md index f72dc32525..5bf41d50b7 100644 --- a/doc/operator-creation.md +++ b/doc/operator-creation.md @@ -129,11 +129,11 @@ function mySimpleOperator(someCallback) { } ``` -This can now be used with the `let()` method on the Observable: +This can now be used with the `pipe()` method on the Observable: ```js -const obs = someObservable.let(mySimpleOperator(x => x + '!')); +const obs = someObservable.pipe(mySimpleOperator(x => x + '!')); ``` ## Publish your operator as a separate library