diff --git a/packages/jellyfish-api-core/src/category/account.ts b/packages/jellyfish-api-core/src/category/account.ts index 59dfe31a62..db1ff5cdc3 100644 --- a/packages/jellyfish-api-core/src/category/account.ts +++ b/packages/jellyfish-api-core/src/category/account.ts @@ -233,7 +233,7 @@ export class Account { * @param {number} [options.depth] Maximum depth, from the genesis block is the default * @param {boolean} [options.no_rewards] Filter out rewards * @param {string} [options.token] Filter by token - * @param {TxType | string} [options.txtype] Filter by transaction type. See TxType. + * @param {TxType} [options.txtype] Filter by transaction type. See TxType. * @param {number} [options.limit=100] Maximum number of records to return, 100 by default * @return {Promise} */ @@ -285,7 +285,7 @@ export class Account { * @param {AccountHistoryCountOptions} [options] * @param {boolean} [options.no_rewards] Filter out rewards * @param {string} [options.token] Filter by token - * @param {TxType | string} [options.txtype] Filter by transaction type, supported letter from 'CRTMNnpuslrUbBG' + * @param {TxType} [options.txtype] Filter by transaction type, supported letter from 'CRTMNnpuslrUbBG' * @return {Promise} count of account history */ async historyCount (