TailT<Value>: Value extends string ? Value extends `${infer First}${infer Rest}` ? Rest : string : Value extends [infer First] ? [] : Value extends [infer First, ...(infer Rest)] ? Rest : Value extends (infer First)[] ? First : [] Type Parameters
- Value extends unknown[] | string