export type Pop = T extends [...infer R, unknown] ? R : never;