fix: add flowtype for SignaturePubkeyPair
This commit is contained in:
@ -110,6 +110,11 @@ declare module '@solana/web3.js' {
|
|||||||
userdata: Buffer;
|
userdata: Buffer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare type SignaturePubkeyPair = {|
|
||||||
|
signature: Buffer | null,
|
||||||
|
publicKey: PublicKey,
|
||||||
|
|};
|
||||||
|
|
||||||
declare type TransactionCtorFields = {|
|
declare type TransactionCtorFields = {|
|
||||||
fee?: number,
|
fee?: number,
|
||||||
lastId?: TransactionId,
|
lastId?: TransactionId,
|
||||||
|
@ -62,6 +62,14 @@ export class TransactionInstruction {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @private
|
||||||
|
*/
|
||||||
|
type SignaturePubkeyPair = {|
|
||||||
|
signature: Buffer | null,
|
||||||
|
publicKey: PublicKey,
|
||||||
|
|};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* List of Transaction object fields that may be initialized at construction
|
* List of Transaction object fields that may be initialized at construction
|
||||||
*
|
*
|
||||||
@ -77,14 +85,6 @@ type TransactionCtorFields = {|
|
|||||||
signatures?: Array<SignaturePubkeyPair>,
|
signatures?: Array<SignaturePubkeyPair>,
|
||||||
|};
|
|};
|
||||||
|
|
||||||
/**
|
|
||||||
* @private
|
|
||||||
*/
|
|
||||||
type SignaturePubkeyPair = {|
|
|
||||||
signature: Buffer | null,
|
|
||||||
publicKey: PublicKey,
|
|
||||||
|};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Transaction class
|
* Transaction class
|
||||||
*/
|
*/
|
||||||
|
Reference in New Issue
Block a user