From: Chris Duncan Date: Fri, 8 Aug 2025 02:20:13 +0000 (-0700) Subject: Type definition file fixes. X-Git-Tag: v0.10.5~43^2~40 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=304ab5470fb92c02d4c10954ba6fd17a83b4bd29;p=libnemo.git Type definition file fixes. --- diff --git a/src/types.d.ts b/src/types.d.ts index 499ea1d..33b38cd 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -422,6 +422,7 @@ export type KeyPair = { * saved under one nickname. */ export declare class Rolodex { + #private /** * Adds an address to the rolodex under a specific nickname. * @@ -514,6 +515,7 @@ type SweepResult = { address: string message: string } + /** * Converts a decimal amount of nano from one unit divider to another. * @@ -536,7 +538,7 @@ export declare function sign (key: Key, ...input: string[]): Promise * them all to a single recipient address. Hardware wallets are unsupported. * * @param {Rpc|string|URL} rpc - RPC node information required to refresh accounts, calculate PoW, and process blocks -* @param {Wallet|Ledger} wallet - Wallet from which to sweep funds +* @param {(Wallet|Ledger)} wallet - Wallet from which to sweep funds * @param {string} recipient - Destination address for all swept funds * @param {number} from - Starting account index to sweep * @param {number} to - Ending account index to sweep