@illandril/foundryvtt-types
Version:
Type definitions for the Foundry VTT client, used by Illandril's modules
19 lines (17 loc) • 439 B
TypeScript
declare global {
namespace foundry {
namespace applications {
namespace types {
interface ApplicationHeaderControlsEntry {
action: string;
icon: string;
label: string;
onClick?: (event: PointerEvent) => void | Promise<void>;
ownership?: foundry.CONST.DocumentOwnershipLevel;
visible?: boolean | (() => boolean);
}
}
}
}
}
export type {};