update types

This commit is contained in:
Johannes Loher 2021-02-04 17:28:55 +01:00
parent 4e9b434839
commit bedab9ae83
2 changed files with 2 additions and 2 deletions

2
package-lock.json generated
View file

@ -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": {

View file

@ -120,7 +120,7 @@ export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
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({});
}
}