diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 0722e182c4..677a19d5fe 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -134,7 +134,7 @@ declare module '@solana/web3.js' { ): Promise; constructor(connection: Connection, token: PublicKey) : Token; - newAccount(owner: Account, source: null | PublicKey): Promise; + newAccount(owner: Account, source?: PublicKey): Promise; tokenInfo(): Promise; accountInfo(account: PublicKey): Promise; transfer(