set array value type for array shorthand