diff --git a/dist/index.d.ts b/dist/index.d.ts index 22d5f3f..b844297 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -3238,9 +3238,9 @@ interface Mineral extends RoomObjec */ id: Id; /** - * The remaining time after which the deposit will be refilled. + * The remaining time after which the deposit will be refilled if is recharging, otherwise undefined. */ - ticksToRegeneration: number; + ticksToRegeneration?: number; } interface MineralConstructor extends _Constructor, _ConstructorById {} diff --git a/src/mineral.ts b/src/mineral.ts index 9868fa1..dfebc60 100644 --- a/src/mineral.ts +++ b/src/mineral.ts @@ -24,9 +24,9 @@ interface Mineral extends RoomObjec */ id: Id; /** - * The remaining time after which the deposit will be refilled. + * The remaining time after which the deposit will be refilled if is recharging, otherwise undefined. */ - ticksToRegeneration: number; + ticksToRegeneration?: number; } interface MineralConstructor extends _Constructor, _ConstructorById {}