Skip to content

Commit

Permalink
Fix type error in Concast
Browse files Browse the repository at this point in the history
  • Loading branch information
jerelmiller committed Nov 4, 2024
1 parent 40659bd commit 0e18e0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/observables/Concast.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class Concast<T> extends Observable<T> {
// function, recover by creating an Observable from that subscriber and
// using it as the source.
if (typeof sources === "function") {
sources = [new Observable(sources)];
sources = [new Observable<T>(sources)];
}

if (isPromiseLike(sources)) {
Expand Down

0 comments on commit 0e18e0c

Please sign in to comment.