Update foundry-vtt-types to remove some type workarounds

This commit is contained in:
Johannes Loher 2021-03-16 07:11:12 +01:00
parent 48e06678a9
commit 67d0253f66
5 changed files with 9 additions and 12 deletions

View file

@ -23,7 +23,7 @@ export async function createItemMacro(itemData: DS4ItemData, slot: string): Prom
},
{ displaySheet: false },
));
game.user?.assignHotbarMacro(macro, (slot as unknown) as number); // TODO(types): adjust so that cast is not needed, slot should be an optional string
game.user?.assignHotbarMacro(macro, slot);
}
/**