UNPKG

@illandril/foundryvtt-types

Version:

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

20 lines (16 loc) 686 B
import type { ClientDocument } from './ClientDocument'; declare global { class Combat extends foundry.documents.BaseCombat implements ClientDocument { isOwner: ClientDocument['isOwner']; hasPlayerOwner: ClientDocument['hasPlayerOwner']; visible: ClientDocument['visible']; prepareData: ClientDocument['prepareData']; prepareDerivedData: ClientDocument['prepareDerivedData']; render: ClientDocument['render']; update: ClientDocument['update']; get started(): boolean; get combatant(): Combatant | null | undefined; get scene(): Scene | null | undefined; getCombatantByActor(actorOrId: string | Actor): Combatant | null | undefined; } }