From 299783001ace1b97f924f63fce0724598a3bffe4 Mon Sep 17 00:00:00 2001 From: Felix Rabe Date: Wed, 6 Jun 2018 19:25:43 +0200 Subject: [PATCH] migration.md: Typo --- docs_app/content/guide/v6/migration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs_app/content/guide/v6/migration.md b/docs_app/content/guide/v6/migration.md index 6ffaac4b0c..009e4c3d33 100644 --- a/docs_app/content/guide/v6/migration.md +++ b/docs_app/content/guide/v6/migration.md @@ -117,7 +117,7 @@ To make this code compile correctly in v6, change it as shown here: ```ts const userDefined = () => (source: Observable) => new Observable((subscriber) => { - this.subscribe({ + source.subscribe({ next(value) { subscriber.next(value); }, error(err) { subscriber.error(err); }, complete() { subscriber.complete(); },