Skip to content

Commit

Permalink
No more beaming energy into creeps minds...
Browse files Browse the repository at this point in the history
  • Loading branch information
InfinityDevTech authored Jul 16, 2024
1 parent 79884ad commit 378d65d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/structure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ interface StructureLink extends OwnedStructure<STRUCTURE_LINK> {
* @param target The target object.
* @param amount The amount of energy to be transferred. If omitted, all the available energy is used.
*/
transferEnergy(target: Creep | StructureLink, amount?: number): ScreepsReturnCode;
transferEnergy(target: StructureLink, amount?: number): ScreepsReturnCode;
}

interface StructureLinkConstructor extends _Constructor<StructureLink>, _ConstructorById<StructureLink> {}
Expand Down

0 comments on commit 378d65d

Please sign in to comment.