From 2a44ed7db42a261e0d242eb62690ad0abf9231dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9C=D0=B0=D0=BA=D1=81=D0=B8=D0=BC=20=D0=98=D0=B2=D0=B0?= =?UTF-8?q?=D0=BD=D0=BE=D0=B2?= Date: Thu, 17 Oct 2024 14:26:00 +0300 Subject: [PATCH] refactor: use `unknown` instead of `any` for `isMultiValue` util (#9472) --- .../components/mobile-calendar/mobile-calendar.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/addon-mobile/components/mobile-calendar/mobile-calendar.component.ts b/projects/addon-mobile/components/mobile-calendar/mobile-calendar.component.ts index 07fa0ac72d18..a4bf2b308a0c 100644 --- a/projects/addon-mobile/components/mobile-calendar/mobile-calendar.component.ts +++ b/projects/addon-mobile/components/mobile-calendar/mobile-calendar.component.ts @@ -329,7 +329,7 @@ export class TuiMobileCalendar implements AfterViewInit { ); } - private isMultiValue(day: any): day is readonly TuiDay[] | undefined { + private isMultiValue(day: unknown): day is readonly TuiDay[] | undefined { return !(day instanceof TuiDay) && !(day instanceof TuiDayRange) && this.multi; }