From 677c075adea4a33e59798c489135c48b34624a2e Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Fri, 26 Jul 2019 15:13:56 -0400 Subject: [PATCH] fix: add transaction instruction ctor to flow def (#408) --- web3.js/module.flow.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web3.js/module.flow.js b/web3.js/module.flow.js index 3f0158a7e2..e0291564be 100644 --- a/web3.js/module.flow.js +++ b/web3.js/module.flow.js @@ -198,6 +198,10 @@ declare module '@solana/web3.js' { keys: Array<{pubkey: PublicKey, isSigner: boolean, isDebitable: boolean}>; programId: PublicKey; data: Buffer; + + constructor( + opts?: TransactionInstructionCtorFields, + ): TransactionInstruction; } declare type SignaturePubkeyPair = {|