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