From fb9a0f7e0b49e612ad608d2cea7ebd657cb2e6ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mladen=20Jakovljevi=C4=87?= Date: Tue, 7 Dec 2021 19:54:51 +0100 Subject: [PATCH] docs(dematerialize): fix TS errors in dematerialize example --- src/internal/operators/dematerialize.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/internal/operators/dematerialize.ts b/src/internal/operators/dematerialize.ts index 116b60bfd6..28c2c867f2 100644 --- a/src/internal/operators/dematerialize.ts +++ b/src/internal/operators/dematerialize.ts @@ -25,11 +25,11 @@ import { OperatorSubscriber } from './OperatorSubscriber'; * Convert an Observable of Notifications to an actual Observable * * ```ts - * import { of, dematerialize } from 'rxjs'; + * import { NextNotification, ErrorNotification, of, dematerialize } from 'rxjs'; * - * const notifA = { kind: 'N', value: 'A' }; - * const notifB = { kind: 'N', value: 'B' }; - * const notifE = { kind: 'E', error: new TypeError('x.toUpperCase is not a function') } + * const notifA = >{ kind: 'N', value: 'A' }; + * const notifB = >{ kind: 'N', value: 'B' }; + * const notifE = { kind: 'E', error: new TypeError('x.toUpperCase is not a function') }; * * const materialized = of(notifA, notifB, notifE); *