fix JSdoc for arrays, use {Type[]}