From 378d65d848fde73cd4b65f8bbdf4e867435405c9 Mon Sep 17 00:00:00 2001 From: InfinityDevTech <47366052+InfinityDevTech@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:34:12 -0400 Subject: [PATCH] No more beaming energy into creeps minds... --- src/structure.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structure.ts b/src/structure.ts index 95f109c..503dca3 100644 --- a/src/structure.ts +++ b/src/structure.ts @@ -202,7 +202,7 @@ interface StructureLink extends OwnedStructure { * @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, _ConstructorById {}