Skip to content

Commit

Permalink
clean up @ts-ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
yurushao committed Oct 4, 2024
1 parent 9561654 commit c9065ab
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions anchor/src/client/drift.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,6 @@ export class DriftClient {
user,
userStats,
state,
//@ts-ignore IDL ts type is unhappy
manager,
})
.transaction();
Expand All @@ -250,7 +249,6 @@ export class DriftClient {
.accounts({
fund,
user,
//@ts-ignore IDL ts type is unhappy
manager,
})
.transaction();
Expand All @@ -275,7 +273,6 @@ export class DriftClient {
.accounts({
fund,
user,
//@ts-ignore IDL ts type is unhappy
manager,
})
.transaction();
Expand All @@ -300,7 +297,6 @@ export class DriftClient {
.accounts({
fund,
user,
//@ts-ignore IDL ts type is unhappy
manager,
})
.transaction();
Expand Down Expand Up @@ -339,7 +335,6 @@ export class DriftClient {
user,
userStats,
state,
//@ts-ignore IDL ts type is unhappy
manager,
})
.remainingAccounts([
Expand Down Expand Up @@ -382,7 +377,6 @@ export class DriftClient {
user,
userStats,
state,
//@ts-ignore IDL ts type is unhappy
manager,
driftSigner: DRIFT_VAULT,
})
Expand Down Expand Up @@ -416,7 +410,6 @@ export class DriftClient {
fund,
user,
state,
//@ts-ignore IDL ts type is unhappy
manager,
})
.remainingAccounts(remainingAccountsForOrders)
Expand Down Expand Up @@ -448,7 +441,6 @@ export class DriftClient {
fund,
user,
state,
//@ts-ignore IDL ts type is unhappy
manager,
})
.remainingAccounts(remainingAccountsForOrders)
Expand Down

0 comments on commit c9065ab

Please sign in to comment.