fix: add transaction instruction ctor to flow def (#408)

This commit is contained in:
Justin Starry 2019-07-26 15:13:56 -04:00 committed by Michael Vines
parent 65e2f85871
commit 677c075ade
1 changed files with 4 additions and 0 deletions

View File

@ -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 = {|