MCPcopy
hub / github.com/monkeytypegame/monkeytype / setConfigStore

Function setConfigStore

frontend/src/ts/config/store.ts:18–27  ·  view source on GitHub ↗
(
  key: K,
  value: ConfigSchema[K],
)

Source from the content-addressed store, hash-verified

16}
17
18export 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;

Callers 2

setConfigFunction · 0.90
toggleFunboxFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected