@illandril/foundryvtt-types
Version:
Type definitions for the Foundry VTT client, used by Illandril's modules
19 lines (17 loc) • 342 B
TypeScript
declare global {
type SpeakerType = {
scene?: string;
actor?: string;
token?: string;
alias?: string;
};
namespace foundry {
namespace documents {
class BaseChatMessage extends foundry.abstract.Document {
get author(): BaseUser;
get speaker(): SpeakerType;
}
}
}
}
export type {};