From bedab9ae83e80e5cfba7c6091153cd3232deb8e6 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Thu, 4 Feb 2021 17:28:55 +0100 Subject: [PATCH] update types --- package-lock.json | 2 +- src/module/item/item-sheet.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index ec26885..a91749c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3119,7 +3119,7 @@ } }, "foundry-vtt-types": { - "version": "github:League-of-Foundry-Developers/foundry-vtt-types#6a0610600e1058057ec54707762636eab313e2b4", + "version": "github:League-of-Foundry-Developers/foundry-vtt-types#7e435fb1797edcde223ded6a5e7a75ce2140bf17", "from": "github:League-of-Foundry-Developers/foundry-vtt-types#foundry-0.7.9", "dev": true, "requires": { diff --git a/src/module/item/item-sheet.ts b/src/module/item/item-sheet.ts index 3fe09a3..c4e5fc3 100644 --- a/src/module/item/item-sheet.ts +++ b/src/module/item/item-sheet.ts @@ -120,7 +120,7 @@ export class DS4ItemSheet extends ItemSheet { transfer: true, }; - const effect = ActiveEffect.create(createData as ActiveEffect.Data, this.item); // TODO(types): ActiveEffect.create should be able to work with only partial createData. Fix this upstream + const effect = ActiveEffect.create(createData, this.item); return effect.create({}); } }