update types
This commit is contained in:
parent
d8e085ce81
commit
4e9b434839
2 changed files with 2 additions and 2 deletions
|
@ -132,7 +132,7 @@ export class DS4ActorSheet extends ActorSheet<unknown, DS4Actor> {
|
|||
console.log("Current target:", $(ev.currentTarget).get(0)["name"]);
|
||||
const el: HTMLFormElement = $(ev.currentTarget).get(0);
|
||||
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");
|
||||
|
||||
// Early return:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue