diff --git a/src/BaseControllerV2.test.ts b/src/BaseControllerV2.test.ts index a4f9cdd2e3e..697a5624a94 100644 --- a/src/BaseControllerV2.test.ts +++ b/src/BaseControllerV2.test.ts @@ -243,7 +243,7 @@ describe('getAnonymizedState', () => { expect(anonymizedState).toEqual({ txMeta: { value: 10 } }); }); - it('should allow returning a ntested partial object from an anonymizing function', () => { + it('should allow returning a nested partial object from an anonymizing function', () => { const anonymizeTransactionHash = (txMeta: { hash: string; value: number; diff --git a/src/BaseControllerV2.ts b/src/BaseControllerV2.ts index c8e4e2b15ce..6cc5206bba3 100644 --- a/src/BaseControllerV2.ts +++ b/src/BaseControllerV2.ts @@ -63,9 +63,9 @@ export type StateMetadata = { * identifiable), or is set to a function that returns an anonymized * representation of this state. */ -export interface StatePropertyMetadata

{ +export interface StatePropertyMetadata { persist: boolean; - anonymous: boolean | Anonymizer

; + anonymous: boolean | Anonymizer; } /**