Skip to content

Commit

Permalink
Update index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
InfinityDevTech authored Jul 16, 2024
1 parent 378d65d commit 6481cf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5169,7 +5169,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 6481cf9

Please sign in to comment.