S.nonEmptyArray results in a readonly field, where as the others don't, which is causing me the error, as when I try to do name field gives me The type 'readonly [string, ...string[]]' is 'readonly' and cannot be assigned to the mutable type '[string, string[]]'