Skip to content

Commit

Permalink
cleanup type in createObservable
Browse files Browse the repository at this point in the history
  • Loading branch information
bram209 committed Sep 18, 2023
1 parent 9ca285d commit 9ff58ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/observable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function createObservable<T>(value: T, makePrimitive: boolean): Observable<T> |
const prim = makePrimitive || isActualPrimitive(value);

const obs = prim
? (new (ObservablePrimitiveClass as any)(node) as Observable<T>)
? (new (ObservablePrimitiveClass as any)(node) as ObservablePrimitive<T>)
: (getProxy(node) as Observable<T>);

if (valueIsPromise) {
Expand Down

0 comments on commit 9ff58ff

Please sign in to comment.