apphouse
Version:
Component library for React that uses observable state management and theme-able components.
12 lines (11 loc) • 309 B
TypeScript
/**
* Get the values of any object with string keys.
* @param obj any
* @returns array of the values in the object passed as parameter
*/
export declare function values<T>(data: {
[key: string]: T;
} | T[]): T[];
export declare function valuesWithIds<T>(data: {
[key: string]: T;
} | T[]): any[];