docs/api: Use JSDoc syntax `Array.<string>`