Skip to content

Commit

Permalink
chore: apply changes after linting [bot]
Browse files Browse the repository at this point in the history
  • Loading branch information
taiga-family-bot authored and github-actions[bot] committed Dec 26, 2024
1 parent a1160a8 commit 2a119dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ import {map, startWith, timer} from 'rxjs';
AsyncPipe,
NgIf,
TuiButton,
TuiExpand,
TuiLoader,
TuiElasticContainer,
TuiExpand,
TuiItem,
TuiLoader,
],
templateUrl: './index.html',
encapsulation,
Expand Down
5 changes: 3 additions & 2 deletions projects/experimental/components/expand/expand.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {TuiItem} from '@taiga-ui/cdk/directives';
@Component({
standalone: true,
selector: 'tui-expand',
imports: [NgIf, NgTemplateOutlet],
template: `
<div class="t-wrapper">
<ng-container
Expand All @@ -21,16 +22,16 @@ import {TuiItem} from '@taiga-ui/cdk/directives';
</div>
`,
styleUrls: ['./expand.style.less'],
changeDetection: ChangeDetectionStrategy.OnPush,
host: {
'[class._expanded]': 'expanded',
'(transitionend.self)': 'onTransitionEnd($event)',
},
changeDetection: ChangeDetectionStrategy.OnPush,
imports: [NgTemplateOutlet, NgIf],
})
export class TuiExpand {
@ContentChild(TuiItem, {read: TemplateRef})
protected content?: TemplateRef<any>;

Check warning on line 33 in projects/experimental/components/expand/expand.component.ts

View check run for this annotation

codefactor.io / CodeFactor

projects/experimental/components/expand/expand.component.ts#L33

Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)

protected animating = false;

@Input()
Expand Down

0 comments on commit 2a119dd

Please sign in to comment.