From 9ff58fffabf530c7a84270318cf831ae4f86b6c0 Mon Sep 17 00:00:00 2001 From: Bram Hoendervangers Date: Tue, 19 Sep 2023 00:47:41 +0200 Subject: [PATCH] cleanup type in createObservable --- src/observable.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/observable.ts b/src/observable.ts index 9272a3e22..964ca73ce 100644 --- a/src/observable.ts +++ b/src/observable.ts @@ -22,7 +22,7 @@ function createObservable(value: T, makePrimitive: boolean): Observable | const prim = makePrimitive || isActualPrimitive(value); const obs = prim - ? (new (ObservablePrimitiveClass as any)(node) as Observable) + ? (new (ObservablePrimitiveClass as any)(node) as ObservablePrimitive) : (getProxy(node) as Observable); if (valueIsPromise) {