UNPKG

@amadeus-it-group/kassette

Version:

Development server, used mainly for testing, which proxies requests and is able to easily manage local mocks.

7 lines (6 loc) 288 B
/** * Stores the result of the first call to the getter and returns that result directly for subsequent calls * * Applies to: class getters */ export declare const CachedProperty: <T = any>() => (_target: Object, _propertyKey: string, descriptor: TypedPropertyDescriptor<T>) => void;