UNPKG

@antv/data-wizard

Version:
14 lines (13 loc) 361 B
/** * 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;