Skip to content

Commit

Permalink
mineral: make ticksToRegeneration optional (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusvellone authored Oct 25, 2021
1 parent 9fc0a79 commit b2b476c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3238,9 +3238,9 @@ interface Mineral<T extends MineralConstant = MineralConstant> extends RoomObjec
*/
id: Id<this>;
/**
* 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<Mineral>, _ConstructorById<Mineral> {}
Expand Down
4 changes: 2 additions & 2 deletions src/mineral.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ interface Mineral<T extends MineralConstant = MineralConstant> extends RoomObjec
*/
id: Id<this>;
/**
* 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<Mineral>, _ConstructorById<Mineral> {}
Expand Down

0 comments on commit b2b476c

Please sign in to comment.