diff --git a/package-lock.json b/package-lock.json index ec268855..a91749c8 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 3fe09a3d..c4e5fc33 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({}); } }