typescript: added conditional for Subscriber importing (#7266)

This commit is contained in:
4d-shibasawa
2020-08-24 17:14:36 +09:00
committed by GitHub
parent 3e734a0b54
commit 19140dc00d
4 changed files with 4 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
// tslint:disable
{{>licenseInfo}}
import { Observable, of, Subscriber } from 'rxjs';
import { Observable, of{{#withProgressSubscriber}}, Subscriber{{/withProgressSubscriber}} } from 'rxjs';
import { ajax, AjaxRequest, AjaxResponse } from 'rxjs/ajax';
import { map, concatMap } from 'rxjs/operators';

View File

@@ -11,7 +11,7 @@
* Do not edit the class manually.
*/
import { Observable, of, Subscriber } from 'rxjs';
import { Observable, of } from 'rxjs';
import { ajax, AjaxRequest, AjaxResponse } from 'rxjs/ajax';
import { map, concatMap } from 'rxjs/operators';

View File

@@ -11,7 +11,7 @@
* Do not edit the class manually.
*/
import { Observable, of, Subscriber } from 'rxjs';
import { Observable, of } from 'rxjs';
import { ajax, AjaxRequest, AjaxResponse } from 'rxjs/ajax';
import { map, concatMap } from 'rxjs/operators';

View File

@@ -11,7 +11,7 @@
* Do not edit the class manually.
*/
import { Observable, of, Subscriber } from 'rxjs';
import { Observable, of } from 'rxjs';
import { ajax, AjaxRequest, AjaxResponse } from 'rxjs/ajax';
import { map, concatMap } from 'rxjs/operators';