MCPcopy
hub / github.com/QwikDev/qwik / noSerialize

Function noSerialize

packages/qwik/src/core/state/common.ts:152–158  ·  view source on GitHub ↗
(input: T)

Source from the content-addressed store, hash-verified

150 */
151// </docs>
152export const noSerialize = <T extends object | undefined>(input: T): NoSerialize<T> => {
153 // only add supported values to the noSerializeSet, prevent console errors
154 if ((typeof input === 'object' && input !== null) || typeof input === 'function') {
155 noSerializeSet.add(input);
156 }
157 return input as any;
158};
159
160/** @internal */
161export const _weakSerialize = <T extends object>(input: T): Partial<T> => {

Callers 15

getFnFunction · 0.90
store.unit.tsxFile · 0.90
runResourceFunction · 0.90
runTaskFunction · 0.90
useQwikCityEnvFunction · 0.90
runFunction · 0.90
actionFunction · 0.90
useQwikCityEnvFunction · 0.90
runFunction · 0.90
actionFunction · 0.90
qwikifyQrlFunction · 0.90
createStoredSearchesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…