From 04aeed553e421ff43cc87123143c59fe2a88ad77 Mon Sep 17 00:00:00 2001 From: Charly Chevalier Date: Mon, 6 Jan 2025 18:00:30 +0100 Subject: [PATCH] fix(accounts-controller): remove unused @ts-expect-error --- packages/accounts-controller/src/AccountsController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/accounts-controller/src/AccountsController.ts b/packages/accounts-controller/src/AccountsController.ts index 4280a09eb5f..f2feed0e074 100644 --- a/packages/accounts-controller/src/AccountsController.ts +++ b/packages/accounts-controller/src/AccountsController.ts @@ -458,7 +458,7 @@ export class AccountsController extends BaseController< }; // Do not remove this comment - This error is flaky: Comment out or restore the `ts-expect-error` directive below as needed. // See: https://github.com/MetaMask/utils/issues/168 - // @ts-expect-error Known issue - `Json` causes recursive error in immer `Draft`/`WritableDraft` types + // // @ts-expect-error Known issue - `Json` causes recursive error in immer `Draft`/`WritableDraft` types currentState.internalAccounts.accounts[accountId] = internalAccount; if (metadata.name) {