Update types

This commit is contained in:
Johannes Loher 2021-02-05 02:35:47 +01:00
parent cd86857b43
commit 2641b1ee74
5 changed files with 38 additions and 38 deletions

View file

@ -1,3 +1,4 @@
import { DS4 } from "../config";
import { DS4Item } from "./item";
import { isDS4ItemDataTypePhysical } from "./item-data";
@ -47,7 +48,7 @@ export class DS4ItemSheet extends ItemSheet<unknown, DS4Item> {
getData(): ItemSheet.Data<DS4Item> {
const data = {
...super.getData(),
config: CONFIG.DS4,
config: DS4,
isOwned: this.item.isOwned,
actor: this.item.actor,
isPhysical: isDS4ItemDataTypePhysical(this.item.data.data),