( key: K, value: ConfigSchema[K], )
| 16 | } |
| 17 | |
| 18 | export function setConfigStore<K extends keyof ConfigSchema>( |
| 19 | key: K, |
| 20 | value: ConfigSchema[K], |
| 21 | ): void { |
| 22 | if (Array.isArray(value)) { |
| 23 | setConfigStoreRaw(key, reconcile(value)); |
| 24 | } else { |
| 25 | setConfigStoreRaw(key, value); |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | // window.getConfigStore = getConfigStore; |
no outgoing calls
no test coverage detected