overmind
Version:
Frictionless state management
8 lines (7 loc) • 376 B
TypeScript
import { IConfiguration } from './types';
import { Overmind } from './Overmind';
import * as proxyStateTree from 'proxy-state-tree';
export interface OvermindSSR<Config extends IConfiguration> extends Overmind<Config> {
hydrate(): proxyStateTree.IMutation[];
}
export declare function createOvermindSSR<Config extends IConfiguration>(config: Config): OvermindSSR<Config>;