Apply suggestion from @CarlosFdez

This commit is contained in:
Carlos Fernandez 2026-06-21 17:52:34 -04:00 committed by GitHub
parent c7e8ce96cf
commit e0fc9ecbdc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
* 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) {
progressTypes = progressTypes.map(p => typeof p === 'string' ? { type: p } : p);