From 0b357aa0282094be341c3e4f1d0652ff72ec8f2d Mon Sep 17 00:00:00 2001 From: Bart Huijgen Date: Mon, 16 Oct 2023 23:08:52 +0200 Subject: [PATCH] fix: typescript error --- libs/web-utils/src/lib/web-utils.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libs/web-utils/src/lib/web-utils.ts b/libs/web-utils/src/lib/web-utils.ts index b2cb1a0..1caf373 100644 --- a/libs/web-utils/src/lib/web-utils.ts +++ b/libs/web-utils/src/lib/web-utils.ts @@ -60,10 +60,11 @@ export function getFirstBookFromString(string: string): BlueprintString | null { return null; } -interface ChildTreeBlueprintEnriched extends ChildTreeBlueprint { +interface ChildTreeBlueprintEnriched extends Omit { icons: Icon[]; } -export interface ChildTreeBlueprintBookEnriched extends ChildTreeBlueprintBook { +export interface ChildTreeBlueprintBookEnriched + extends Omit { icons?: Icon[]; children: ChildTreeEnriched; }