servido
Version:
Versatile services for React ⚗️
12 lines (11 loc) • 516 B
TypeScript
import { ServiceDataStore } from "./service-data-store";
import { ServiceInstanceStore } from "./service-instance-store";
/** A `ServiceStore` contains values that are only available downwards. */
export declare class ServiceStore {
readonly parent?: ServiceStore;
readonly data: ServiceDataStore;
readonly instance: ServiceInstanceStore;
readonly globalData: ServiceDataStore | undefined;
constructor(parent?: ServiceStore, globalData?: ServiceDataStore);
nest(): ServiceStore;
}