docs/api: Use JSDoc syntax `string[]`