@illandril/foundryvtt-types
Version:
Type definitions for the Foundry VTT client, used by Illandril's modules
20 lines (15 loc) • 344 B
TypeScript
declare global {
class KeyboardManager {
static MODIFIER_KEYS: {
CONTROL: string;
SHIFT: string;
ALT: string;
};
static getKeycodeDisplayString(code: string): string;
isModifierActive(modifier: string): boolean;
}
interface Window {
KeyboardManager: typeof KeyboardManager;
}
}
export type {};