UNPKG

@illandril/foundryvtt-types

Version:

Type definitions for the Foundry VTT client, used by Illandril's modules

22 lines (19 loc) 497 B
declare global { namespace foundry { namespace documents { type BaseItemFields = foundry.abstract.DocumentFields & { name: string; type: string; sort: number; }; class BaseItem extends foundry.abstract.Document { static TYPES: string[]; get name(): BaseItemFields['name']; get img(): string | null; get type(): BaseItemFields['type']; get sort(): BaseItemFields['sort']; } } } } export type {};