fix: add flowtype for SignaturePubkeyPair

This commit is contained in:
Michael Vines
2018-11-28 10:46:09 -08:00
parent 508678a441
commit 4acccb3976
2 changed files with 13 additions and 8 deletions

View File

@ -110,6 +110,11 @@ declare module '@solana/web3.js' {
userdata: Buffer;
}
declare type SignaturePubkeyPair = {|
signature: Buffer | null,
publicKey: PublicKey,
|};
declare type TransactionCtorFields = {|
fee?: number,
lastId?: TransactionId,