token-swap js: Fix arg list in ts / flow (#1633)

This commit is contained in:
Jon Cinque 2021-04-26 22:21:25 +02:00 committed by GitHub
parent 99aaab0993
commit ca6d57991a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -22,9 +22,9 @@ declare module '@solana/spl-token-swap' {
export class TokenSwap {
constructor(
connection: Connection,
tokenSwap: PublicKey,
swapProgramId: PublicKey,
tokenProgramId: PublicKey,
tokenSwap: PublicKey,
poolToken: PublicKey,
feeAccount: PublicKey,
authority: PublicKey,

View File

@ -19,9 +19,9 @@ declare module '@solana/spl-token-swap' {
declare export class TokenSwap {
constructor(
connection: Connection,
tokenSwap: PublicKey,
swapProgramId: PublicKey,
tokenProgramId: PublicKey,
tokenSwap: PublicKey,
poolToken: PublicKey,
feeAccount: PublicKey,
authority: PublicKey,