We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b76588 commit 3df8b9eCopy full SHA for 3df8b9e
packages/node_modules/overmind/src/index.ts
@@ -76,6 +76,9 @@ export const MODE_DEFAULT = Symbol('MODE_DEFAULT')
76
export const MODE_TEST = Symbol('MODE_TEST')
77
export const MODE_SSR = Symbol('MODE_SSR')
78
79
+export const json = (obj: any) =>
80
+ deepCopy(obj && obj[IS_PROXY] ? obj[VALUE] : obj)
81
+
82
export interface OvermindSSR<Config extends IConfiguration>
83
extends Overmind<Config> {
84
hydrate(): IMutation[]
0 commit comments