ArrayItemType<T>: T extends readonly (infer Ts)[] ? Ts : never

Type Parameters

  • T extends readonly unknown[]