Skip to content

Commit

Permalink
fix: getProgramAccounts type when config is undefined (#1326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arrowana committed May 31, 2023
1 parent 4480ae1 commit 0b7dd02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/library-legacy/src/connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3627,7 +3627,7 @@ export class Connection {
*/
async getProgramAccounts(
programId: PublicKey,
configOrCommitment?: GetProgramAccountsConfig &
configOrCommitment: GetProgramAccountsConfig &
Readonly<{withContext: true}>,
): Promise<RpcResponseAndContext<GetProgramAccountsResponse>>;
// eslint-disable-next-line no-dupe-class-members
Expand Down

0 comments on commit 0b7dd02

Please sign in to comment.