From b181a629fba82c74030aa6755b82af07912bedf5 Mon Sep 17 00:00:00 2001 From: Yosvel Quintero Date: Thu, 20 Jun 2024 15:39:32 +0700 Subject: [PATCH] refactor: Update private template component to use number type for resize timeout --- .../components/templates/private/private-template.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/modules/ui/src/lib/components/templates/private/private-template.component.ts b/packages/modules/ui/src/lib/components/templates/private/private-template.component.ts index da315f0c..4dff9fa2 100644 --- a/packages/modules/ui/src/lib/components/templates/private/private-template.component.ts +++ b/packages/modules/ui/src/lib/components/templates/private/private-template.component.ts @@ -44,7 +44,7 @@ export class RcPrivateTemplateComponent implements OnInit, OnDestroy { clearTimeout(this.resizeTimeout); this.resizeTimeout = setTimeout(() => { this.isResizing = false; - }, 500); // Wait for 500ms after the resize event stops firing + }, 500) as unknown as number; // Wait for 500ms after the resize event stops firing } menuTopLinks = [