Package.psd1 requires arrays to be explicitly typed as [String[]] or an error is thrown (I'll have to get the error returned and copy it later). But as I recall, If the array is untyped, i.e. [Object[]], it throws an error. It would be very easy to just cast them to [String[]] when parsed / imported so it's not on the user to figure out the problem.
Package.psd1 requires arrays to be explicitly typed as [String[]] or an error is thrown (I'll have to get the error returned and copy it later). But as I recall, If the array is untyped, i.e. [Object[]], it throws an error. It would be very easy to just cast them to [String[]] when parsed / imported so it's not on the user to figure out the problem.