Skip to content

Commit

Permalink
fix: remove duplicate Subscribable<T> interface declaration (#3450)
Browse files Browse the repository at this point in the history
also remove unused import in types.ts
  • Loading branch information
IgorMinar authored and benlesh committed Mar 19, 2018
1 parent 0892a2d commit ac78d89
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/internal/types.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Observable } from './Observable';
import { Action as _Action } from './scheduler/Action';
import { Subscription } from './Subscription';

/** OPERATOR INTERFACES */
Expand Down Expand Up @@ -35,12 +34,6 @@ export interface SubscriptionLike extends Unsubscribable {
readonly closed: boolean;
}

export interface Subscribable<T> {
subscribe(observerOrNext?: PartialObserver<T> | ((value: T) => void),
error?: (error: any) => void,
complete?: () => void): Unsubscribable;
}

export type SubscribableOrPromise<T> = Subscribable<T> | Subscribable<never> | PromiseLike<T> | ObservableLike<T>;

/** OBSERVABLE INTERFACES */
Expand Down

0 comments on commit ac78d89

Please sign in to comment.