MCPcopy Index your code
hub / github.com/monkeytypegame/monkeytype / value

Function value

frontend/src/ts/components/common/AsyncContent.tsx:90–93  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88 });
89
90 const value = (): T =>
91 Object.fromEntries(
92 typedKeys(source()).map((key) => [key, source()[key].value()]),
93 ) as T;
94
95 const handleError = (err: unknown): string => {
96 const message = createErrorMessage(

Callers 6

stateFunction · 0.85
textToDisplayFunction · 0.85
SliderFunction · 0.85
AsyncContentFunction · 0.85
showLoaderFunction · 0.85
setValueFunction · 0.85

Calls 1

typedKeysFunction · 0.90

Tested by

no test coverage detected