From af5a6bba8a842793023e9a24aa43f74f59ae5f7a 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) --- module.flow.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/module.flow.js b/module.flow.js index 3f0158a7e29c5a..e0291564bec450 100644 --- a/module.flow.js +++ b/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 = {|