From e7a275a5960296e68af1ddefa47cc3ec89dce23f Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Mon, 2 Dec 2024 11:30:24 -0800 Subject: [PATCH] Fix JSDoc. --- src/lib/account.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/account.ts b/src/lib/account.ts index 9933282..197553d 100644 --- a/src/lib/account.ts +++ b/src/lib/account.ts @@ -73,7 +73,7 @@ export class Account { * * @param {string} address - Address of the account * @param {number} [index] - Account number used when deriving the address - * @returns {Promise} The instantiated Account object + * @returns {Account} The instantiated Account object */ static fromAddress (address: string, index?: number): Account { Account.#isInternal = true @@ -88,7 +88,7 @@ export class Account { * * @param {string} publicKey - Public key of the account * @param {number} [index] - Account number used when deriving the key - * @returns {Promise} The instantiated Account object + * @returns {Account} The instantiated Account object */ static fromPublicKey (publicKey: string, index?: number): Account { Account.#isInternal = true @@ -104,7 +104,7 @@ export class Account { * * @param {string} privateKey - Private key of the account * @param {number} [index] - Account number used when deriving the key - * @returns {Promise} A new Account object + * @returns {Account} A new Account object */ static fromPrivateKey (privateKey: string, index?: number): Account { Account.#isInternal = true @@ -126,7 +126,7 @@ export class Account { * @param {string} publicKey - Public key of the account * @param {string} privateKey - Private key of the account * @param {number} [index] - Account number used when deriving the key - * @returns {Promise} The instantiated Account object + * @returns {Account} The instantiated Account object */ static fromKeypair (publicKey: string, privateKey: string, index?: number): Account { Account.#isInternal = true -- 2.34.1