mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
524 B
TypeScript
10 lines
524 B
TypeScript
// Type definitions for table-resolver 4.1
|
|
// Project: https://github.com/reactabular/table-resolver#readme
|
|
// Definitions by: Marcos Junior <https://github.com/junalmeida>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export function headerRows<T>(args: { columns: T[] }): T[];
|
|
export function nested<T>(args: { column: T }): T;
|
|
export function resolve<T>(args: { columns: T[], method: (args: { column: T }) => T }): (data: any) => T[];
|
|
export function columnChildren<T>(args: { columns: T[] }): T[];
|