Skip to content

Commit

Permalink
fix: typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
barthuijgen committed Oct 16, 2023
1 parent 53d4794 commit c24cf9f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/web-utils/src/lib/web-utils.ts
Expand Up @@ -60,10 +60,11 @@ export function getFirstBookFromString(string: string): BlueprintString | null {
return null;
}

interface ChildTreeBlueprintEnriched extends ChildTreeBlueprint {
interface ChildTreeBlueprintEnriched extends Omit<ChildTreeBlueprint, "icons"> {
icons: Icon[];
}
export interface ChildTreeBlueprintBookEnriched extends ChildTreeBlueprintBook {
export interface ChildTreeBlueprintBookEnriched
extends Omit<ChildTreeBlueprintBook, "icons" | "children"> {
icons?: Icon[];
children: ChildTreeEnriched;
}
Expand Down

0 comments on commit c24cf9f

Please sign in to comment.