We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
any
1 parent 0b1c233 commit a6eff18Copy full SHA for a6eff18
src/material/sort/sort.spec.ts
@@ -539,8 +539,8 @@ class SimpleMatSortApp {
539
}
540
541
542
-class FakeDataSource extends DataSource<any> {
543
- connect(collectionViewer: CollectionViewer): Observable<any[]> {
+class FakeDataSource extends DataSource<never> {
+ connect(collectionViewer: CollectionViewer): Observable<never[]> {
544
return collectionViewer.viewChange.pipe(map(() => []));
545
546
disconnect() {}
0 commit comments