(key: string, defaultValue: string)
| 15 | subscriptions: Set<() => void>; |
| 16 | |
| 17 | constructor(key: string, defaultValue: string) { |
| 18 | this.key = 's2.' + key; |
| 19 | this.defaultValue = defaultValue; |
| 20 | this.subscriptions = new Set(); |
| 21 | } |
| 22 | |
| 23 | subscribe = (fn: () => void) => { |
| 24 | if (!this.key) { |
nothing calls this directly
no outgoing calls
no test coverage detected