Skip to content

Commit

Permalink
Revert lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Feb 19, 2025
1 parent 700cdec commit db7c64f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ function buildControllerMock(

function buildInitRequestMock(): jest.Mocked<
ControllerInitRequest<
// @ts-expect-error TODO: Resolve mismatch between base-controller versions.
TransactionControllerMessenger,
TransactionControllerInitMessenger
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ import { TransactionMetricsRequest } from '../../../../shared/types/metametrics'

export const TransactionControllerInit: ControllerInitFunction<
TransactionController,
// @ts-expect-error TODO: Resolve mismatch between base-controller versions.
TransactionControllerMessenger,
TransactionControllerInitMessenger
> = (request) => {
Expand Down Expand Up @@ -188,6 +189,7 @@ function getApi(

function getControllers(
request: ControllerInitRequest<
// @ts-expect-error TODO: Resolve mismatch between base-controller versions.
TransactionControllerMessenger,
TransactionControllerInitMessenger
>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ export type TransactionControllerInitMessenger = ReturnType<
export function getTransactionControllerMessenger(
messenger: Messenger<MessengerActions, MessengerEvents>,
): TransactionControllerMessenger {
// @ts-expect-error TODO: Resolve mismatch between base-controller versions.
return messenger.getRestricted({
name: 'TransactionController',
allowedActions: [
Expand Down

0 comments on commit db7c64f

Please sign in to comment.