refactor(perps): type over interface to match core#26054
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Why this is low risk:
Why SmokePerps is selected:
Why other tags are not needed:
Performance Test Selection: |
|



Description
Migrate all
interfacedeclarations inapp/controllers/perps/totypealiases to align with the@metamask/coremonorepo ESLint rule (@typescript-eslint/consistent-type-definitions: ['error', 'type']). This reduces linting friction when the perps controller is migrated to core.typeforapp/controllers/perps/**interfacedeclarations across 26 files totypealiaseseslint-disablecommentsLastTransactionResultintransactionTypes.ts(interface merging hid this)Changelog
CHANGELOG entry: null
Related issues
Refs: Core monorepo migration preparation
Manual testing steps
Screenshots/Recordings
N/A - Type-level refactor only, no UI or behavioral changes.
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist