Skip to content

Commit 467d57f

Browse files
committed
build(data): add /** @dynamic */ to fix a build error
1 parent a95e8a4 commit 467d57f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

projects/abstract/data/src/abs-pagination-data-service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {Directive} from '@angular/core';
44
import {BehaviorSubject, Observable, Subscription} from 'rxjs';
55
import {take} from 'rxjs/operators';
66

7-
type nextPageCb<T> = (page: number) => Observable<T[]>;
7+
export type nextPageCb<T> = (page: number) => Observable<T[]>;
88

99
/**
1010
* A more complex **CDK DataSource** that supports pagination.
@@ -25,6 +25,7 @@ type nextPageCb<T> = (page: number) => Observable<T[]>;
2525
* </<cdk-virtual-scroll-viewport>
2626
* ```
2727
*/
28+
/** @dynamic */
2829
@Directive()
2930
export abstract class AbsPaginationDataService<T> extends DataSource<T> {
3031
abstract pageSize = 50;

0 commit comments

Comments
 (0)