From fb52da2f73e50887674130628b55f33ac67cbc8a Mon Sep 17 00:00:00 2001 From: Siradji Date: Wed, 2 Jun 2021 11:38:09 +0100 Subject: [PATCH] Minor fixes --- packages/jellyfish-api-core/src/category/account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 (