update types

This commit is contained in:
Johannes Loher 2021-02-04 18:00:05 +01:00
parent bedab9ae83
commit 1d4c0ac459
2 changed files with 2 additions and 2 deletions

2
package-lock.json generated
View file

@ -3119,7 +3119,7 @@
} }
}, },
"foundry-vtt-types": { "foundry-vtt-types": {
"version": "github:League-of-Foundry-Developers/foundry-vtt-types#7e435fb1797edcde223ded6a5e7a75ce2140bf17", "version": "github:League-of-Foundry-Developers/foundry-vtt-types#71dbbcc8e94b8ffeb9e7295f1cb2af73f2d0c3d0",
"from": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9", "from": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9",
"dev": true, "dev": true,
"requires": { "requires": {

View file

@ -218,7 +218,7 @@ export class DS4ActorSheet extends ActorSheet<unknown, DS4Actor> {
const roll = new Roll(dataset.roll, this.actor.data.data); const roll = new Roll(dataset.roll, this.actor.data.data);
const label = dataset.label ? `Rolling ${dataset.label}` : ""; const label = dataset.label ? `Rolling ${dataset.label}` : "";
roll.roll().toMessage({ roll.roll().toMessage({
speaker: ChatMessage.getSpeaker({ actor: (this.actor as unknown) as string }), // TODO(types): Fix ChatMessage.getSpeaker in upstream speaker: ChatMessage.getSpeaker({ actor: this.actor }),
flavor: label, flavor: label,
}); });
} }