diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 7798d0ce773e01..8cb3ac642589d1 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -15,11 +15,12 @@ import BN from 'bn.js'; declare module '@solana/web3.js' { // === src/publickey.js === declare export class PublicKey { - constructor(number: string | Buffer | Array): PublicKey; + constructor(value: number | string | Buffer | Array): PublicKey; static isPublicKey(o: Object): boolean; equals(publickey: PublicKey): boolean; toBase58(): string; toBuffer(): Buffer; + toString(): string; } // === src/blockhash.js ===