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:
parent
aed0d316f5
commit
0b357aa028
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user