fix: add NONCE_ACCOUNT_LENGTH to type defs

This commit is contained in:
Justin Starry 2020-04-05 22:25:53 +08:00 committed by Michael Vines
parent 4242eee739
commit 4c85bccda7
2 changed files with 4 additions and 0 deletions

2
web3.js/module.d.ts vendored
View File

@ -265,6 +265,8 @@ declare module '@solana/web3.js' {
feeCalculator: FeeCalculator;
}
export const NONCE_ACCOUNT_LENGTH: number;
// === src/validator-info.js ===
export const VALIDATOR_INFO_KEY: PublicKey;
export type Info = {

View File

@ -278,6 +278,8 @@ declare module '@solana/web3.js' {
feeCalculator: FeeCalculator;
}
declare export var NONCE_ACCOUNT_LENGTH: number;
// === src/validator-info.js ===
declare export var VALIDATOR_INFO_KEY;
declare export type Info = {|