99import { Observable , ObservableInput } from 'rxjs/Observable' ;
1010import { PartialObserver } from 'rxjs/Observer' ;
1111import { Subscription } from 'rxjs/Subscription' ;
12- import { Scheduler , IScheduler } from 'rxjs/Scheduler' ;
12+ import { IScheduler } from 'rxjs/Scheduler' ;
1313import { _finally as _finallyOperator } from 'rxjs/operator/finally' ;
1414import { _catch as _catchOperator } from 'rxjs/operator/catch' ;
1515import { _do as _doOperator } from 'rxjs/operator/do' ;
@@ -34,8 +34,6 @@ import {takeUntil as takeUntilOperator} from 'rxjs/operator/takeUntil';
3434 *
3535 * The downside to this approach is that operators must be imported in their type-coerced form
3636 * rather than from the normal rxjs location.
37- *
38- * @docs -private
3937 */
4038export interface StrictRxChain < T > {
4139 call < R > ( operator : mapOperatorType < T , R > ,
@@ -78,77 +76,41 @@ export interface StrictRxChain<T> {
7876 result ( ) : Observable < T > ;
7977}
8078
81- // @docs -private
8279export class FinallyBrand { private _ ; }
83- // @docs -private
8480export class CatchBrand { private _ ; }
85- // @docs -private
8681export class DoBrand { private _ ; }
87- // @docs -private
8882export class MapBrand { private _ ; }
89- // @docs -private
9083export class FilterBrand { private _ ; }
91- // @docs -private
9284export class ShareBrand { private _ ; }
93- // @docs -private
9485export class FirstBrand { private _ ; }
95- // @docs -private
9686export class SwitchMapBrand { private _ ; }
97- // @docs -private
9887export class StartWithBrand { private _ ; }
99- // @docs -private
10088export class DebounceTimeBrand { private _ ; }
101- // @docs -private
10289export class AuditTimeBrand { private _ ; }
103- // @docs -private
10490export class TakeUntilBrand { private _ ; }
10591
106- // @docs -private
10792export type finallyOperatorType < T > = typeof _finallyOperator & FinallyBrand ;
108- // @docs -private
10993export type catchOperatorType < T , R > = typeof _catchOperator & CatchBrand ;
110- // @docs -private
11194export type doOperatorType < T > = typeof _doOperator & DoBrand ;
112- // @docs -private
11395export type mapOperatorType < T , R > = typeof mapOperator & MapBrand ;
114- // @docs -private
11596export type filterOperatorType < T > = typeof filterOperator & FilterBrand ;
116- // @docs -private
11797export type shareOperatorType < T > = typeof shareOperator & ShareBrand ;
118- // @docs -private
11998export type firstOperatorType < T > = typeof firstOperator & FirstBrand ;
120- // @docs -private
12199export type switchMapOperatorType < T , R > = typeof switchMapOperator & SwitchMapBrand ;
122- // @docs -private
123100export type startWithOperatorType < T > = typeof startWithOperator & StartWithBrand ;
124- // @docs -private
125101export type debounceTimeOperatorType < T > = typeof debounceTimeOperator & DebounceTimeBrand ;
126- // @docs -private
127102export type auditTimeOperatorType < T > = typeof auditTimeOperator & AuditTimeBrand ;
128- // @docs -private
129103export type takeUntilOperatorType < T > = typeof takeUntilOperator & TakeUntilBrand ;
130104
131- // @docs -private
132105export const finallyOperator = _finallyOperator as typeof _finallyOperator & FinallyBrand ;
133- // @docs -private
134106export const catchOperator = _catchOperator as typeof _catchOperator & CatchBrand ;
135- // @docs -private
136107export const doOperator = _doOperator as typeof _doOperator & DoBrand ;
137- // @docs -private
138108export const map = mapOperator as typeof mapOperator & MapBrand ;
139- // @docs -private
140109export const filter = filterOperator as typeof filterOperator & FilterBrand ;
141- // @docs -private
142110export const share = shareOperator as typeof shareOperator & ShareBrand ;
143- // @docs -private
144111export const first = firstOperator as typeof firstOperator & FirstBrand ;
145- // @docs -private
146112export const switchMap = switchMapOperator as typeof switchMapOperator & SwitchMapBrand ;
147- // @docs -private
148113export const startWith = startWithOperator as typeof startWithOperator & StartWithBrand ;
149- // @docs -private
150114export const debounceTime = debounceTimeOperator as typeof debounceTimeOperator & DebounceTimeBrand ;
151- // @docs -private
152115export const auditTime = auditTimeOperator as typeof auditTimeOperator & AuditTimeBrand ;
153- // @docs -private
154116export const takeUntil = takeUntilOperator as typeof takeUntilOperator & TakeUntilBrand ;
0 commit comments