Skip to content

Convert AccountTracker (implementation + tests) to TypeScript #25928

@mcmire

Description

@mcmire

What is this about?

As a prerequisite for migrating AccountTracker to BaseController v2, and to support the TypeScript migration effort for the extension, we want to convert AccountTracker to TypeScript.

Scenario

No response

Design

No response

Technical Details

No response

Threat Modeling Framework

No response

Acceptance Criteria

  • All functions and methods are annotated with argument and return types.
  • All properties and free variables are annotated with types.
  • # is used for private properties and methods instead of _.
  • The test file is converted to TypeScript along with the implementation file.

Stakeholder review needed before the work gets merged

  • Engineering (needed in most cases)
  • Design
  • Product
  • QA (automation tests are required to pass before merging PRs but not all changes are covered by automation tests - please review if QA is needed beyond automation tests)
  • Security
  • Legal
  • Marketing
  • Management (please specify)
  • Other (please specify)

References

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions