@illandril/foundryvtt-types
Version:
Type definitions for the Foundry VTT client, used by Illandril's modules
16 lines (13 loc) • 358 B
TypeScript
type NotifyOptions = {
permanent?: boolean;
localize?: boolean;
console?: boolean;
};
declare global {
class Notifications extends Application {
info(message: string, options?: NotifyOptions): number;
warn(message: string, options?: NotifyOptions): number;
error(message: string, options?: NotifyOptions): number;
}
}
export type {};