fix: fix flow type declaration (#17049)

* fix: fix flow type declaration

* chore: fix prettier
This commit is contained in:
Justin Starry
2021-05-05 17:50:55 +08:00
committed by GitHub
parent 34599ad57d
commit a8f84a5622
5 changed files with 22148 additions and 96 deletions

View File

@ -1594,10 +1594,12 @@ export type GetProgramAccountsConfig = {
/**
* Configuration object for getParsedProgramAccounts
*/
export type GetParsedProgramAccountsConfig = Exclude<
GetProgramAccountsConfig,
'encoding' | 'dataSlice'
>;
export type GetParsedProgramAccountsConfig = {
/** Optional commitment level */
commitment?: Commitment;
/** Optional array of filters to apply to accounts */
filters?: GetProgramAccountsFilter[];
};
/**
* Information describing an account