mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-24 03:19:55 +02:00
Apply suggestion from @CarlosFdez
This commit is contained in:
parent
c7e8ce96cf
commit
e0fc9ecbdc
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ export default class DhCountdowns extends HandlebarsApplicationMixin(Application
|
||||||
* Sends updates of the countdowns to the GM player. Since this is asynchronous, be sure to
|
* Sends updates of the countdowns to the GM player. Since this is asynchronous, be sure to
|
||||||
* update all the countdowns at the same time.
|
* update all the countdowns at the same time.
|
||||||
*
|
*
|
||||||
* @param {...{ type: <key>, undo: boolean }} progressTypes Countdowns to be updated
|
* @param {...(string | { type: string; undo?: boolean })} progressTypes Countdowns to be updated
|
||||||
*/
|
*/
|
||||||
static async updateCountdowns(...progressTypes) {
|
static async updateCountdowns(...progressTypes) {
|
||||||
progressTypes = progressTypes.map(p => typeof p === 'string' ? { type: p } : p);
|
progressTypes = progressTypes.map(p => typeof p === 'string' ? { type: p } : p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue