9
9
import { Observable , ObservableInput } from 'rxjs/Observable' ;
10
10
import { PartialObserver } from 'rxjs/Observer' ;
11
11
import { Subscription } from 'rxjs/Subscription' ;
12
- import { Scheduler , IScheduler } from 'rxjs/Scheduler' ;
12
+ import { IScheduler } from 'rxjs/Scheduler' ;
13
13
import { _finally as _finallyOperator } from 'rxjs/operator/finally' ;
14
14
import { _catch as _catchOperator } from 'rxjs/operator/catch' ;
15
15
import { _do as _doOperator } from 'rxjs/operator/do' ;
@@ -34,8 +34,6 @@ import {takeUntil as takeUntilOperator} from 'rxjs/operator/takeUntil';
34
34
*
35
35
* The downside to this approach is that operators must be imported in their type-coerced form
36
36
* rather than from the normal rxjs location.
37
- *
38
- * @docs -private
39
37
*/
40
38
export interface StrictRxChain < T > {
41
39
call < R > ( operator : mapOperatorType < T , R > ,
@@ -78,77 +76,41 @@ export interface StrictRxChain<T> {
78
76
result ( ) : Observable < T > ;
79
77
}
80
78
81
- // @docs -private
82
79
export class FinallyBrand { private _ ; }
83
- // @docs -private
84
80
export class CatchBrand { private _ ; }
85
- // @docs -private
86
81
export class DoBrand { private _ ; }
87
- // @docs -private
88
82
export class MapBrand { private _ ; }
89
- // @docs -private
90
83
export class FilterBrand { private _ ; }
91
- // @docs -private
92
84
export class ShareBrand { private _ ; }
93
- // @docs -private
94
85
export class FirstBrand { private _ ; }
95
- // @docs -private
96
86
export class SwitchMapBrand { private _ ; }
97
- // @docs -private
98
87
export class StartWithBrand { private _ ; }
99
- // @docs -private
100
88
export class DebounceTimeBrand { private _ ; }
101
- // @docs -private
102
89
export class AuditTimeBrand { private _ ; }
103
- // @docs -private
104
90
export class TakeUntilBrand { private _ ; }
105
91
106
- // @docs -private
107
92
export type finallyOperatorType < T > = typeof _finallyOperator & FinallyBrand ;
108
- // @docs -private
109
93
export type catchOperatorType < T , R > = typeof _catchOperator & CatchBrand ;
110
- // @docs -private
111
94
export type doOperatorType < T > = typeof _doOperator & DoBrand ;
112
- // @docs -private
113
95
export type mapOperatorType < T , R > = typeof mapOperator & MapBrand ;
114
- // @docs -private
115
96
export type filterOperatorType < T > = typeof filterOperator & FilterBrand ;
116
- // @docs -private
117
97
export type shareOperatorType < T > = typeof shareOperator & ShareBrand ;
118
- // @docs -private
119
98
export type firstOperatorType < T > = typeof firstOperator & FirstBrand ;
120
- // @docs -private
121
99
export type switchMapOperatorType < T , R > = typeof switchMapOperator & SwitchMapBrand ;
122
- // @docs -private
123
100
export type startWithOperatorType < T > = typeof startWithOperator & StartWithBrand ;
124
- // @docs -private
125
101
export type debounceTimeOperatorType < T > = typeof debounceTimeOperator & DebounceTimeBrand ;
126
- // @docs -private
127
102
export type auditTimeOperatorType < T > = typeof auditTimeOperator & AuditTimeBrand ;
128
- // @docs -private
129
103
export type takeUntilOperatorType < T > = typeof takeUntilOperator & TakeUntilBrand ;
130
104
131
- // @docs -private
132
105
export const finallyOperator = _finallyOperator as typeof _finallyOperator & FinallyBrand ;
133
- // @docs -private
134
106
export const catchOperator = _catchOperator as typeof _catchOperator & CatchBrand ;
135
- // @docs -private
136
107
export const doOperator = _doOperator as typeof _doOperator & DoBrand ;
137
- // @docs -private
138
108
export const map = mapOperator as typeof mapOperator & MapBrand ;
139
- // @docs -private
140
109
export const filter = filterOperator as typeof filterOperator & FilterBrand ;
141
- // @docs -private
142
110
export const share = shareOperator as typeof shareOperator & ShareBrand ;
143
- // @docs -private
144
111
export const first = firstOperator as typeof firstOperator & FirstBrand ;
145
- // @docs -private
146
112
export const switchMap = switchMapOperator as typeof switchMapOperator & SwitchMapBrand ;
147
- // @docs -private
148
113
export const startWith = startWithOperator as typeof startWithOperator & StartWithBrand ;
149
- // @docs -private
150
114
export const debounceTime = debounceTimeOperator as typeof debounceTimeOperator & DebounceTimeBrand ;
151
- // @docs -private
152
115
export const auditTime = auditTimeOperator as typeof auditTimeOperator & AuditTimeBrand ;
153
- // @docs -private
154
116
export const takeUntil = takeUntilOperator as typeof takeUntilOperator & TakeUntilBrand ;
0 commit comments