fix: fix getEpochInfo type definition

This commit is contained in:
Justin Starry
2020-05-21 17:11:32 +08:00
committed by Michael Vines
parent 6558e05fd0
commit 7f9a2e477f
3 changed files with 32 additions and 9 deletions

View File

@ -243,7 +243,7 @@ declare module '@solana/web3.js' {
getVersion(): Promise<Version>;
getInflation(commitment: ?Commitment): Promise<Inflation>;
getEpochSchedule(): Promise<EpochSchedule>;
getEpochInfo(): Promise<EpochInfo>;
getEpochInfo(commitment: ?Commitment): Promise<EpochInfo>;
getRecentBlockhashAndContext(
commitment: ?Commitment,
): Promise<RpcResponseAndContext<BlockhashAndFeeCalculator>>;