1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2024-12-03 09:59:50 +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;
}
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;
}