Which programming language is this?
type Handlers = Record<string, (e: Event) => void>;
Answer: TypeScript
Record<K, V> is a TypeScript utility type; the arrow signature annotates a callback.type Handlers = Record<string, (e: Event) => void>;
Answer: TypeScript
Record<K, V> is a TypeScript utility type; the arrow signature annotates a callback.