1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2024-12-04 10:44:44 +02:00

fix: typescript error

This commit is contained in:
Bart Huijgen 2023-10-16 23:08:52 +02:00 committed by Bart
parent aed0d316f5
commit 0b357aa028

View File

@ -60,10 +60,11 @@ export function getFirstBookFromString(string: string): BlueprintString | null {
return null; return null;
} }
interface ChildTreeBlueprintEnriched extends ChildTreeBlueprint { interface ChildTreeBlueprintEnriched extends Omit<ChildTreeBlueprint, "icons"> {
icons: Icon[]; icons: Icon[];
} }
export interface ChildTreeBlueprintBookEnriched extends ChildTreeBlueprintBook { export interface ChildTreeBlueprintBookEnriched
extends Omit<ChildTreeBlueprintBook, "icons" | "children"> {
icons?: Icon[]; icons?: Icon[];
children: ChildTreeEnriched; children: ChildTreeEnriched;
} }