Skip to content

Commit

Permalink
fix(table): table filters pipe types (#9076)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewmnlv authored Sep 19, 2024
1 parent dbf2510 commit 0635555
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {TuiTableFiltersDirective} from './table-filters.directive';
export class TuiTableFiltersPipe<T> implements PipeTransform {
private readonly filters = inject(TuiTableFiltersDirective<T>);

public transform(items: readonly T[]): Observable<readonly T[]> {
public transform<T>(items: readonly T[]): Observable<readonly T[]> {
return this.filters.filter(items);
}
}

0 comments on commit 0635555

Please sign in to comment.