mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
chore: fix demo app compilation error (#8811)
Fixes a compilation error in the demo app when running on a fresh install.
This commit is contained in:
committed by
mmalerba
parent
347823d773
commit
5690c87fbd
Generated
+4326
-5878
File diff suppressed because it is too large
Load Diff
@@ -6,7 +6,6 @@ import {BehaviorSubject} from 'rxjs/BehaviorSubject';
|
||||
import {combineLatest} from 'rxjs/observable/combineLatest';
|
||||
import {CdkTableModule} from './index';
|
||||
import {Observable} from 'rxjs/Observable';
|
||||
import {map} from 'rxjs/operators/map';
|
||||
import {
|
||||
getTableDuplicateColumnNameError,
|
||||
getTableMissingMatchingRowDefError,
|
||||
@@ -639,7 +638,7 @@ class FakeDataSource extends DataSource<TestData> {
|
||||
connect(collectionViewer: CollectionViewer) {
|
||||
this.isConnected = true;
|
||||
const streams = [this._dataChange, collectionViewer.viewChange];
|
||||
return combineLatest<TestData[]>(streams).pipe(map(([data]) => data));
|
||||
return combineLatest(streams, (data, _) => data);
|
||||
}
|
||||
|
||||
disconnect() {
|
||||
|
||||
Reference in New Issue
Block a user