Skip to content

Commit ac78d89

Browse files
IgorMinarbenlesh
authored andcommitted
fix: remove duplicate Subscribable<T> interface declaration (#3450)
also remove unused import in types.ts
1 parent 0892a2d commit ac78d89

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/internal/types.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Observable } from './Observable';
2-
import { Action as _Action } from './scheduler/Action';
32
import { Subscription } from './Subscription';
43

54
/** OPERATOR INTERFACES */
@@ -35,12 +34,6 @@ export interface SubscriptionLike extends Unsubscribable {
3534
readonly closed: boolean;
3635
}
3736

38-
export interface Subscribable<T> {
39-
subscribe(observerOrNext?: PartialObserver<T> | ((value: T) => void),
40-
error?: (error: any) => void,
41-
complete?: () => void): Unsubscribable;
42-
}
43-
4437
export type SubscribableOrPromise<T> = Subscribable<T> | Subscribable<never> | PromiseLike<T> | ObservableLike<T>;
4538

4639
/** OBSERVABLE INTERFACES */

0 commit comments

Comments
 (0)