From 6481cf93e5f099581573ca135d3a8cf67f6f6f65 Mon Sep 17 00:00:00 2001 From: InfinityDevTech <47366052+InfinityDevTech@users.noreply.github.com> Date: Tue, 16 Jul 2024 14:36:17 -0400 Subject: [PATCH] Update index.d.ts --- dist/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/index.d.ts b/dist/index.d.ts index d49128f..f94e393 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -5169,7 +5169,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 {}