File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export class Observable<T> implements Subscribable<T> {
37
37
* can be `next`ed, or an `error` method can be called to raise an error, or
38
38
* `complete` can be called to notify of a successful completion.
39
39
*/
40
- constructor ( subscribe ?: < R > ( this : Observable < T > , subscriber : Subscriber < R > ) => TeardownLogic ) {
40
+ constructor ( subscribe ?: ( this : Observable < T > , subscriber : Subscriber < T > ) => TeardownLogic ) {
41
41
if ( subscribe ) {
42
42
this . _subscribe = subscribe ;
43
43
}
@@ -53,7 +53,7 @@ export class Observable<T> implements Subscribable<T> {
53
53
* @param {Function } subscribe? the subscriber function to be passed to the Observable constructor
54
54
* @return {Observable } a new cold observable
55
55
*/
56
- static create : Function = < T > ( subscribe ?: < R > ( subscriber : Subscriber < R > ) => TeardownLogic ) => {
56
+ static create : Function = < T > ( subscribe ?: ( subscriber : Subscriber < T > ) => TeardownLogic ) => {
57
57
return new Observable < T > ( subscribe ) ;
58
58
} ;
59
59
You can’t perform that action at this time.
0 commit comments