diff --git a/packages/polling-controller/src/PollingController.ts b/packages/polling-controller/src/PollingController.ts index 39b6e79360..ceb551f68e 100644 --- a/packages/polling-controller/src/PollingController.ts +++ b/packages/polling-controller/src/PollingController.ts @@ -2,8 +2,9 @@ import { BaseController, BaseControllerV2 } from '@metamask/base-controller'; import type { NetworkClientId } from '@metamask/network-controller'; import { v4 as random } from 'uuid'; -// eslint-disable-next-line @typescript-eslint/ban-types -type Constructor = new (...args: any[]) => {}; +// Mixin classes require a constructor with an `...any[]` parameter +// See TS2545 +type Constructor = new (...args: any[]) => object; /** * PollingControllerMixin