Segmentstype

readonly [string, ...string[]]

Series of string segments with at least one segment (this is what you actually get back when you split a string).