From 8d7860f79b5bd5984065f2cedfd1592a194dd63d Mon Sep 17 00:00:00 2001 From: Jean Regisser Date: Thu, 29 Aug 2024 18:56:56 +0200 Subject: [PATCH] Don't export what's not used externally --- src/utils/account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/account.ts b/src/utils/account.ts index d88511c06c4..c083b07b27c 100644 --- a/src/utils/account.ts +++ b/src/utils/account.ts @@ -36,12 +36,12 @@ export enum MnemonicLanguages { portuguese, } -export type RandomNumberGenerator = ( +type RandomNumberGenerator = ( size: number, callback: (err: Error | null, buf: Buffer) => void ) => void -export interface Bip39 { +interface Bip39 { mnemonicToSeed: (mnemonic: string, password?: string) => Promise generateMnemonic: ( strength?: number,