Update types
This commit is contained in:
parent
cd86857b43
commit
2641b1ee74
5 changed files with 38 additions and 38 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue