From 36bcef54e776f013a5d42c9fed8bf11f1e881732 Mon Sep 17 00:00:00 2001 From: Torsten Brendgen Date: Wed, 19 Aug 2026 21:30:57 +0200 Subject: [PATCH] fix: change type of insertBefore to Node for better type safety --- .../customBranding/CustomBrandingApplicationCustomizer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extensions/customBranding/CustomBrandingApplicationCustomizer.ts b/src/extensions/customBranding/CustomBrandingApplicationCustomizer.ts index 799f36e..911b267 100644 --- a/src/extensions/customBranding/CustomBrandingApplicationCustomizer.ts +++ b/src/extensions/customBranding/CustomBrandingApplicationCustomizer.ts @@ -136,7 +136,7 @@ export default class CustomBrandingApplicationCustomizer this.debug('Top rendering failed.', error); } - const insertBefore: ChildNode | null = host.firstChild; + const insertBefore: Node = host.firstChild; while (staging.firstChild) { const element: HTMLElement = staging.firstChild as HTMLElement; element.setAttribute('data-custom-branding-owner', COMPONENT_ID);