@types/tableify
TypeScript icon, indicating that this package has built-in type declarations

1.1.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/tableify

Weekly Downloads

299

Version

1.1.5

License

MIT

Unpacked Size

3.8 kB

Total Files

5

Last publish

Collaborators

  • types