export type PrependPlayerArgToFunc = F extends (...args: infer A) => void ? (player: Player, ...args: A) => void : never;