Skip to content

Commit

Permalink
Suppress ts(2589) error on immer Draft type
Browse files Browse the repository at this point in the history
  • Loading branch information
MajorLift committed Jul 11, 2024
1 parent df28e8c commit df7436d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/accounts-controller/src/AccountsController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ export class AccountsController extends BaseController<
...account,
metadata: { ...account.metadata, name: accountName },
};
// @ts-expect-error ts(2589)
currentState.internalAccounts.accounts[accountId] = internalAccount;
});
}
Expand Down

0 comments on commit df7436d

Please sign in to comment.