UNPKG

@thisisagile/easy

Version:

Straightforward library for building domain-driven microservice architectures

8 lines (7 loc) 271 B
import { Construct } from '../types/Constructor'; export declare class State { protected readonly state: any; constructor(state?: any); protected get: <T>(key: string, alt?: Construct<T>) => T; protected set: <T>(key: string, value: Construct<T>) => T; }