update types
This commit is contained in:
parent
d8e085ce81
commit
4e9b434839
2 changed files with 2 additions and 2 deletions
2
package-lock.json
generated
2
package-lock.json
generated
|
@ -3119,7 +3119,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"foundry-vtt-types": {
|
"foundry-vtt-types": {
|
||||||
"version": "github:League-of-Foundry-Developers/foundry-vtt-types#6ce375cdf4941da6c8213b3e5c6c5dffea3677b9",
|
"version": "github:League-of-Foundry-Developers/foundry-vtt-types#6a0610600e1058057ec54707762636eab313e2b4",
|
||||||
"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": {
|
||||||
|
|
|
@ -132,7 +132,7 @@ export class DS4ActorSheet extends ActorSheet<unknown, DS4Actor> {
|
||||||
console.log("Current target:", $(ev.currentTarget).get(0)["name"]);
|
console.log("Current target:", $(ev.currentTarget).get(0)["name"]);
|
||||||
const el: HTMLFormElement = $(ev.currentTarget).get(0);
|
const el: HTMLFormElement = $(ev.currentTarget).get(0);
|
||||||
const id = $(ev.currentTarget).parents(".item").data("itemId");
|
const id = $(ev.currentTarget).parents(".item").data("itemId");
|
||||||
const item = (duplicate(this.actor.getOwnedItem(id)) as unknown) as DS4ItemData; // TODO(types): Possibly get better type definition for duplicate into upstream
|
const item = duplicate<DS4Item, "lenient">(this.actor.getOwnedItem(id));
|
||||||
const property: string | undefined = $(ev.currentTarget).data("property");
|
const property: string | undefined = $(ev.currentTarget).data("property");
|
||||||
|
|
||||||
// Early return:
|
// Early return:
|
||||||
|
|
Loading…
Reference in a new issue