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 17, 2023
1 parent aed0d31 commit 0b357aa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions libs/web-utils/src/lib/web-utils.ts
Original file line number Diff line number Diff line change
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 0b357aa

Please sign in to comment.