type AdapterWrapperHotkey = RegisterableHotkey | AppHotkey | null | undefined;Defined in: adapter.ts:254
What a hotkey function takes in a wrapper whose hotkey is a type parameter: any hotkey, or none. Keep it a named type. Written inline in a signature, TypeScript infers into the union member by member, which costs over a second of type checking for each call with a hotkey typed Hotkey.