@formant/ava
Version:
A framework for automated visual analytics.
14 lines (13 loc) • 363 B
TypeScript
/**
* Cache the value for target and key.
* @param target - target
* @param key - key
* @param value - value
*/
export declare function set<T>(target: any[], key: string, value: T): T;
/**
* Get the cached value for target and key.
* @param target - target
* @param key - key
*/
export declare function get<T>(target: any[], key: string): T | undefined;