MCPcopy Create free account
hub / github.com/getsentry/sentry / stringifyForStorage

Function stringifyForStorage

static/app/utils/useLocalStorageState.ts:46–48  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

44}
45
46function stringifyForStorage(value: unknown) {
47 return JSON.stringify(value, strictReplacer, 0);
48}
49
50function defaultOrInitializer<S>(
51 defaultValueOrInitializeFn: S | ((value?: unknown, rawStorageValue?: unknown) => S),

Callers 1

useLocalStorageStateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected