leaderboard-table
Version:
16 lines (15 loc) • 428 B
TypeScript
declare type Newable = {
new (...args: any): any;
};
declare type SingleCellProperties = {
[key: string]: string | number;
} | string;
/**
* @type ColumnProperties type for column data which is after whole
* data parsing process and ready to use.
*/
declare type ColumnProperties = {
cells: SingleCellProperties[];
header: string;
};
export { Newable, ColumnProperties, SingleCellProperties };