On this page

    Type:T extends readonly [any, ...(infer R)] ? R : T