Skip to content

Commit

Permalink
chore: remove unused imports (#4750)
Browse files Browse the repository at this point in the history
  • Loading branch information
SangKa authored and benlesh committed May 11, 2019
1 parent c82a6a3 commit 26e16d7
Show file tree
Hide file tree
Showing 13 changed files with 2 additions and 26 deletions.
2 changes: 0 additions & 2 deletions src/internal/observable/concat.ts
@@ -1,8 +1,6 @@
import { Observable } from '../Observable';
import { ObservableInput, SchedulerLike, ObservedValueOf } from '../types';
import { isScheduler } from '../util/isScheduler';
import { of } from './of';
import { from } from './from';
import { concatAll } from '../operators/concatAll';

/* tslint:disable:max-line-length */
Expand Down
2 changes: 1 addition & 1 deletion src/internal/observable/defer.ts
@@ -1,5 +1,5 @@
import { Observable } from '../Observable';
import { SubscribableOrPromise, ObservedValueOf, ObservableInput } from '../types';
import { ObservedValueOf, ObservableInput } from '../types';
import { from } from './from'; // lol
import { empty } from './empty';

Expand Down
2 changes: 0 additions & 2 deletions src/internal/operators/elementAt.ts
@@ -1,5 +1,3 @@
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { ArgumentOutOfRangeError } from '../util/ArgumentOutOfRangeError';
import { Observable } from '../Observable';
import { MonoTypeOperatorFunction, TeardownLogic } from '../types';
Expand Down
2 changes: 0 additions & 2 deletions src/internal/operators/first.ts
@@ -1,6 +1,4 @@
import { Observable } from '../Observable';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { EmptyError } from '../util/EmptyError';
import { OperatorFunction } from '../../internal/types';
import { filter } from './filter';
Expand Down
2 changes: 0 additions & 2 deletions src/internal/operators/last.ts
@@ -1,6 +1,4 @@
import { Observable } from '../Observable';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { EmptyError } from '../util/EmptyError';
import { OperatorFunction } from '../../internal/types';
import { filter } from './filter';
Expand Down
1 change: 0 additions & 1 deletion src/internal/operators/mergeAll.ts
@@ -1,4 +1,3 @@

import { mergeMap } from './mergeMap';
import { identity } from '../util/identity';
import { OperatorFunction, ObservableInput } from '../types';
Expand Down
1 change: 0 additions & 1 deletion src/internal/operators/mergeMapTo.ts
@@ -1,4 +1,3 @@
import { Observable } from '../Observable';
import { OperatorFunction, ObservedValueOf } from '../../internal/types';
import { mergeMap } from './mergeMap';
import { ObservableInput } from '../types';
Expand Down
2 changes: 1 addition & 1 deletion src/internal/operators/multicast.ts
Expand Up @@ -3,7 +3,7 @@ import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { Observable } from '../Observable';
import { ConnectableObservable, connectableObservableDescriptor } from '../observable/ConnectableObservable';
import { MonoTypeOperatorFunction, OperatorFunction, UnaryFunction, ObservedValueOf, ObservableInput } from '../types';
import { OperatorFunction, UnaryFunction, ObservedValueOf, ObservableInput } from '../types';

/* tslint:disable:max-line-length */
export function multicast<T>(subject: Subject<T>): UnaryFunction<Observable<T>, ConnectableObservable<T>>;
Expand Down
7 changes: 0 additions & 7 deletions src/internal/operators/switchMapTo.ts
@@ -1,10 +1,3 @@
import { Operator } from '../Operator';
import { Observable } from '../Observable';
import { Subscriber } from '../Subscriber';
import { Subscription } from '../Subscription';
import { OuterSubscriber } from '../OuterSubscriber';
import { InnerSubscriber } from '../InnerSubscriber';
import { subscribeToResult } from '../util/subscribeToResult';
import { ObservableInput, OperatorFunction } from '../types';
import { switchMap } from './switchMap';

Expand Down
1 change: 0 additions & 1 deletion src/internal/operators/timeInterval.ts
@@ -1,4 +1,3 @@

import { Observable } from '../Observable';
import { async } from '../scheduler/async';
import { SchedulerLike, OperatorFunction } from '../types';
Expand Down
4 changes: 0 additions & 4 deletions src/internal/operators/timeout.ts
@@ -1,8 +1,4 @@
import { async } from '../scheduler/async';
import { isDate } from '../util/isDate';
import { Operator } from '../Operator';
import { Subscriber } from '../Subscriber';
import { Observable } from '../Observable';
import { TimeoutError } from '../util/TimeoutError';
import { MonoTypeOperatorFunction, SchedulerAction, SchedulerLike, TeardownLogic } from '../types';
import { timeoutWith } from './timeoutWith';
Expand Down
1 change: 0 additions & 1 deletion src/internal/operators/timestamp.ts
@@ -1,4 +1,3 @@

import { async } from '../scheduler/async';
import { OperatorFunction, SchedulerLike, Timestamp as TimestampInterface } from '../types';
import { map } from './map';
Expand Down
1 change: 0 additions & 1 deletion src/internal/util/isObservable.ts
@@ -1,5 +1,4 @@
import { Observable } from '../Observable';
import { ObservableInput } from '../types';

/**
* Tests to see if the object is an RxJS {@link Observable}
Expand Down

0 comments on commit 26e16d7

Please sign in to comment.