You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/permission-controller/src/SubjectMetadataController.ts
+2-1Lines changed: 2 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -235,7 +235,8 @@ export class SubjectMetadataController extends BaseController<
235
235
*/
236
236
trimMetadataState(): void{
237
237
this.update((draftState)=>{
238
-
// @ts-expect-error ts(2589)
238
+
// Do not remove this comment - This error is flaky: Comment out or restore the `ts-expect-error` directive below as needed.
239
+
// @ts-expect-error - Known issue: `Json` causes recursive error in immer `Draft`/`WritableDraft` types (See: https://github.com/MetaMask/utils/issues/168)
0 commit comments