refactor: create `ArrayLike` type for type checking 4bcc280 unverified MilesCranmer commited on Apr 28