@antv/data-wizard
Version:
A js/ts library for data processing
14 lines (13 loc) • 361 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;