Skip to content

Commit ad07730

Browse files
committed
chore: add missing type
1 parent 8a7c9bf commit ad07730

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples-standalone/personal-finance-app/src/app/components/analytics/analytics.component.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ export class AnalyticsComponent {
9090
};
9191

9292
@HostListener('window:resize', ['$event'])
93-
onResize(event: any): void {
94-
this.updateLegendPosition(event.target.innerWidth);
93+
onResize(event: UIEvent): void {
94+
this.updateLegendPosition((event.target as Window).innerWidth);
9595
}
9696

9797
private updateLegendPosition(width: number): void {

0 commit comments

Comments
 (0)