Correct type annotation. `compact()` arrayifies.