Skip to content

Commit

Permalink
docs: remove unused block comments used for ESDoc
Browse files Browse the repository at this point in the history
  • Loading branch information
jakovljevic-mladen committed May 28, 2020
1 parent 4152f67 commit e8d2226
Show file tree
Hide file tree
Showing 72 changed files with 1 addition and 396 deletions.
5 changes: 0 additions & 5 deletions src/internal/InnerSubscriber.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { Subscriber } from './Subscriber';
import { OuterSubscriber } from './OuterSubscriber';

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class InnerSubscriber<T, R> extends Subscriber<R> {
private index = 0;

Expand Down
5 changes: 0 additions & 5 deletions src/internal/OuterSubscriber.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import { Subscriber } from './Subscriber';
import { InnerSubscriber } from './InnerSubscriber';

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class OuterSubscriber<T, R> extends Subscriber<T> {
notifyNext(outerValue: T, innerValue: R,
outerIndex: number, innerIndex: number,
Expand Down
5 changes: 0 additions & 5 deletions src/internal/SubjectSubscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { Subject } from './Subject';
import { Observer } from './types';
import { Subscription } from './Subscription';

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class SubjectSubscription<T> extends Subscription {
closed: boolean = false;

Expand Down
5 changes: 0 additions & 5 deletions src/internal/Subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -161,11 +161,6 @@ export class Subscriber<T> extends Subscription implements Observer<T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class SafeSubscriber<T> extends Subscriber<T> {

private _context: any;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/observable/SubscribeOnObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,6 @@ export interface DispatchArg<T> {
subscriber: Subscriber<T>;
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @extends {Ignored}
* @hide true
*/
export class SubscribeOnObservable<T> extends Observable<T> {
/** @nocollapse */
static create<T>(source: Observable<T>, delay: number = 0, scheduler: SchedulerLike = asap): Observable<T> {
Expand Down
5 changes: 0 additions & 5 deletions src/internal/observable/combineLatest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -245,11 +245,6 @@ export class CombineLatestOperator<T, R> implements Operator<T, R> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class CombineLatestSubscriber<T, R> extends OuterSubscriber<T, R> {
private active: number = 0;
private values: any[] = [];
Expand Down
10 changes: 0 additions & 10 deletions src/internal/observable/dom/AjaxObservable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,6 @@ export function ajaxGetJSON<T>(url: string, headers?: Object): Observable<T> {
);
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @extends {Ignored}
* @hide true
*/
export class AjaxObservable<T> extends Observable<T> {
/**
* Creates an observable for an Ajax request with either a request object with
Expand Down Expand Up @@ -186,11 +181,6 @@ export class AjaxObservable<T> extends Observable<T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class AjaxSubscriber<T> extends Subscriber<Event> {
// @ts-ignore: Property has no initializer and is not definitely assigned
private xhr: XMLHttpRequest;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/observable/race.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,11 +74,6 @@ export class RaceOperator<T> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class RaceSubscriber<T> extends OuterSubscriber<T, T> {
private hasFirst: boolean = false;
private observables: Observable<any>[] = [];
Expand Down
10 changes: 0 additions & 10 deletions src/internal/observable/zip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,11 +100,6 @@ export class ZipOperator<T, R> implements Operator<T, R> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class ZipSubscriber<T, R> extends Subscriber<T> {
private values: any;
private resultSelector?: (...values: Array<any>) => R;
Expand Down Expand Up @@ -271,11 +266,6 @@ class StaticArrayIterator<T> implements LookAheadIterator<T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class ZipBufferIterator<T, R> extends OuterSubscriber<T, R> implements LookAheadIterator<T> {
stillUnsubscribed = true;
buffer: T[] = [];
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/audit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ class AuditOperator<T> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class AuditSubscriber<T, R> extends OuterSubscriber<T, R> {

private value: T | null = null;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/buffer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ class BufferOperator<T> implements Operator<T, T[]> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class BufferSubscriber<T> extends OuterSubscriber<T, any> {
private buffer: T[] = [];

Expand Down
10 changes: 0 additions & 10 deletions src/internal/operators/bufferCount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ class BufferCountOperator<T> implements Operator<T, T[]> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class BufferCountSubscriber<T> extends Subscriber<T> {
private buffer: T[] = [];

Expand Down Expand Up @@ -111,11 +106,6 @@ class BufferCountSubscriber<T> extends Subscriber<T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class BufferSkipCountSubscriber<T> extends Subscriber<T> {
private buffers: Array<T[]> = [];
private count: number = 0;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/bufferTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -123,11 +123,6 @@ interface DispatchCloseArg<T> {
context: Context<T>;
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class BufferTimeSubscriber<T> extends Subscriber<T> {
private contexts: Array<Context<T>> = [];
private timespanOnly: boolean;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/bufferToggle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,6 @@ interface BufferContext<T> {
subscription: Subscription;
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class BufferToggleSubscriber<T, O> extends OuterSubscriber<T, O> {
private contexts: Array<BufferContext<T>> = [];

Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/bufferWhen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ class BufferWhenOperator<T> implements Operator<T, T[]> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class BufferWhenSubscriber<T> extends OuterSubscriber<T, any> {
private buffer: T[] | undefined;
private subscribing: boolean = false;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/catchError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ class CatchOperator<T, R> implements Operator<T, T | R> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class CatchSubscriber<T, R> extends OuterSubscriber<T, T | R> {
constructor(destination: Subscriber<any>,
private selector: (err: any, caught: Observable<T>) => ObservableInput<T | R>,
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/count.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ class CountOperator<T> implements Operator<T, number> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class CountSubscriber<T> extends Subscriber<T> {
private count: number = 0;
private index: number = 0;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/debounce.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ class DebounceOperator<T> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DebounceSubscriber<T, R> extends OuterSubscriber<T, R> {
private value: T | null = null;
private hasValue: boolean = false;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/debounceTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ class DebounceTimeOperator<T> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DebounceTimeSubscriber<T> extends Subscriber<T> {
private debouncedSubscription: Subscription | null = null;
private lastValue: T | null = null;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/defaultIfEmpty.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,6 @@ class DefaultIfEmptyOperator<T, R> implements Operator<T, T | R> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DefaultIfEmptySubscriber<T, R> extends Subscriber<T> {
private isEmpty: boolean = true;

Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/delay.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ interface DelayState<T> {
scheduler: SchedulerLike;
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DelaySubscriber<T> extends Subscriber<T> {
private queue: Array<DelayMessage<T>> = [];
private active: boolean = false;
Expand Down
15 changes: 0 additions & 15 deletions src/internal/operators/delayWhen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,11 +91,6 @@ class DelayWhenOperator<T> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DelayWhenSubscriber<T, R> extends OuterSubscriber<T, R> {
private completed: boolean = false;
private delayNotifierSubscriptions: Array<Subscription> = [];
Expand Down Expand Up @@ -172,11 +167,6 @@ class DelayWhenSubscriber<T, R> extends OuterSubscriber<T, R> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class SubscriptionDelayObservable<T> extends Observable<T> {
constructor(public source: Observable<T>, private subscriptionDelay: Observable<any>) {
super();
Expand All @@ -188,11 +178,6 @@ class SubscriptionDelayObservable<T> extends Observable<T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class SubscriptionDelaySubscriber<T> extends Subscriber<T> {
private sourceSubscribed: boolean = false;

Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/dematerialize.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,6 @@ class DeMaterializeOperator<T extends Notification<any>, R> implements Operator<
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DeMaterializeSubscriber<T extends Notification<any>> extends Subscriber<T> {
constructor(destination: Subscriber<any>) {
super(destination);
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/distinct.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,6 @@ class DistinctOperator<T, K> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
export class DistinctSubscriber<T, K> extends OuterSubscriber<T, T> {
private values = new Set<K>();

Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/distinctUntilChanged.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ class DistinctUntilChangedOperator<T, K> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class DistinctUntilChangedSubscriber<T, K> extends Subscriber<T> {
private key: K | undefined;
private hasKey: boolean = false;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/every.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,6 @@ class EveryOperator<T> implements Operator<T, boolean> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class EverySubscriber<T> extends Subscriber<T> {
private index: number = 0;

Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/exhaust.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ class SwitchFirstOperator<T> implements Operator<T, T> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class SwitchFirstSubscriber<T> extends OuterSubscriber<T, T> {
private hasCompleted: boolean = false;
private hasSubscription: boolean = false;
Expand Down
5 changes: 0 additions & 5 deletions src/internal/operators/exhaustMap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,6 @@ class ExhaustMapOperator<T, R> implements Operator<T, R> {
}
}

/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class ExhaustMapSubscriber<T, R> extends OuterSubscriber<T, R> {
private hasSubscription = false;
private hasCompleted = false;
Expand Down
Loading

0 comments on commit e8d2226

Please sign in to comment.