UNPKG

@reactant/context

Version:
6 lines (5 loc) 502 B
import { Config, Context, ContextEnvs, Envs, Options } from '@reactant/types'; export declare function loadEnvs(envs?: Envs): ContextEnvs; export declare function masterBootstrap(context: Context): Context; export declare function childBootstrap(context: Context): Context; export default function bootstrap(initialConfig: Partial<Config>, platformName?: string, action?: string, options?: Options, preBootstrap?: (context: Context) => Context, postBootstrap?: (context: Context) => Context): Context;