Type Alias _ToTuple<T>Internal

_ToTuple: T extends [unknown, ...unknown[]] | [] ? T : [T]

Transforms a non tuple into a tuple with the value but keeps tuples as is.

Type Parameters

  • T