Skip to content

Commit

Permalink
fix(kit): use correct return type when passing an argument
Browse files Browse the repository at this point in the history
  • Loading branch information
splincode committed Jun 7, 2022
1 parent 6f5e047 commit 409aead
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions projects/kit/components/multi-select/hide-selected.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,14 @@ export class TuiHideSelectedPipe implements PipeTransform {
private readonly component: TuiMultiSelectComponent<any>,
) {}

transform<T>(
items: readonly T[] | null,
component?: TuiMultiSelectComponent<T>, // TODO: 3.0 @deprecated remove
): readonly T[] | null;
transform<T>(
items: ReadonlyArray<readonly T[]> | null,
component?: TuiMultiSelectComponent<T>, // TODO: 3.0 @deprecated remove
): ReadonlyArray<readonly T[]> | null;
transform<T>(
items: readonly T[] | ReadonlyArray<readonly T[]> | null,
component?: TuiMultiSelectComponent<T>, // TODO: 3.0 @deprecated remove
Expand Down

0 comments on commit 409aead

Please sign in to comment.