UNPKG

@illandril/foundryvtt-types

Version:

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

17 lines (14 loc) 539 B
import type { ClientDocument } from './ClientDocument'; declare global { class Macro extends foundry.documents.BaseMacro implements ClientDocument { isOwner: ClientDocument['isOwner']; hasPlayerOwner: ClientDocument['hasPlayerOwner']; visible: ClientDocument['visible']; prepareData: ClientDocument['prepareData']; prepareDerivedData: ClientDocument['prepareDerivedData']; render: ClientDocument['render']; update: ClientDocument['update']; get isAuthor(): boolean; get canExecute(): boolean; } }