Installation
npm install --save @types/tableify
Summary
This package contains type definitions for tableify (https://github.com/wankdanker/node-tableify).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/tableify.
index.d.ts
export = tableify;
declare function tableify<T extends Record<string, any>>(
obj: T | readonly T[],
columns?: ReadonlyArray<keyof T> | false,
parents?: any[],
): string;
declare function tableify(obj: any): string;
declare namespace tableify {
interface Config {
classes?: boolean | undefined;
classPrefix?: string | undefined;
}
function defaults(config: Config): {
<T extends Record<string, any>>(
obj: T | readonly T[],
columns?: ReadonlyArray<keyof T> | false,
parents?: any[],
): string;
(obj: any): string;
};
}
Additional Details
- Last updated: Mon, 20 Nov 2023 23:36:24 GMT
- Dependencies: none
Credits
These definitions were written by Emily Marigold Klassen.