Sonar: Added readonly to private members

This commit is contained in:
koloml committed 2026-06-20 22:10:51 +04:00
1 parent 74554bc9f6
commit a0e52955e6
1 file changed
+3 -3
@@ -89,9 +89,9 @@ export type WithFields<FieldsType extends Record<string, any>> = {
* API.
*/
export default abstract class CacheablePreferences<Fields> {
#controller: ConfigurationController;
#cachedValues: Map<keyof Fields, any> = new Map();
#disposables: Function[] = [];
readonly #controller: ConfigurationController;
readonly #cachedValues: Map<keyof Fields, any> = new Map();
readonly #disposables: Function[] = [];
/**
* @param settingsNamespace Name of the field inside the extension storage where these preferences stored.