What is this about?
As a prerequisite for migrating PreferencesController to BaseController v2, and to support the TypeScript migration effort for the extension, we want to convert PreferencesController 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.
- Relevant types from
preferences.d.ts are folded into preferences.ts.
# 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
References
No response
What is this about?
As a prerequisite for migrating
PreferencesControllerto BaseController v2, and to support the TypeScript migration effort for the extension, we want to convertPreferencesControllerto TypeScript.Scenario
No response
Design
No response
Technical Details
No response
Threat Modeling Framework
No response
Acceptance Criteria
preferences.d.tsare folded intopreferences.ts.#is used for private properties and methods instead of_.Stakeholder review needed before the work gets merged
References
No response