Comment Comment by NoInkling > there is currently no sensible way to type a non empty array in TypescriptIf we remove the "sensible" requirement: type NonEmptyArray = [any, ...any[]] parent NoInkling 3 years ago
If we remove the "sensible" requirement: