Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimirpotekhin committed Oct 9, 2023
1 parent aa4ddb4 commit 895f6d1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class TuiFilterByInputWithPipe
protected readonly accessor: TuiFocusableElementAccessor,
@Optional()
@Inject(TuiMultiSelectDirective)
protected readonly multiSelect: TuiMultiSelectDirective | null,
protected readonly multiSelect: unknown,
) {
super();
}
Expand Down
3 changes: 1 addition & 2 deletions projects/kit/pipes/filter-by-input/filter-by-input.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {
TuiStringHandler,
TuiStringMatcher,
} from '@taiga-ui/cdk';
import {TuiMultiSelectDirective} from '@taiga-ui/kit/components/multi-select';
import {tuiIsFlat} from '@taiga-ui/kit/utils';

export type ArrayElement<A> = A extends ReadonlyArray<infer T>
Expand All @@ -16,7 +15,7 @@ export type ArrayElement<A> = A extends ReadonlyArray<infer T>

export abstract class AbstractTuiFilterByInput {
protected abstract readonly accessor: TuiFocusableElementAccessor;
protected abstract readonly multiSelect: TuiMultiSelectDirective | null;
protected abstract readonly multiSelect: unknown;

protected get query(): string {
return this.accessor.nativeFocusableElement
Expand Down
2 changes: 1 addition & 1 deletion projects/kit/pipes/filter-by-input/filter-by-input.pipe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export class TuiFilterByInputPipe
private readonly host: TuiDataListHost<unknown>,
@Optional()
@Inject(TuiMultiSelectDirective)
protected readonly multiSelect: TuiMultiSelectDirective | null,
protected readonly multiSelect: unknown,
) {
super();
}
Expand Down

0 comments on commit 895f6d1

Please sign in to comment.