foundryvtt-dnd5e-types
Version:
TypeScript type definitions for the DnD5e system in Foundry VTT
20 lines (17 loc) • 335 B
TypeScript
/**
* The DnD5e ActiveEffect5e class
*/
export declare class ActiveEffect5e extends ActiveEffect {
/**
* Get the effect's duration
*/
getDuration(): Record<string, any>;
/**
* Get the effect's source
*/
getSource(): Record<string, any>;
/**
* Get the effect's target
*/
getTarget(): Actor5e | null;
}