chore(deps): update yarn, typescript, and fvtt types

This commit is contained in:
Johannes Loher 2022-03-20 17:58:21 +01:00
parent 2ce9b9f9e4
commit 09347b18f0
14 changed files with 1429 additions and 1495 deletions

View file

@ -107,7 +107,7 @@ export class DS4ItemSheet extends ItemSheet<ItemSheet.Options, DS4ItemSheetData>
.data(embeddedDocumentListEntryProperties.ActiveEffect.idDataAttribute);
const effect = this.item.effects.get(id);
enforce(effect, getGame().i18n.format("DS4.ErrorItemDoesNotHaveEffect", { id, item: this.item.name }));
effect.sheet.render(true);
effect.sheet?.render(true);
}
/**