it should be ``array``, not ``type``