diff --git a/src/lib/extension/base/CacheablePreferences.ts b/src/lib/extension/base/CacheablePreferences.ts index 0d60325..2bcdbd2 100644 --- a/src/lib/extension/base/CacheablePreferences.ts +++ b/src/lib/extension/base/CacheablePreferences.ts @@ -89,9 +89,9 @@ export type WithFields> = { * API. */ export default abstract class CacheablePreferences { - #controller: ConfigurationController; - #cachedValues: Map = new Map(); - #disposables: Function[] = []; + readonly #controller: ConfigurationController; + readonly #cachedValues: Map = new Map(); + readonly #disposables: Function[] = []; /** * @param settingsNamespace Name of the field inside the extension storage where these preferences stored.