Skip to content

Commit cd2f6b0

Browse files
jstarrymvines
authored andcommitted
fix: add transaction instruction ctor to flow def (solana-labs#408)
1 parent 9afa4f5 commit cd2f6b0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

web3.js/module.flow.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,10 @@ declare module '@solana/web3.js' {
198198
keys: Array<{pubkey: PublicKey, isSigner: boolean, isDebitable: boolean}>;
199199
programId: PublicKey;
200200
data: Buffer;
201+
202+
constructor(
203+
opts?: TransactionInstructionCtorFields,
204+
): TransactionInstruction;
201205
}
202206

203207
declare type SignaturePubkeyPair = {|

0 commit comments

Comments
 (0)