Fix typing of new empty array